1 Aug
2004
1 Aug
'04
2:35 p.m.
On Jul 30, 2004, at 2:42 AM, Daniele Carlucci wrote:
Hi everybody, I wanna to print a graph but instead the id I want to print the name of the same. How can I make? I have token the list of the nodes from a list i. In i.name I have the name of the node. The code that I used to initialize the graph is:
You just need a property map that associates a name with each vertex: http://www.boost.org/libs/graph/doc/using_property_maps.html There's even an example in libs/graph/example/vertex-name-property.cpp Doug