Skip to content

cupofme/force_directed_graphview

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •