This project is read-only.


Error when adding "too much" nodes ?


In my graph every node of an level has an edge to every node of the next level. For some reason I always get an error when I try to add another node at the last level. Currently there are 6 nodes at the lowest level and 4 nodes referencing them at the second last level. When I try to add a seventh node at the last level I get the error seen in the attachment.

file attachments

Closed Jul 21, 2011 at 9:31 PM by bog1978
No souch error at this moment


bog1978 wrote Mar 16, 2010 at 11:19 AM

This is due to errors in calculating edge polygon. When polygon becomes selfcrossing this error occures. As temporary solution i catch these exceptions and make sraight lines between edges. I permanently work on this problem, but edge polygon calculation is very complex task and there are many cases.

saxifraga wrote Mar 17, 2010 at 1:44 PM

I already saw your temporary solution. The only issue is that I don't want the edges to connect the CenterPoints - the edges should just connect the borders of each node. Not a big problem, I just adapted this according to my needs. But it would be nice to have those "nice looking" edges again ;) Looking forward for a next version.

bog1978 wrote Mar 17, 2010 at 9:43 PM

Latest version should connect borders insted of centers. I fixed this issue resently.

wrote Jul 21, 2011 at 9:31 PM

wrote Feb 14, 2013 at 12:13 AM

wrote May 16, 2013 at 4:04 AM