Function: getIncomers ​
â–¸ getIncomers<N
>(nodeOrId
, nodes
, edges
): N
[]
Type parameters ​
Name | Type |
---|---|
N | extends Node <any , any , string , N > |
Parameters ​
Name | Type |
---|---|
nodeOrId | string | Node <any , any , string > | { id : string } |
nodes | N [] |
edges | Edge <any , any , string >[] |
Returns ​
N
[]
â–¸ getIncomers<T
>(nodeOrId
, elements
): T
extends FlowElements
? GraphNode
[] : Node
[]
Type parameters ​
Name | Type |
---|---|
T | extends Element <any , any , any , any >[] |
Parameters ​
Name | Type |
---|---|
nodeOrId | string | Node <any , any , string > | { id : string } |
elements | T |
Returns ​
T
extends FlowElements
? GraphNode
[] : Node
[]