graphview 1.1.0 graphview: ^1.1.0 copied to clipboard
GraphView is used to display data in graph structures. It can display Tree layout, Directed and Layered 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: ^1.1.0
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/Algorithm.dart';
import 'package:graphview/Graph.dart';
import 'package:graphview/GraphView.dart';
import 'package:graphview/edgerenderer/ArrowEdgeRenderer.dart';
import 'package:graphview/edgerenderer/EdgeRenderer.dart';
import 'package:graphview/forcedirected/FruchtermanReingoldAlgorithm.dart';
import 'package:graphview/layered/SugiyamaAlgorithm.dart';
import 'package:graphview/layered/SugiyamaConfiguration.dart';
import 'package:graphview/layered/SugiyamaEdgeData.dart';
import 'package:graphview/layered/SugiyamaEdgeRenderer.dart';
import 'package:graphview/layered/SugiyamaNodeData.dart';
import 'package:graphview/tree/BuchheimWalkerAlgorithm.dart';
import 'package:graphview/tree/BuchheimWalkerConfiguration.dart';
import 'package:graphview/tree/BuchheimWalkerNodeData.dart';
import 'package:graphview/tree/TreeEdgeRenderer.dart';