This project is read-only.


Grid Drawn incorrectly.


When you set the diagram size (paging disabled) to something less that the actual size of the form (diagram docked to fill form) the grid is still drawn covering the entire surface area and you are still able to set the position of a shape outside the bounds of the actual size of the diagram.
For example, if you set a diagram to 200 by 200, the grid will actually be drawn to say 500 by 500 and i can set the position of a shape to Left 240, Top 450 :)
I was assuming that any area of the diagram that is not within the diagram size would be drawn in a different color, such as dark grey or something.
I have had a look into resolving this myself, but the actual grid drawing routing , specifically the sizes are nested quite deeply :( and am worried i will break overall compatability with any future updates you might release.
Cheers mate.


JamesWestgate wrote May 1, 2010 at 12:53 PM

Hi Scott. This is by design. If you enable Paging mode (which is now fixed) you get the border drawn around the diagram - otherwise the diagram expands to fill the control.

wrote May 1, 2010 at 1:02 PM

xavi8808 wrote Jan 3, 2012 at 2:30 PM

Hi James,When you allow the diagram to fill the control by
disabling paging i.e diagram1.paging=false
and I set the Model's size to say 1000 by 1000 i realized that in some region on the right side of the screen you can not Drag an Element in that region. Is there a way I can fix that?

wrote Feb 14, 2013 at 8:33 PM

wrote May 16, 2013 at 10:39 AM

wrote May 16, 2013 at 10:39 AM

wrote Jun 14, 2013 at 8:13 AM