|
Boost Users : |
From: James Sutherland (James.Sutherland_at_[hidden])
Date: 2008-05-05 18:44:41
> I am not sure. My graph is defined thus:
>
> // Declarations of properties
> enum vertex_pnt_t { vertex_pnt = 0 };
> namespace boost { BOOST_INSTALL_PROPERTY( vertex, pnt);}
> enum vertex_isinside_t { vertex_isinside = 1 };
> namespace boost { BOOST_INSTALL_PROPERTY( vertex, isinside );}
>
> // Declarations for my dual graph
> typedef boost::property<vertex_pnt_t, gp_Pnt,
> boost::property<vertex_isinside_t, Standard_Boolean,
> boost::property<boost::vertex_index_t, int> > > VertexProp;
> typedef boost::property<boost::edge_index_t, int> EdgeProp;
> typedef boost::adjacency_list<boost::listS, boost::listS,
> boost::undirectedS,
> VertexProp, EdgeProp > TMESH_ConnectivityGraph;
>
> Torsten
Thanks. Perhaps I will try this using property lists as you have. I
am using bundled properties (a really nice feature), and am unable
thus far to get write_graphviz to work with listS and bundled
properties. I don't see any examples in BGL of this, so perhaps it is
a bug, or unsupported...
James
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