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
420 stars 114 forks source link

[request] can graph generation be moved into a dart isolate? #69

Open rfgmendoza opened 2 years ago

rfgmendoza commented 2 years ago

rendering a graph with 100+ nodes can be quite taxing on the main flutter thread causing loading spinners and other UI animations to freeze until the graph is complete. if the heavy work can be done in a dart isolate it would greatly improve the overall UX of graphview.

nabil6391 commented 2 years ago

I doubt it will be easy, as the algorithms are being called during laying out. Still I definitely think the performance can be improved somehow.