Home Reference Source
import Vertex from 'algorithmsjs/src/Vertex.js'
public class | source

Vertex

Vertex: represents a vertex that can be added to a Graph instance.

Constructor Summary

Public Constructor
public

constructor(value: *)

Member Summary

Public Members
public

value: *

Method Summary

Public Methods
public

getValue(): *

Public Constructors

public constructor(value: *) source

Params:

NameTypeAttributeDescription
value *

Public Members

public value: * source

Public Methods

public getValue(): * source

Return:

*