[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[igraph] graphopt in python

From: Matthew Walker
Subject: [igraph] graphopt in python
Date: Wed, 4 Aug 2010 14:32:19 -0400
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100423 Thunderbird/3.0.4


I was surprised to see that the graphopt layout code in python was missing the ability to pass a seed. Attached is a "context diff" of src/graphopt.c. All I did was copy the seed-related code from igraph_layout_grid_fruchterman_reingold() and now seeding graphopt seems to work happily too.

I hope this is useful. If I haven't done a good job with the "diff", please tell me what would be better.



Attachment: graphobject.c.diff
Description: graphobject.c.diff

reply via email to

[Prev in Thread] Current Thread [Next in Thread]