fivem-ts

a library to speed up the development of Fivem scripts and frameworks


Project maintained by Purpose-Dev Hosted on GitHub Pages — Theme by mattgraham

fivem-ts - Documentation v0.7.5Docs


fivem-ts - Documentation v0.7.5 / Shared / IGraphEdge

Interface: IGraphEdge<T>

Interface representing an edge in a graph.

Type Parameters

T

Methods

getDestination()

getDestination(): IGraphNode<T>

Returns

IGraphNode<T>

Defined in

shared/ds/graph/IGraphEdge.ts:10


getSource()

getSource(): IGraphNode<T>

Returns

IGraphNode<T>

Defined in

shared/ds/graph/IGraphEdge.ts:9


getWeight()

getWeight(): number

Returns

number

Defined in

shared/ds/graph/IGraphEdge.ts:11