graphtransliterator-ts


graphtransliterator-ts / getEdge

Function: getEdge()

getEdge<T, N, E>(graph, head, tail): Edge<E>

Defined in: Graphs.ts:161

Resolves a directed edge connection interface bridging a head and tail transition point.

Type Parameters

T

T

N

N

E

E

Parameters

graph

DirectedGraph<T, N, E>

tail

number

Returns

Edge<E>