You are on page 1of 1

# Graph representing tips:

# 1. write only a edges (its a problem if you put vertice without adjacent edge)
# 2. if you have multiple edges between two vertices you can
# > write parametar c: (see example and edge 0->1)
# > multiple write the same line (see examle and edge 0->2)
# 3. there must be exactly ONE sorce (vertice that has not input edges)
# 4. the graph must not contain loops or selfloops
#
# EXAMPLE (remove '##'):
#
## digraph Graph {
## 0->1 [c=2];
## 0->2;
## 0->2;
## }

digraph butterfly {
0->1 [c=2];
0->2 [c=2];
1->3 [c=2];
2->3 [c=2];
3->4 [c=2];
1->5 [c=2];
4->5 [c=2];
2->6 [c=2];
4->6 [c=2];
}

You might also like