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 |
|
9 | var iper = require('iper');
|
10 |
|
11 | var IperGraph = iper.IperGraph;
|
12 |
|
13 | //
|
14 | // Create a common graph
|
15 | //
|
16 |
|
17 | var graph = new IperGraph({rank: 2});
|
18 |
|