GraphSnapshot<V> class
- Inheritance
- Available extensions
Constructors
-
GraphSnapshot.new({Map<
V, VertexSnapshot< vertexSnapshots = const {}})V> > - GraphSnapshot.empty()
-
GraphSnapshot.graph(Graph<
V> graph)
Properties
-
edges
→ Map<
IndexedEdgeId, Edge< V> > -
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
metadata
→ GraphMetadata<
V> -
no setterinherited
- metadataProvider → GraphMetadaProvider
-
finalinherited
- order → int
-
Returns the number of vertices
no setterinherited
- 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 extensionno setter - size → int
-
Returns the total number of unique edges
no setterinherited
- size2 → int
-
Returns the number of edges
no setterinherited
-
sources
→ Map<
V, Vertex< V> > -
Available on Graph<
V> , provided by the GraphQueries extensionno setter -
uniqueEdges
→ Map<
EdgeId< V> , List<Edge< >V> > -
finalinherited
-
vertexSnapshots
→ Map<
V, VertexSnapshot< V> > -
final
-
vertices
→ Map<
V, Vertex< V> > -
finalinherited
Methods
-
addGraph(
Graph< V> graph) → GraphSnapshot<V> -
inherited
-
addVertex(
Vertex< V> vertex) → GraphSnapshot<V> -
inherited
-
childrenOf(
Vertex< V> vertex) → Map<V, Vertex< V> > -
inherited
-
childrenOfById(
V id) → Map< V, Vertex< V> > -
inherited
-
diffGraph(
Graph< V> graph) → GraphSnapshot<V> -
inherited
-
getOrderByState(
SnapshotState state) → int -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parentsOf(
Vertex< V> vertex) → Map<V, Vertex< V> > -
inherited
-
parentsOfById(
V id) → Map< V, Vertex< V> > -
inherited
-
removeVertex(
Vertex< V> vertex) → GraphSnapshot<V> -
inherited
-
removeVertexById(
V id) → GraphSnapshot< V> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
verticesByState(
SnapshotState state) → Map< V, VertexSnapshot< V> >
Operators
-
operator +(
Object other) → GraphSnapshot< V> -
inherited
-
operator -(
Object other) → GraphSnapshot< V> -
inherited
-
operator ==(
Object other) → bool -
The equality operator.
inherited