graphview 0.1.2 graphview: ^0.1.2 copied to clipboard
GraphView is used to display data in graph structures. It can display Tree layout and Directed graph. Useful for Family Tree, Hierarchy View.
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.2
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';