adding custom vertices to a boost graph
I don’t understand what you want to do exactly. Do you want to associate some data to vertices? Then use bundled properties. //Define a class that has the data you want to associate to every vertex and edge struct Vertex{ int foo;} struct Edge{std::string blah;} //Define the graph using those classes typedef boost::adjacency_list<boost::listS, boost::vecS, boost::directedS, … Read more