Using boost graphic lib (newbie)
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<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.
6262
Age (days ago)
6262
Last active (days ago)
0 comments
1 participants
participants (1)
-
E B