Options
All
  • Public
  • Public/Protected
  • All
Menu

Stores a node in a graph.

Type parameters

  • T

    The type of the value stored in the graph.

Hierarchy

Index

Constructors

constructor

Properties

neighbors

neighbors: GraphNode<T>[]

The nodes adjacent to this one in the graph.

traversed

traversed: boolean

Stores whether a node has been traversed, used in some algorithms.

value

value: T

The value stored in a node.

Methods

_getComponent

getComponent

  • getComponent(reset?: boolean): Graph<T>

linkTo

Generated using TypeDoc, the 1/31/2021 at 6:18:55 AM