Hello,

I've a problem reading graph from the dot format. Suppose I have

    digraph gengraph {
        source="1"
        sink="100002"  
        _ -> 1;
        _ [label="",shape=plaintext];
       100002 [shape=doublecircle];
       1 -> 2 [label="0"];
       1 -> 3 [label="0"];
   ....

the graph is loaded OK, but now I need to determine which vertex is sink and
which is source. The problem is that there's no correspondence between node
ids in dot file and vertex_descriptors that read_graphviz creates. So, it's 
not possible to tell which vertex descriptor is 'sink'. 

Have I missed some way? If not, would adding another id->vertex map be 
possible?

- Volodya

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to