class GraphNonEmpty<N,Tp,TpG>
undocumented
Extends: NonEmptyBase<E>
Implements: GraphBase.NonEmpty<N,Tp>
Type parameters
Name | Constraints | Default | Description |
---|---|---|---|
N | undocumented | ||
Tp | GraphTypesContextImpl | undocumented | |
TpG | WithGraphValues <Tp, N, any> | WithGraphValues <Tp, N, any> | undocumented |
Properties
_NonEmptyType
undocumented
_NonEmptyType
connectionSize
undocumented
connectionSize
context
undocumented
context
isDirected
undocumented
isDirected
isEmpty
undocumented
isEmpty
linkMap
undocumented
linkMap
nodeSize
undocumented
nodeSize
Methods
[Symbol.iterator]
undocumented
[Symbol.iterator]
Definition
[Symbol.iterator]():
FastIterator
<E>;
Overrides
NonEmptyBase.[Symbol.iterator], FastIterable.[Symbol.iterator]
addNode
undocumented
addNode
addNodes
undocumented
addNodes
Definition
addNodes(nodes:
StreamSource
<N>): TpG['nonEmpty'];
Parameters
Name | Type | Description |
---|---|---|
nodes | StreamSource <N> |
Overrides
asNormal
undocumented
asNormal
assumeNonEmpty
undocumented
assumeNonEmpty
Definition
assumeNonEmpty(): any;
Overrides
NonEmptyBase.assumeNonEmpty, VariantGraphBase.assumeNonEmpty
connect
undocumented
connect
connectAll
undocumented
connectAll
Definition
connectAll(links:
StreamSource
<
WithGraphValues
<Tp, N, any>['link']>): TpG['nonEmpty'];
Parameters
Name | Type | Description |
---|---|---|
links | StreamSource < WithGraphValues <Tp, N, any>['link']> |
Overrides
copy
undocumented
copy
copyE
undocumented
copyE
disconnect
undocumented
disconnect
disconnectAll
undocumented
disconnectAll
Definition
disconnectAll<UN>(links:
StreamSource
<Link<
RelatedTo
<N, UN>>>): TpG['nonEmpty'];
Type parameters
Name | Description |
---|---|
UN |
Parameters
Name | Type | Description |
---|---|---|
links | StreamSource <Link< RelatedTo <N, UN>>> |
Overrides
forEach
undocumented
forEach
Definition
forEach(f: (node: GraphElement<N>, index: number, halt: () => void) => void, options?: {
state?:
TraverseState
;
}): void;
Parameters
Name | Type | Description |
---|---|---|
f | (node: GraphElement<N>, index: number, halt: () => void) => void | |
options | { state?: TraverseState ; } |
Overrides
getConnectionsFrom
undocumented
getConnectionsFrom
getConnectionStreamFrom
undocumented
getConnectionStreamFrom
getConnectionStreamTo
undocumented
getConnectionStreamTo
hasConnection
undocumented
hasConnection
hasNode
undocumented
hasNode
isSink
undocumented
isSink
isSource
undocumented
isSource
removeNode
undocumented
removeNode
removeNodes
undocumented
removeNodes
Definition
removeNodes<UN>(nodes:
StreamSource
<
RelatedTo
<N, UN>>): TpG['normal'];
Type parameters
Name | Description |
---|---|
UN |
Parameters
Name | Type | Description |
---|---|---|
nodes | StreamSource < RelatedTo <N, UN>> |
Overrides
stream
undocumented
stream
streamConnections
undocumented
streamConnections
streamNodes
undocumented
streamNodes
toBuilder
undocumented
toBuilder
toJSON
undocumented
toJSON
toString
undocumented
toString