Closed h0111in closed 1 year ago
Appreciate the work on this, but I think the refreshLinks()
method needs to be broken up correctly. I also think we should find a way to make it automatic without the dev having to call this, potentially through the dagre engine register listeners to the core engine
Checklist
yarn run pretty
What?
added auto-redistribute without moving nodes
Why?
https://github.com/projectstorm/react-diagrams/issues/731
How?
Wrote an algorithm to find the path between nodes, instead of what Dagre was doing it.
Feel good image:
(Add your own one below :])