Reputation: 253
I want to generate a graph which takes input from json model. I am using dagre-d3.js. I am able to generate nodes and also able to connect nodes statically. The method graph.addEdge(null,"A","B") connects two nodes. But i want to create edges dynamically. Is there any way to generate graph in such a way?
Upvotes: 1
Views: 1155
Reputation: 319
I suggest looking at the interactive demo. More code examples can also be found here.
Upvotes: 1