
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