StatefulGraph<V> class

Implemented types
Available extensions

Constructors

StatefulGraph.new()

Properties

current GraphSnapshot<V>
no setter
edges Map<IndexedEdgeId, Edge<V>>
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
index int
getter/setter pair
isCurrent bool
no setter
metadata GraphMetadata<V>
no setteroverride
metadataProvider GraphMetadaProvider
no setteroverride
order int
Returns the number of vertices
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sinks Map<V, Vertex<V>>

Available on Graph<V>, provided by the GraphQueries extension

no setter
size int
Returns the total number of unique edges
no setteroverride
size2 int
Returns the number of edges
no setteroverride
sources Map<V, Vertex<V>>

Available on Graph<V>, provided by the GraphQueries extension

no setter
uniqueEdges Map<EdgeId<V>, List<Edge<V>>>
no setteroverride
vertices Map<V, Vertex<V>>
no setteroverride

Methods

addGraph(Graph<V> graph) GraphSnapshot<V>
override
addVertex(Vertex<V> vertex) GraphSnapshot<V>
override
childrenOf(Vertex<V> vertex) Map<V, Vertex<V>>
override
childrenOfById(V id) Map<V, Vertex<V>>
override
diffGraph(Graph<V> graph) GraphSnapshot<V>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parentsOf(Vertex<V> vertex) Map<V, Vertex<V>>
override
parentsOfById(V id) Map<V, Vertex<V>>
override
removeVertex(Vertex<V> vertex) GraphSnapshot<V>
override
removeVertexById(V id) GraphSnapshot<V>
override
toFirst() GraphSnapshot<V>
toLast() GraphSnapshot<V>
toString() String
A string representation of this object.
inherited

Operators

operator +(Object other) GraphSnapshot<V>
override
operator -(Object other) GraphSnapshot<V>
override
operator ==(Object other) bool
The equality operator.
inherited