Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Vertex

Hierarchy

  • Vertex

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Vertex(value?: any): Vertex

Properties

data

data: object

Type declaration

  • [property: string]: any

edges

edges: Edge[]

id

id: number | undefined

neighbors

neighbors: Vertex[]

Optional value

value: any

Methods

adjacentTo

  • adjacentTo(vertex: Vertex): boolean

Generated using TypeDoc