| Developing with the SDK > Using and Adding Renderers > Predefined Renderers > The LabelLayout Renderer |
The LabelLayout Renderer |
INDEX
PREVIOUS
NEXT
|
The LabelLayout renderer performs a label layout algorithm. It is useful when the graphic objects that represent the data model have labels and you want to minimize the overlap of these labels with other labels or other graphic objects. The algorithm will try to move the labels around their original position (for node labels) or along their link (for link labels) to minimize the overlaps.
The LabelLayout renderer uses the classes of the package ilog.views.graphlayout.labellayout, available since ILOG JViews 5.0. The label layout algorithm applied is the "simulated annealing" algorithm.
Table 4.17 lists the properties of the LabelLayout renderer.
The LabelLayout renderer does not have any per-object rendering properties.
You can set any property of the ilog.views.sdm.IlvAnnealingLabelLayout object used by this renderer. For details see Setting Properties of IlvGraphLayout Objects.
See the class ilog.views.sdm.renderer.graphlayout.IlvLabelLayoutRenderer for more details.
| Copyright © 1987-2007 ILOG S.A. All rights reserved. Documentation homepage. Legal terms. | PREVIOUS NEXT |