igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] 3d plot


From: Steve Lianoglou
Subject: Re: [igraph] 3d plot
Date: Fri, 19 Jun 2009 11:44:50 -0400

Howdy,

On Jun 19, 2009, at 11:40 AM, Tamas Nepusz wrote:

Hi,

i'm playing with the plot method and i don't understand what's the
meaning of the 3d layout algorithms (like fr3d and kk3d). Can i plot
on a PNG?
No, you can't, the plotting methods expect a 2D layout. I wrote a 3D
graph visualiser some time ago in Python using igraph and OpenGL and
these methods were handy to calculate a nice layout, but otherwise
they're quite useless without an external visualisation engine. However,
since the functions are there in the core C library and it cost me
nothing to implement the interface in Python, I did it.

If you are interested, I can try and dig up the code for that old 3D
visualiser of mine and send it to you. It's more like pure eye candy as
it cannot really cope with larger graphs (i.e., more than a couple of
hundred vertices), but you can rotate the graphs around or put it in
auto-rotating mode.


I'm not sure what the OP's exact use case is, but ubigraph might be something to look into:

http://ubietylab.net/ubigraph/

It's not exactly OSS, but still free to use, and the demos look damn cool, and it seems you can drive the graph creation/layout from within Python.

-steve

--
Steve Lianoglou
Graduate Student: Physiology, Biophysics and Systems Biology
Weill Medical College of Cornell University

http://cbio.mskcc.org/~lianos







reply via email to

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