UNPKG

330 BJavaScriptView Raw
1
2//
3// # Common graph
4//
5// The common notion of graph is an undirected graph with rank 2.
6// See [graph entry on wikipedia](http://en.wikipedia.org/wiki/Graph_(mathematics))
7//
8
9var iper = require('iper');
10
11var IperGraph = iper.IperGraph;
12
13//
14// Create a common graph
15//
16
17var graph = new IperGraph({rank: 2});
18