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
_NonEmptyTypeconnectionSize
undocumented
connectionSizecontext
undocumented
contextisDirected
undocumented
isDirectedisEmpty
undocumented
isEmptylinkMap
undocumented
linkMapnodeSize
undocumented
nodeSizeMethods
[Symbol.iterator]
undocumented
[Symbol.iterator]Definition
[Symbol.iterator](): FastIterator<E>;
Overrides
NonEmptyBase.[Symbol.iterator], FastIterable.[Symbol.iterator]
addNode
undocumented
addNodeaddNodes
undocumented
addNodesDefinition
addNodes(nodes: StreamSource<N>): TpG['nonEmpty'];
Parameters
| Name | Type | Description |
|---|---|---|
nodes | StreamSource<N> |
Overrides
asNormal
undocumented
asNormalassumeNonEmpty
undocumented
assumeNonEmptyDefinition
assumeNonEmpty(): any;
Overrides
NonEmptyBase.assumeNonEmpty, VariantGraphBase.assumeNonEmpty
connect
undocumented
connectconnectAll
undocumented
connectAllDefinition
connectAll(links: StreamSource<WithGraphValues<Tp, N, any>['link']>): TpG['nonEmpty'];
Parameters
| Name | Type | Description |
|---|---|---|
links | StreamSource<WithGraphValues<Tp, N, any>['link']> |
Overrides
copy
undocumented
copycopyE
undocumented
copyEdisconnect
undocumented
disconnectdisconnectAll
undocumented
disconnectAllDefinition
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
forEachDefinition
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
getConnectionsFromgetConnectionStreamFrom
undocumented
getConnectionStreamFromgetConnectionStreamTo
undocumented
getConnectionStreamTohasConnection
undocumented
hasConnectionhasNode
undocumented
hasNodeisSink
undocumented
isSinkisSource
undocumented
isSourceremoveNode
undocumented
removeNoderemoveNodes
undocumented
removeNodesDefinition
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
streamstreamConnections
undocumented
streamConnectionsstreamNodes
undocumented
streamNodestoBuilder
undocumented
toBuildertoJSON
undocumented
toJSONtoString
undocumented
toString