Hypergraph
Type | Param |
---|---|
Object | graph |
Type | Param |
---|---|
Array | nodeIds |
Type | Param |
---|---|
Any | data |
Type | Param |
---|---|
String | id |
Type | Param |
---|---|
String | id |
Compute adjacent nodes
Type | Param |
---|---|
Array | edges |
String | nodeId |
The degree of a vertex is the number of incident edges, with loops counted twice.
http://en.wikipedia.org/wiki/Degree_(graph_theory)
Type | Param |
---|---|
Array | edges |
String | nodeId |
Edges incident to given node
Type | Param |
---|---|
Array | edges |
String | nodeId |
Compute edges which does not refer to existing nodeIds
Type | Param |
---|---|
Array | edges |
Array | nodes |
Object | graph |
The rank is the maximum cardinality of any of the edges in the hypergraph
Type | Param |
---|