It seems that bundled properties still don't work with subgraphs. I found a mention of the problem dating back to 2005 [1], a closed ticket for the issue [2] and another post [3], this time from 2008, with an ex tempore fix (which doesn't work for me). Could someone possibly account for that?
[1] http://lists.boost.org/boost-users/2005/03/10844.php [2] https://svn.boost.org/trac/boost/ticket/380 [3] http://www.nabble.com/-graph--property_map-from-bundled-properties-in-a-subg...
TIA, Greg Slodkowicz
I applied the patch from Dmitry and added a new test file for subgraphs with
bundled properties and everything seems to work just fine in trunk. There
are some caveats, of course.
1. Subraphs require interior index properties for both vertices and edges,
and no adjacency list provides both of these by default. You get vertex
indices with VertexSet == vecS, but that's about it. You have to modify the
properties of the *underlying* adjacency list - not just the subgraph. For
example:
// Define the edge property
struct my_edge { ... };
typedef property