Boost logo

Boost :

From: (noreply_at_[hidden])
Date: 2004-06-04 08:02:13

Bugs item #966496, was opened at 2004-06-04 06:02
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:

Category: graph
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Jeremy Siek (jsiek)
Summary: [BGL] Asymmetry between read_graphviz() and write_graphviz()

Initial Comment:
During some experiments with the BGL-GraphViz
interface, I observed a significant asymmetry between a
given DOT graph input with boost::read_graphviz() and
output with boost::write_graphviz() (without changing
any attributes).

Given the input DOT file <> (which is, of
course, much longer with the full set of information), the
elementary BGL program <metro.cxx> transforms this
into the output DOT file <> (the three
files are attached to this submission).

It seems that somewhere on the way, the graph and
node (and edge) attributes get clobbered. Note that
even the graph name "metro" gets replaced by the name
of the (last) subgraph "ligne_1", and /all/ node attributes
get mixed up. This seems to be somewhat similar to the
recent edge-related problem posted by Hideaki Hiraki to
the boost-users list.

I have not (yet) tried to mess with the graphviz parser
code, so I am asking here for help. Thanks.

<andreas dot scherer at rb-its dot de>


You can respond by visiting:

This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today!
Boost-bugs mailing list

Boost list run by bdawes at, gregod at, cpdaniel at, john at