Open msmicker opened 6 years ago
Hi,
If you are not planning to use the features that rely on edges (e.g. graph smoothing, louvain clustering), then it is probably easiest to simply remove or rename the "edges.csv" file in your SPRING plot directory.
Another hack would be to comment out the line "load_edges();" in scripts/forceLayout_script.js
Another hack that would preserve edge-based functions like clustering would be to change the line "edge_container.alpha=0.5" to "edge_container.alpha=0" in scripts/forceLayout_script.js
Let me know if that answers your question!
-- Caleb
On Fri, Oct 12, 2018 at 11:14 PM msmicker notifications@github.com wrote:
I am interested to have edges hidden by default. I thought it would be straight-forward but hit my 1 hour time-box :) Do you have any quick guidance of how I might accomplish? Not as a feature request, but which code I might update on my fork.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/AllonKleinLab/SPRING_dev/issues/5, or mute the thread https://github.com/notifications/unsubscribe-auth/AUBd7Vu7mS6dsHCZJptEdVRHT_de1dUuks5ukVqEgaJpZM4XabLn .
I had tried commenting load_edges but this prevented all rendering. The edge_container.alpha hack did the trick.
Thanks very much!
I am interested to have edges hidden by default. I thought it would be straight-forward but hit my 1 hour time-box :) Do you have any quick guidance of how I might accomplish? Not as a feature request, but which code I might update on my fork.