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
_NonEmptyTypeconnectionSize
undocumented
connectionSizeDefinition
get connectionSize(): 0;
Overrides
GraphEmptyBase.connectionSizeVariantGraphBase.connectionSize
context
undocumented
contextisDirected
undocumented
isDirectedisEmpty
undocumented
isEmptylength
undocumented
lengthlinkMap
undocumented
linkMapnodeSize
undocumented
nodeSizesize
undocumented
sizeMethods
[Symbol.iterator]
undocumented
[Symbol.iterator]addNode
undocumented
addNodeaddNodes
undocumented
addNodesDefinition
addNodes(nodes: StreamSource<N>): WithGraphValues<Tp, N, V>['nonEmpty'];
Parameters
| Name | Type | Description |
|---|---|---|
nodes | StreamSource<N> |
Overrides
connect
undocumented
connectconnectAll
undocumented
connectAllDefinition
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
disconnectdisconnectAll
undocumented
disconnectAllDefinition
disconnectAll(): any;
Overrides
GraphEmptyBase.disconnectAll, VariantGraphBase.disconnectAll
filter
undocumented
filterforEach
undocumented
forEachgetConnectionStreamFrom
undocumented
getConnectionStreamFromDefinition
getConnectionStreamFrom(): Stream<any>;
Overrides
GraphEmptyBase.getConnectionStreamFrom, VariantGraphBase.getConnectionStreamFrom
getConnectionStreamTo
undocumented
getConnectionStreamToDefinition
getConnectionStreamTo(): Stream<any>;
Overrides
GraphEmptyBase.getConnectionStreamTo, VariantGraphBase.getConnectionStreamTo
getValue
undocumented
getValuehasConnection
undocumented
hasConnectionDefinition
hasConnection(): false;
Overrides
GraphEmptyBase.hasConnection, VariantGraphBase.hasConnection
hasNode
undocumented
hasNodeisSink
undocumented
isSinkisSource
undocumented
isSourcemapValues
undocumented
mapValuesDefinition
mapValues<V2>(): WithGraphValues<Tp, N, V2>['normal'];
Type parameters
| Name | Description |
|---|---|
| V2 |
Overrides
modifyAt
undocumented
modifyAtDefinition
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
removeremoveNode
undocumented
removeNoderemoveNodes
undocumented
removeNodesremoveUnconnectedNodes
undocumented
removeUnconnectedNodesDefinition
removeUnconnectedNodes(): any;
Overrides
GraphEmptyBase.removeUnconnectedNodes, VariantGraphBase.removeUnconnectedNodes
stream
undocumented
streamstreamConnections
undocumented
streamConnectionsDefinition
streamConnections(): Stream<any>;
Overrides
GraphEmptyBase.streamConnections, VariantGraphBase.streamConnections
toArray
undocumented
toArraytoBuilder
undocumented
toBuildertoJSON
undocumented
toJSONtoString
undocumented
toString