
30 Jul
2007
30 Jul
'07
9:36 p.m.
I need to display a graph . Therefore I need to compute coordinate of
each node (XY) and I plan to use BGL which provide algorithms for this
purpose.
After having looked at the test examples, I can not see how to implement
a graph and run one of the layout algorithms.
Does anybody have any experience on using BGL ?
My node stuct is
struct {
string name;
int x;
int y;
}
and I have a vector of pair that contain the edges
(vector