Properties
_internal
_internal
: Map<number, Array<edge>> = new Map()
Methods
addEdge
- addEdge(to: number, from: number, type?: string): void
-
Parameters
-
to: number
-
from: number
-
Default value type: string = "input"
Returns void
addVertex
- addVertex(vertex: number): void