Skip to content
On this page

Function: getOutgoers

getOutgoers<T>(nodeOrId, elements): T extends FlowElements<any, any, any, any> ? GraphNode<any, any, string>[] : Node<any, any, string>[]

Type parameters

NameType
Textends Element<any, any, any, any>[] = FlowElements<any, any, any, any>

Parameters

NameType
nodeOrIdstring | Node<any, any, string> | { id: string }
elementsT

Returns

T extends FlowElements<any, any, any, any> ? GraphNode<any, any, string>[] : Node<any, any, string>[]

Released under the MIT License.