Skip to content

clipcrow/force_directed_graphview

 
 

Repository files navigation

force_directed_graphview

CI Deploy to Github Pages License: MIT style: very good analysis

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

Releases

No releases published

Packages

No packages published

Languages

  • Dart 57.1%
  • C++ 19.7%
  • CMake 16.2%
  • Ruby 2.4%
  • Swift 1.7%
  • HTML 1.6%
  • Other 1.3%