dagrejs / dagre-d3

A D3-based renderer for Dagre

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Updating the graph on the DOM

knightswatch3 opened this issue · comments

Well, so I have been trying to use the dagre library in my react application. So for the dynamic rendering of the graph when adding new nodes, I have been running clueless about how to achieve this. I think it's the naive way I have achieved it by updating the state of my component that's registered to have the graph data.

I had to take this step because I couldn't find enough documentation for the API of the library.
Any thought and advices would be appreciated !

Thanks.