Boost logo

Boost Users :

From: E B (eric.britz_at_[hidden])
Date: 2007-07-30 17:36:58


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<pair<node*,node*> >).

I need to feed the node.x and node.y by using my own struct or another
ones provided I get the X Y.


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