Java Reference
In-Depth Information
Figure 10-3
Alignment using guide
The Grid option is useful for alignment, but it also gives your diagram the
look of having been drawn on graph paper, as shown in Figure 10-4. The Grid
in Front option is turned off in this case. Having the grid over the top of diagram
elements seems an odd choice, but this is the default. The Snap to Shapes option
is useful in aligning elements, in addition to the alignment features of the toolbar
and ruler guide.
Figure 10-4
Diagram grid
Another useful alignment feature of GEF is activated using the Snap to
Shapes feature. In Figure 10-5, we see a “laser line” appear as we move a shape.
Lines appear for the node edges as well as the center line.
The other tabs available when the diagram canvas is selected are Core and
Appearance, as shown in Figure 10-6. The Core tab displays the domain model
information for the selected element. The name of the selected element appears
at the top of the Properties view, adorned by its icon. The Appearance tab pro-
vides font and color options, similar to what's found on the toolbar.
Search WWH ::




Custom Search