nabil6391 / graphview

Flutter GraphView is used to display data in graph structures. It can display Tree layout, Directed and Layered graph. Useful for Family Tree, Hierarchy View.
MIT License
415 stars 115 forks source link

Update GraphView.dart #115

Closed emmby closed 5 months ago

emmby commented 5 months ago

Fix for index out of range crash when changing graph object between renders.

The problem was that the GraphView widget was copying state (nodes) out of the graph object and saving them, but not updating those objects when the graph object changed.

nabil6391 commented 5 months ago

Looks Good, Good Find. Thank you!

emmby commented 5 months ago

No problem! FYI this test failure also appears to be on main

nabil6391 commented 5 months ago

Noted on that, need to fix it