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