LogicalGraphExtension<V, E> extension
- on
-
- Graph<
V, E>
- Graph<
Methods
-
complement(
{bool allowSelfLoops = false, E? edge(V source, V target)?}) → Graph< V, E> -
Available on Graph<
Returns the complement of this graph, that is a graph with the same vertices but with edges between vertices that had no edge.V, E> , provided by the LogicalGraphExtension extension -
intersection(
Graph< V, E> other, {bool edgeCompare(V source, V target, E a, E b)?, E edgeMerge(V source, V target, E a, E b)?}) → Graph<V, E> -
Available on Graph<
Returns the intersection of this graph andV, E> , provided by the LogicalGraphExtension extensionother
. This is a graph with the nodes and edges present in both graphs.edgeMerge
specifies how parallel edges are merged, if unspecified the last one is used. -
union(
Graph< V, E> other, {E edgeMerge(V source, V target, E a, E b)?}) → Graph<V, E> -
Available on Graph<
Returns the union of this graph andV, E> , provided by the LogicalGraphExtension extensionother
. This is a graph with the nodes and edges present in either of the two graphs.edgeMerge
specifies how parallel edges are merged, if unspecified the last one is used.
Static Methods
-
unionAll<
V, E> (Graph< V, E> result, Iterable<Graph< others, {E edgeMerge(V source, V target, E a, E b)?}) → voidV, E> > -
Available on Graph<
MergesV, E> , provided by the LogicalGraphExtension extensionothers
intoresult
.edgeMerge
specifies how parallel edges are merged, if unspecified the last one is used.