Graph class
Constructors
- Graph()
Properties
-
edges
→ List<
Edge> -
no setter
-
graphObserver
↔ List<
GraphObserver> -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isTree ↔ bool
-
getter/setter pair
-
nodes
→ List<
Node> -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addEdge(
Node source, Node destination, {Paint? paint}) → Edge -
addEdgeS(
Edge edge) → void -
addEdges(
List< Edge> edges) → void -
addNode(
Node node) → void -
addNodes(
List< Node> nodes) → void -
contains(
{Node? node, Edge? edge}) → bool -
containsData(
dynamic data) → bool -
getEdgeBetween(
Node source, Node? destination) → Edge? -
getInEdges(
Node node) → List< Edge> -
getNodeAtPosition(
int position) → Node -
getNodeAtUsingData(
Widget data) → Node -
getNodeUsingId(
dynamic id) → Node -
getNodeUsingKey(
ValueKey key) → Node -
getOutEdges(
Node node) → List< Edge> -
hasNodes(
) → bool -
hasPredecessor(
Node node) → bool -
hasSuccessor(
Node? node) → bool -
nodeCount(
) → int -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyGraphObserver(
) → void -
predecessorsOf(
Node? node) → List< Node> -
removeEdge(
Edge edge) → void -
removeEdgeFromPredecessor(
Node? predecessor, Node? current) → void -
removeEdges(
List< Edge> edges) → void -
removeNode(
Node? node) → void -
removeNodes(
List< Node> nodes) → void -
successorsOf(
Node? node) → List< Node> -
toJson(
) → String -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited