GraphBuilder<V, E> class

Available Extensions

Constructors

GraphBuilder({bool isDirected = true, VertexProvider<V>? vertexProvider, EdgeProvider<V, E>? edgeProvider, Random? random, StorageStrategy<V>? vertexStrategy})

Properties

edgeProvider → EdgeProvider<V, E>?
final
hashCode int
The hash code for this object.
no setterinherited
isDirected bool
final
random Random
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
vertexProvider → VertexProvider<V>?
final
vertexStrategy StorageStrategy<V>
final

Methods

addEdge(Graph<V, E> graph, V source, V target, {E? data}) → void
addEdgeIndex(Graph<V, E> graph, int source, int target, {E? data}) → void
addVertex(Graph<V, E> graph, V vertex) → void
addVertexIndex(Graph<V, E> graph, int index) → void
empty() Graph<V, E>
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