graphview 0.1.1 graphview: ^0.1.1 copied to clipboard
GraphView is used to display data in graph structures. It can display tree layout using BuchheimWalkerAlgorithm and Directed graph using FruchtermanReingoldAlgorithm. Useful for Family Tree, Hierarchy [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add graphview
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
graphview: ^0.1.1
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:graphview/ArrowEdgeRenderer.dart';
import 'package:graphview/BuchheimWalkerAlgorithm.dart';
import 'package:graphview/EdgeRenderer.dart';
import 'package:graphview/FruchtermanReingoldAlgorithm.dart';
import 'package:graphview/Graph.dart';
import 'package:graphview/GraphView.dart';
import 'package:graphview/Layout.dart';
import 'package:graphview/TreeEdgeRenderer.dart';