force_graph 0.3.9
force_graph: ^0.3.9 copied to clipboard
Forge2D based force graph with multiple graph layout algorithms (MDS, Spring Embedder, Distance based) and realistic physics.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add force_graph
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
force_graph: ^0.3.9
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:force_graph/force_graph.dart';