I see examples of this when using property maps, but not when using structs to handle the vertices and edges (I think this is called \'bundles\').
I have vertices an
I gave bad info the first time. Here is the correct answer.
#include
using namespace boost;
// Graph type
typedef adjacency_list Graph;
Graph g;
std::vector NameVec; // for dot file names
// write the dot file
std::ofstream dotfile (strDotFile.c_str ());
write_graphviz (dotfile, g, make_label_writer(&NameVec[0]));