Help Implement Feature Into Graph - Folding / Collapsing

Hello, I have just built a graph using a python program that writes DOT. My graph is very wide right now and I would love the ability to collapse it. In order to do so I feel like all I would need to do is have it then when I click on a node it inserts "#" (comment out) in the DOT code and thus hides the nodes. Clicking on the single node would then remove the #. Right now when I click on a node it takes me to that node's URL (i.e, when I click on it takes me to so I know there is some kind of code that recognizes when a node has been clicked.

Recent comments

Syndicate content