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

Potential fix for graph flickering #117

Closed emmby closed 5 months ago

emmby commented 5 months ago

Many of my graphs were flickering between two states. By reducing the attraction travel distance, we prevent the situation where the algorithm can oscillate between two stable values. Probably warrants further testing, but seems to have solved the problem for my graphs.

emmby commented 5 months ago

Hm, this fixes it for many cases for me, but I'm still able to find cases with the flicker.