Graph<T> class

Constructors

Graph()
Graph.fromEdges(Iterable<List<T>> edges)
factory

Properties

edges → Set<Edge>
read-only
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

addEdge(T from, T to) → bool
createGviz({GraphStyle graphStyle }) Gviz
edgeFor(T from, T to) Edge<T>
flagConnectedComponents() → Map<Flag, Set<T>>
flagEdges(Iterable<T> from, Iterable<T> to) Flag
If from is null, then all edges entering to are flagged. Likewise, if to is null, all edges leaving from are flagged.
flagPath(T from, T to) Flag
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited