MrBlenny / react-flow-chart

🌊 A flexible, stateless, declarative flow chart library for react.
https://mrblenny.github.io/react-flow-chart/index.html
MIT License
1.46k stars 306 forks source link

Help regarding a usecase. #175

Open ToughDude opened 4 years ago

ToughDude commented 4 years ago

I have a use case where i want to add nodes when added on click button on link and that should be reflected in JSON. Is there a way to achieve this? Screenshot (145)

eprice122 commented 4 years ago

This isn't a current feature although you can achieve this by adding a new node to the state with an offset from the reference node.

ToughDude commented 4 years ago

This isn't a current feature although you can achieve this by adding a new node to the state with an offset from the reference node.

Can you provide an example?