Boost logo

Boost Users :

Subject: [Boost-users] BGL: Write graphviz file with invisible edges
From: David Doria (daviddoria_at_[hidden])
Date: 2011-06-21 11:27:36


I found out that if you write a graph (.dot) file like this:

graph G {
0;
1;
2;
0--1;
1--2 [style=invis];
}

graphviz will layout the graph as if it has two edges (0--1, and
1--2), but not display the edge between vertices 1 and 2. This is
useful when trying to keep the vertices stationary and show changes to
the connectivity. How would I setup the graph in BGL so I could mark
particular edges so they will be written with [style=invis]?

Thanks,

David


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net