API Docs for: 0.0.1
Show:

Graph.Vertex Class

Defined in: source-yuidoc.js:40

Constructor for a vertex of Graph

Constructor

Graph.Vertex

(
  • name
  • value
)

Defined in source-yuidoc.js:40

Parameters:

  • name String

    Name of the vertex

  • value Number

    Value of the vertex

Item Index

Methods

Methods

degree

() Number

Defined in source-yuidoc.js:65

Prototype function which returns the number of edges of a Graph.Vertex

Returns:

Number:

The length of the edges