graphtransliterator-ts


graphtransliterator-ts / getNodeType

Function: getNodeType()

getNodeType<T, N, E>(graph, id): T

Defined in: Graphs.ts:151

Direct evaluation query returning the explicit type variant assigned to a node coordinate.

Type Parameters

T

T

N

N

E

E

Parameters

graph

DirectedGraph<T, N, E>

id

number

Returns

T