I'm using an edge visitor to create subgraphs. I do a simple
sub_graph = myGraph.create_subgraphs(), to create a subgraph and then
I add vertices using add_vertex(vertex,sub_graph). The vertices are
added but the corresponding edges are not. My basic typedefs are:
//////////
typedef boost::property Tmp;
typedef boost::property
GES_EdgeProperty;
typedef boost::property Tmp2;
typedef boost::property Tmp3;
typedef boost::property
GES_VertexProperty;
typedef boost::adjacency_list< boost::vecS, boost::vecS
,boost::directedS
,GES_VertexProperty
,GES_EdgeProperty>
GES_AdjacencyList;
typedef boost::subgraph
GES_RTGraph;
//////////
That is, the graph type is the same as the sub-graph type, which I
think is right? Does anybody have any idea why the edges aren't being
transferred to the sub-graph?