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

Graph module crashes PDF export

Posted by Cedric on Aug 05, 2008

Hello. I am preparing a picture for a conference, and for which I use the Graph module. I plan to pubish this figure on a refereed journal as well. But I simply cannot export my figure to PDF.

- Other figures not using the graph module are exported without problems.
- Even the simplest example of graph provided on the Graph page cannot be exported.
- I tried PDF and EPS none of them work.
- Exporting to any other type of image is fine (but is not scale-independant!)
- Using the Print... menu and then Save as PDF... also crashed NodeBox.

Increasing canvas size up to the printer resolution is feasible of course, but requires to make large files for large images. ANd PDF export simply must work. :-)

My conference is in one month, and I would love to show a big poster with this figure...

Any help will be greatly appreciated. Thanks!

The Crash report (MacBookPro 17'', 2.33GHz Macintel, Core 2 duo, 2GB ram, 10.5.4) can be found here (damn MobileMe not responding...):

http://cfoellmi.free.fr/NodeBox_crash.log


 
Posted by Tom De Smedt on Aug 05, 2008

A few other people have had problems with exporting graphs to PDF. The crash is related to the use of dropshadows and gradient background in the graph. Export should work when you disable those:

your_graph.styles.depth = False
your_graph.draw()



Posted by Cedric on Aug 06, 2008

I confirm that depth=True causes the crashes. Too bad, it was nice.