$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] [BGL] read_graphviz and Bundle Properties
From: Giuseppe Di Guglielmo (giuseppe.diguglielmo_at_[hidden])
Date: 2009-10-12 17:29:37
Dear all,
here
http://www.boost.org/doc/libs/1_40_0/libs/graph/doc/read_graphviz.html
is reported how to use the read_graphviz function with old style "property
list".
How can I use the read_graphviz() function with bundle properties?
This is my graph-type definition
--- struct VertexId_t { std::size_t id; }; struct EdgeId_t { std::size_t id; }; typedef boost::adjacency_list<boost::vecS, boost::vecS, boost::directedS, VertexId_t, EdgeId_t> Graph_t; --- And this is the DOT file: --- G { 0 [id="v0"]; 1 [id="v1"]; 0->0 [id="e0"]; 0->0 [id="e1"]; 0->1 [id="e2"]; } --- Cheers, G.