@vue-flow/monorepo • Docs
Function: getOutgoers() ​
getOutgoers(nodeOrId, nodes, edges) ​
getOutgoers<
N
>(nodeOrId
,nodes
,edges
):N
[]
Type Parameters ​
• N extends Node
<any
, any
, string
>
Parameters ​
• nodeOrId: string
| Node
<any
, any
, string
> | object
• nodes: N
[]
• edges: Edge
[]
Returns ​
N
[]
getOutgoers(nodeOrId, elements) ​
getOutgoers<
T
>(nodeOrId
,elements
):T
extendsFlowElements
?GraphNode
[] :Node
[]
Type Parameters ​
• T extends Elements
Parameters ​
• nodeOrId: string
| Node
<any
, any
, string
> | object
• elements: T
Returns ​
T
extends FlowElements
? GraphNode
[] : Node
[]