graphtransliterator-ts


graphtransliterator-ts / initGraph

Function: initGraph()

initGraph<T, N, E>(nodes?, edges?): DirectedGraph<T, N, E>

Defined in: Graphs.ts:99

Spins up an empty, immutable execution graph topology initialized with raw structural assets.

Type Parameters

T

T

N

N

E

E

Parameters

nodes?

Node<T, N>[] = []

edges?

Map<string, Edge<E>> = ...

Returns

DirectedGraph<T, N, E>