Graph class

Constructors

Graph(List<GraphNode> nodes, {List<Edge<GraphNode>>? edges})

Properties

edges List<Edge<GraphNode>>
latefinal
hashCode int
The hash code for this object.
no setterinherited
nodes List<GraphNode>
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addEdge(Edge<GraphNode> edge) Graph
addNode(GraphNode node) Graph
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeEdge(Edge<GraphNode> edge) Graph
removeNode(GraphNode node) Graph
toString() String
A string representation of this object.
inherited

Operators

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