Wednesday, October 3, 2012

No duplicate lines for adjacent rectangles

Until now, if we drew two adjacent rectangles, we had a total of 8 lines. Today I made a change so that if we're drawing a line between the same two points, the existing line is returned instead and we have only 7 lines:



This helps when we have a complicated drawing and instead of two lines for the same points we have only one node.

No comments: