Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 1.9 KB

README.md

File metadata and controls

28 lines (17 loc) · 1.9 KB

force_directed_graphview

Pub Version CI Deploy to Github Pages License: MIT style: very good analysis GitHub Repo stars

Overview

A highly customizable library for displaying force-directed graphs in Flutter.

This library is primarily designed to display graphs using force-directed layouts, but it can be used for other purposes as well with the implementation of a custom layout algorithm. Currently nodes can't be dragged by gestures. The entire canvas can be dragged and zoomed using underlying InteractiveViewer widget.

Usage

For example usage see Example

Fruchterman-Reingold Algorithm scaling

Fruchterman-Reingold's got a time complexity of O(N^2 + E) per loop where N is the number of nodes and E is the number of edges. Simply put, it can get slow pretty fast if you have a large graph.

License

MIT