class ValuedGraphEmpty<N,V,Tp,TpG>
undocumented
Extends: GraphEmptyBase
Implements: ValuedGraphBase<N,V,Tp>
Type parameters
Name | Constraints | Default | Description |
---|---|---|---|
N | undocumented | ||
V | undocumented | ||
Tp | ValuedGraphTypesContextImpl | undocumented | |
TpG | WithGraphValues <Tp, N, V> | WithGraphValues <Tp, N, V> | undocumented |
Properties
_NonEmptyType
undocumented
_NonEmptyType
connectionSize
undocumented
connectionSize
Definition
get connectionSize(): 0;
Overrides
GraphEmptyBase.connectionSizeVariantGraphBase.connectionSize
context
undocumented
context
isDirected
undocumented
isDirected
isEmpty
undocumented
isEmpty
length
undocumented
length
linkMap
undocumented
linkMap
nodeSize
undocumented
nodeSize
size
undocumented
size
Methods
[Symbol.iterator]
undocumented
[Symbol.iterator]
addNode
undocumented
addNode
addNodes
undocumented
addNodes
Definition
addNodes(nodes:
StreamSource
<N>):
WithGraphValues
<Tp, N, V>['nonEmpty'];
Parameters
Name | Type | Description |
---|---|---|
nodes | StreamSource <N> |
Overrides
connect
undocumented
connect
connectAll
undocumented
connectAll
Definition
connectAll(links:
StreamSource
<
WithGraphValues
<Tp, N, V>['link']>):
WithGraphValues
<Tp, N, V>['nonEmpty'];
Parameters
Name | Type | Description |
---|---|---|
links | StreamSource < WithGraphValues <Tp, N, V>['link']> |
Overrides
disconnect
undocumented
disconnect
disconnectAll
undocumented
disconnectAll
Definition
disconnectAll(): any;
Overrides
GraphEmptyBase.disconnectAll, VariantGraphBase.disconnectAll
filter
undocumented
filter
forEach
undocumented
forEach
getConnectionStreamFrom
undocumented
getConnectionStreamFrom
Definition
getConnectionStreamFrom():
Stream
<any>;
Overrides
GraphEmptyBase.getConnectionStreamFrom, VariantGraphBase.getConnectionStreamFrom
getConnectionStreamTo
undocumented
getConnectionStreamTo
Definition
getConnectionStreamTo():
Stream
<any>;
Overrides
GraphEmptyBase.getConnectionStreamTo, VariantGraphBase.getConnectionStreamTo
getValue
undocumented
getValue
hasConnection
undocumented
hasConnection
Definition
hasConnection(): false;
Overrides
GraphEmptyBase.hasConnection, VariantGraphBase.hasConnection
hasNode
undocumented
hasNode
isSink
undocumented
isSink
isSource
undocumented
isSource
mapValues
undocumented
mapValues
Definition
mapValues<V2>():
WithGraphValues
<Tp, N, V2>['normal'];
Type parameters
Name | Description |
---|---|
V2 |
Overrides
modifyAt
undocumented
modifyAt
Definition
modifyAt(node1: N, node2: N, options: {
ifNew?:
OptLazyOr
<V, Token>;
ifExists?: (value: V, remove: Token) => V
|
Token;
}):
WithGraphValues
<Tp, N, V>['normal'];
Parameters
Name | Type | Description |
---|---|---|
node1 | N | |
node2 | N | |
options | { ifNew?: OptLazyOr <V, Token>; ifExists?: (value: V, remove: Token) => V | Token; } |
Overrides
remove
undocumented
remove
removeNode
undocumented
removeNode
removeNodes
undocumented
removeNodes
removeUnconnectedNodes
undocumented
removeUnconnectedNodes
Definition
removeUnconnectedNodes(): any;
Overrides
GraphEmptyBase.removeUnconnectedNodes, VariantGraphBase.removeUnconnectedNodes
stream
undocumented
stream
streamConnections
undocumented
streamConnections
Definition
streamConnections():
Stream
<any>;
Overrides
GraphEmptyBase.streamConnections, VariantGraphBase.streamConnections
toArray
undocumented
toArray
toBuilder
undocumented
toBuilder
toJSON
undocumented
toJSON
toString
undocumented
toString