We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexSuggestions & BugsWebsite,  Documentation,  Book Bugs › Strange behavior in the graph layout example
Page Index Toggle Pages: 1
Strange behavior in the graph layout example (Read 754 times)
Strange behavior in the graph layout example
Jan 2nd, 2009, 3:48pm
 
Hello,

First, thank you for the interesting book "Visualizing Data"!
I'm reading the chapter 8: Networks and Graphs, and running the Processing (version 1.0.1) version of the Graph Layout, I get two strange behaviors:

- yellow rectangles are very big (as if they were drawn with a top left corner fixed near to (0,0) point; it works better if I comment the instruction:

rectMode(CORNER) in the Node's draw method

- the whole graph is well layouted, but slides slowly to the bottom right corner of the screen!

Any idea (I checked several times the code)?

Is a way to get all the source code of the book?


Cheers,

Bertrand.
Page Index Toggle Pages: 1