Graph<T> class

Constructors

Graph({required List<GraphNode> nodes, Axis direction = Axis.horizontal, bool centerLayout = false, OnEdgeColor<T>? onEdgeColor})

Properties

centerLayout bool
final
children List<Widget>
no setter
direction Axis
final
edges List<GraphEdge<T>>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
nodes List<GraphNode>
final
onEdgeColor OnEdgeColor<T>?
final
root GraphNode
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

computeSize() Size
elementAt(int index) GraphElement
layout() → void
nodeOf(Offset position) GraphNode<T>?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited