GraphOps
Attributes
- Graph
-
- Supertypes
-
trait Cloneableclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
- Self type
-
Members list
Type members
Inherited classlikes
To be mixed in by edge classes to allow passing them to Graph(...).
To be mixed in by edge classes to allow passing them to Graph(...).
Attributes
- Inherited from:
- OuterElems
- Supertypes
Attributes
- Inherited from:
- OuterElems
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Wraps any type to be accepted when calling Graph(...).
Wraps any type to be accepted when calling Graph(...).
Attributes
- Inherited from:
- OuterElems
- Supertypes
Value members
Abstract methods
Adds a single node to this graph.
Adds a single node to this graph.
Attributes
- Returns
-
trueif this graph has not containednodebefore.
Adds a single edge to this graph.
Adds a single edge to this graph.
Attributes
- Returns
-
trueif this graph has not containededgebefore.
Computes a new graph with nodes satisfying fNode and edges satisfying fEdge. If both fNode and fEdge have default values the original graph is retained.
Computes a new graph with nodes satisfying fNode and edges satisfying fEdge. If both fNode and fEdge have default values the original graph is retained.
Attributes
Concrete methods
Alias for intersectInPlace.
Alias for intersectInPlace.
Attributes
Shrinks this graph to its intersection with that graph.
Shrinks this graph to its intersection with that graph.
Attributes
Adds all elements in other to this Growable.
Adds all elements in other to this Growable.
Attributes
Inherited methods
Adds all passed nodes and edges to this graph. For a mutable Graph see also unionInPlace.
Adds all passed nodes and edges to this graph. For a mutable Graph see also unionInPlace.
Attributes
- Inherited from:
- Growable
Alias for addAll(xs).
Alias for addOne(edge).
Alias for addOne(node).
Alias for diffInPlace.
Alias for removeAll(edges).
Alias for removeAll(nodes, edges).
Alias for subtractOne(node).
Alias for subtractOne(node).
Adds all elements produced by outer to this graph. For a graph see also unionInPlace.
Adds all elements produced by outer to this graph. For a graph see also unionInPlace.
Attributes
- Inherited from:
- Growable
Adds a single node to this graph.
Adds a single node to this graph.
Attributes
- Inherited from:
- AbstractBuilder
Create a copy of the receiver object.
Removes all nodes and edges contained in that graph from this graph.
Removes all nodes and edges contained in that graph from this graph.
Attributes
- Inherited from:
- Shrinkable
Removes a single edge from this graph.
Removes a single edge from this graph.
Attributes
- Returns
-
whether the edge existed before
- Inherited from:
- Shrinkable
Removes a single node from this graph.
Removes a single node from this graph.
Attributes
- Returns
-
whether the node existed before.
- Inherited from:
- Shrinkable
Removes all edges from this graph.
Removes all nodes and edges from this graph.
Attributes
- Inherited from:
- Cloneable
Removes a single edge from this graph.
Removes a single node from this graph.
If an inner edge equaling to edge is present in this graph, it is replaced by edge, otherwise edge will be inserted. This is useful if non-key parts of an immutable edge are to be modified.
If an inner edge equaling to edge is present in this graph, it is replaced by edge, otherwise edge will be inserted. This is useful if non-key parts of an immutable edge are to be modified.
Attributes
- Returns
-
trueifedgehas been inserted,falseif it has been replaced. - Inherited from:
- AbstractBuilder