|
Boost Users : |
Subject: Re: [Boost-users] [Graph] changes in 1_40
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2009-11-18 20:18:34
On Wed, 18 Nov 2009, Meththa wrote:
> Hi,
>
> I've noticed that the Graph library has changed in the new version, though the documentation and the examples have not been updated. I
> am trying to use the fruchterman_reingold algorithm. I am confused as to the new parameters topology, origin and extent that are
> passed to the function.
>
> I think topology is given by xmin, ymin, xmax, ymax for a rectangular topology.
>
> For the origin, I have used topology.center()
>
> But I am at loss as to what the extent is and what I should assign it. Can someone please explain these new parameters and what values
> are expected.
As another reply (which was probably to your post) said, 1.41 no longer
requires the origin or extent parameters. The topology can just be
rectangle_topology, which has the min/max parameters you are using.
-- Jeremiah Willcock
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