interface ArrowValuedGraphBase.Context<UN,Tp>
undocumented
Extends: ValuedGraphBase.Context<UN,Tp>
Type parameters
Name | Constraints | Default | Description |
---|---|---|---|
UN | undocumented | ||
Tp | ArrowValuedGraphBase.Types | ArrowValuedGraphBase.Types | undocumented |
Properties
_fixedType
undocumented
_fixedType
isDirected
Returns true if the graphs created by this context are arrow (directed) graphs.
isDirected
linkConnectionsContext
The context
instance used to create internal connection maps
linkConnectionsContext
context
instance used to create internal connection mapslinkMapContext
The context
instance used to create internal link maps
linkMapContext
context
instance used to create internal link mapstypeTag
A string tag defining the specific collection type
typeTag
Methods
builder
Returns an empty builder instance.
builder
empty
Returns the (singleton) empty instance of this type and context with given key and value types.
empty
from
Returns an immutable valued Graph, containing the graph elements from each of the given sources
.
from
sources
.of
Returns an immutable valued Graph instance containing the graph elements from the given graphElements
.
of
graphElements
.reducer
Returns a Reducer
that adds valued received graph elements to a ValuedGraph and returns the ValuedGraph as a result. When a source
is given, the reducer will first create a graph from the source, and then add graph elements to it.
reducer
Reducer
that adds valued received graph elements to a ValuedGraph and returns the ValuedGraph as a result. When a source
is given, the reducer will first create a graph from the source, and then add graph elements to it.