force_graph 0.4.2
force_graph: ^0.4.2 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 Dart:
$ dart pub add force_graphWith Flutter:
$ flutter pub add force_graphThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
force_graph: ^0.4.2Alternatively, your editor might support dart pub get or 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';