graphtransliterator-ts


graphtransliterator-ts / getNode

Function: getNode()

getNode<T, N, E>(graph, id): Node<T, N>

Defined in: Graphs.ts:131

Grabs the precise node reference corresponding to an explicit identifier.

Type Parameters

T

T

N

N

E

E

Parameters

graph

DirectedGraph<T, N, E>

id

number

Returns

Node<T, N>