interface ArrowGraph.Context<UN>
The ArrowGraph's Context instance that serves as a factory for all related immutable instances and builders.
Extends: ArrowGraphBase.Context<UN,Tp>
Type parameters
Name | Description |
---|---|
UN | the upper type limit for node types for which this context can create instances |
Properties
_fixedType
undocumented
_fixedType
isDirected
undocumented
isDirected
linkConnectionsContext
The context
instance used to create internal connection collections
linkConnectionsContext
context
instance used to create internal connection collectionslinkMapContext
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 received graph elements to a Graph and returns the Graph 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 received graph elements to a Graph and returns the Graph 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.