igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] Better layout output in igraph


From: Tamas Nepusz
Subject: Re: [igraph] Better layout output in igraph
Date: Mon, 22 Aug 2011 11:44:17 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110617 Lightning/1.0b2 Thunderbird/3.1.11

> The "autocurve" function would be really useful for creating better
> looking graphs.
I have just committed the first version of the autocurve() function to the
trunk. There is also a keyword argument called "autocurve" in the plot()
function and it is turned on by default for graphs with <10K edges, so you
can simply do this:

import random

g = Graph.GRG(100, 0.2)
g += random.sample(g.get_edgelist(), 10)     # add some multiple edges
plot(g)

-- 
T.



reply via email to

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