iper

Hypergraphs for breakfast!

Node engine NPM version Build Status Dependency Status Coverage Status Test page

js-standard-style

NPM

Installation

With npm do

npm install iper

With bower do

$ bower install iper

API

new Graph([graph])

Hypergraph

var graph = new Graph()
   
@param {Object} [graph]
@param {Object} [graph.edge]
@param {Object} [graph.node]

graph.addEdge(nodeIds)

   
@param {Array} nodeIds
@returns {String} id

graph.addNode(data)

   
@param {Any} data
@returns {String} id

graph.delEdge(id)

   
@param {String} id
@returns {Array} nodeIds

graph.delNode(id)

   
@param {String} id
@returns {Any} data

License

MIT