Multiple edges between two vertices

User 40 | 5/7/2014, 5:51:24 AM

When I input a graph structure, for example in the tsv format, can I specify multiple edges between the same two nodes ? If so how ? Eg: If there are 3 edges from vertex 1 to vertex 2, how do I represent this in my input graph. 1 2 1 5 7 5 5 7 7 1

Comments

User 14 | 5/7/2014, 4:28:39 PM

Yes, you can. If you have three identical lines of "1 2" in your input, the graph will have 3 edges from 1 to 2.


User 40 | 5/8/2014, 7:29:21 AM

Thanks JayGu!