1. NodeBox 1
    1. Homepage
    2. NodeBox 3Node-based app for generative design and data visualization
    3. NodeBox OpenGLHardware-accelerated cross-platform graphics library
    4. NodeBox 1Generate 2D visuals using Python code (Mac OS X only)
  2. Gallery
  3. Documentation
  4. Forum
  5. Blog

circle orgaznized graph with Graph library

Posted by aleray on Apr 30, 2008



Hi everybody,
I would like to create this kind of graph with the Graph Library, but I don't find how to do this. I tried layout="circle" but the nodes are on several circles, and I would like only one. Do you guys have a clue?

Cheers ;-)



Posted by Tom De Smedt on Apr 30, 2008

Please download the latest version of the graph library and check the new documentation near "layout". You'll notice that the documentation now mentions a graph.layout.orbits property which controls the number of circles.

The library also has a number of minor improvements for spring layout and a bug fix for edge lengths.



Posted by aleray on May 01, 2008

Tank you very much it worked! Thank you as well for your wonderful library. Is there by the way to center the typo into the nodes (like in the picture)?
Bye



Posted by Tom De Smedt on May 11, 2008

This is possible in the next update of the Graph library. I'll be releasing it in the coming weeks.



Posted by aleray on May 15, 2008

Thanks !