Graph

Hypergraph

TypeParam
Objectgraph
addEdge

TypeParam
ArraynodeIds
addNode

TypeParam
Anydata
delEdge

TypeParam
Stringid
delNode

TypeParam
Stringid
getAdjacentNodeIds

Compute adjacent nodes

TypeParam
Arrayedges
StringnodeId
getDegree

The degree of a vertex is the number of incident edges, with loops counted twice.

http://en.wikipedia.org/wiki/Degree_(graph_theory)

TypeParam
Arrayedges
StringnodeId
getIncidentEdgeIds

Edges incident to given node

TypeParam
Arrayedges
StringnodeId
getOrphanEdgeIds

Compute edges which does not refer to existing nodeIds

TypeParam
Arrayedges
Arraynodes
Objectgraph
getRank

The rank is the maximum cardinality of any of the edges in the hypergraph

TypeParam