Skip to main content

type GraphElement<N>

A graph element is either an isolated node as a 1-tuple, or a link between nodes represented as a Link instance.

Companion namespace: GraphElement

Definition

export type GraphElement<N> = [N] | Link<N>;