What about removing all the parallel edges after creating the graph? On Thu, Jul 20, 2017 at 7:30 PM, Aleksandar Trifunovic <akstrfn@gmail.com> wrote:
Hi all,
I was looking for a way to prevent adding of parallel edges in the graph i.e. I would like to create a graph that is not a multigraph. Now I do that manually but that is quite prone to bugs. Is this possible to do this with graph tool in any way?
The option I would like is the one like the option that boost graph has i.e. graph_traits<adjacency_list>::edge_parallel_category that can be found on: http://www.boost.org/doc/libs/develop/libs/graph/doc/adjacency_list.html
Thanks! Aleks
_______________________________________________ graph-tool mailing list graph-tool@skewed.de https://lists.skewed.de/mailman/listinfo/graph-tool
-- Snehal M. Shekatkar Pune India