graph_plus 1.0.1-alpha
graph_plus: ^1.0.1-alpha copied to clipboard
Provides graphing and drawing features with a focus on software architecture diagramming capabilities
graph_plus Example #
Demonstrates how to use the graph_plus package
Getting Started #
flutter pub add graph_plus
Create a graph #
import 'package:graph_plus/graph.dart';
final graph = Graph(vertices: const[
Vertex("A"),
Vertex("B")
], edges: const [Edge.endpoints("a", "b")]);
If you need brevity in your code, consider using the abbreviated version:
import 'package: graph_plus/g.dart';
final g = G(vertices: const[
V("A"),
V("B")
], edges: const [E.endpoints("a", "b")]);