-
May 26, 2017 at 9:27 am #7993
Hello,
I am working on weighted transition graph and have a requirement that all the nodes needs to expanded by default. Could you please tell me which part of the code needs to be changed. Right now in some part of the graph the node is expanded by default but not others like Military defence .
Thanks,
-VijayvizulyMay 26, 2017 at 10:38 am #7994Hello Vijay,
If you look at the javascript test container, you will see the following code that opens up specific nodes. You could recursively go through all the nodes and open them if you want, or use something like this to open up specific nodes.
viz.toggleNode(data.values[2]); viz.toggleNode(data.values[2].values[0]); viz.toggleNode(data.values[3]);
Cheers,
Tom
-
|
Viewing 2 reply threads
You must be logged in to reply to this topic.