Trying out the Next API for my project where you need to display interactive graphs. However, got some issues .
[if !supportLists]1. [endif]How do I display arrows, i.e to create a digraph
[if !supportLists]2. [endif]The labels for links appear to be overlapping. How do I fix this.
[if !supportLists]3. [endif]Are there any more tutorials that go deeper into styling and handling of node events.
you can reference this demo Link Arrow - JSFiddle
For item 2:
Maybe you can change the behavior, when mouse over a link then display it's label.
There is also a complex way to increase the distance between links. Extend nx.graphic.Topology.Link, set property 'offsetRadix' higher
For item 3:
You can reference this three demo
1. how to extend current node
2. How to create you own node
3. How to define scene
Please sign in to leave a comment.