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