$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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;
};