Boost logo

Boost Users :

From: James Sutherland (James.Sutherland_at_[hidden])
Date: 2008-05-05 18:20:39


> On May 5, 2008, at 3:45 PM, Torsten Sadowski wrote:
>
> Hi,
>
> I'm using write_graphviz with listS and internal properties. I think
> I had a similar problem until I explicitly used the vertex_index_t
> property. The vertex index is implicit with vecS because it is the
> vertex desriptor in this case.
>
> Cheers, Torsten
>

Torsten,

How would you change the vertex descriptor struct? From my original
example, would the following be on the right track?

template<class Graph>
struct VertInfo {
   string name;
   typename Graph::vertex_index_t index;
};


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net