No, iterator looks good (you may include item.get("name") if you like).
But you put that in the middle of the code where initialization stuff is still done. Put it after the call
vis.run("layout"); which will trigger the treeLayout to be run.
(vis.putAction just makes the vis aware of the corresponding action)
hope that helps, Björn
< Previous |
1 |
Next >
Add a Reply
This forum does not allow anonymous participation.
Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.