Use setS for the OutEdgeList (previously called EdgeList) template parameter of adjacency_list. http://www.boost.org/libs/graph/doc/using_adjacency_list.html#sec:choosing-g... Cheers, Jeremy On Mon, 28 Oct 2002, Juerg Tschirren wrote: yg-boo> yg-boo> With the Boost Graph Library, I try do create an undirected graph yg-boo> that does not allow parallel edges, so far without success. Does yg-boo> anybody have a small example that shows how to do this? yg-boo> yg-boo> Juerg yg-boo> yg-boo> yg-boo> yg-boo> yg-boo> yg-boo> Info: http://www.boost.org yg-boo> Wiki: http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl yg-boo> Unsubscribe: mailto:boost-users-unsubscribe@yahoogroups.com yg-boo> yg-boo> yg-boo> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ yg-boo> yg-boo> ---------------------------------------------------------------------- Jeremy Siek http://php.indiana.edu/~jsiek/ Ph.D. Student, Indiana Univ. B'ton email: jsiek@osl.iu.edu C++ Booster (http://www.boost.org) office phone: (812) 855-3608 ----------------------------------------------------------------------