Grid Layout

Grid layout accepts a number of a columns, and then a comma separated list of entities. The entities will be placed in a grid with the given number of columns, in the order that they appear in the list.

If you put the symbol * (asterisk) instead of an entity name, that grid cell will be skipped.

Image ums_class1

Image ums_class1_code

You can also declare packages with the GridLayout (regardless of the type of diagram). After the layout arguments, specify one or more packages in the form:

pkg:Package Name:x:y:width:height
x, y, width and height are all expressed in terms of cells in the grid. x and y are zero based with 0,0 being the top left cell of the grid.

Image ums_classpkg1

Image ums_classpkg1_code



http://www.rawsontetley.org