Setting the size of a GoBasicNode


How do I set the size of a GoBasicNode?
Ive tried setting it on the shape on the label and on the Node.
Any Ideas?
Using Visual Studio 2010, .Net 4.0

Look for property MiddleLabelMargin to increase the size of the shape around the label.

What I am trying to do is make the boxes on the diagram a standardized size. Will setting this margin allow me to do that? The Text size in the boxes will be variable cause im pullin it from a databse. Should I be using a different type of Node?


Oh, ok… different strategy then. Set AutoResizes to False, and set the Shape.Size to the size you want.

The API Ref says:

When AutoResizes is false, the Label is sized to

fit inside the bounds of the Shape, minus the margins.

The label is automatically wrapped and clipped.

Cool Thanks!