Good day,

 

I have a graph with bundled properties attached to both the vertices and edges.

typedef long int ASElementID;

enum ASRelationships

{

      NoRelationship,

      IsContaining,

      IsBeside,

      IsAbove,

      IsCommentedBy,

      IsMadeOf

};

typedef boost::adjacency_list<boost::vecS, boost::listS, boost::bidirectionalS, ASElementID, ASRelationships> Graph;

 

When using the write_graphviz and writing my property writer, I get the error_property_not_found error. Reading post 18294 (http://thread.gmane.org/gmane.comp.lib.boost.user/18294) I see what I should probably do. My problem is that I cannot give the address of ASElementID since it is an int. Is it a limitation? Do I *have* to use a struct for it to work? Something like:

struct IDType

{int ID};

 

Thanks and have a nice weekend!

Jean-Olivier