<LAYOUT> : GEOGRAPHIC Places the nodes, the regions and the images according to their coordinates (x, y, z attributes).

Java class : leon.view.LyLayout

ROLE

A layout manager allows placing the nodes of a map according to a predefined layout.
In most cases, the coordinates of the nodes are not used.

ATTRIBUTES

<!ATTLIST LAYOUT
	  style ( CIRCLE | ELLIPSE | MATRIX | LINEAR | GEOGRAPHIC | COORDINATES | TREEMAP) "GEOGRAPHIC"
	  center CDATA #IMPLIED
	  deltaNode NMTOKEN #IMPLIED
	  deltaBorder NMTOKEN #IMPLIED
	  selectBorderSize CDATA #IMPLIED
	  borderSizes CDATA #IMPLIED
	  labelStyles CDATA #IMPLIED
	  hAlign ( LEFT | CENTER | RIGHT) "LEFT"
	  vAlign ( TOP | MIDDLE | BOTTOM) "TOP"
	  fill ( HORIZONTAL | VERTICAL) "HORIZONTAL"
	  javaName CDATA #IMPLIED>
Attribute Mand. Description Default
style no Type of manager. The different types of manager are:
CIRCL Performs a circular distribution of the nodes.
The circle on which the nodes are placed occupies the maximum place available.
ELLIPSE Performs an elliptic distribution of the nodes.
The ellipse on which the nodes are placed occupies the maximum place available.
MATRIX Performs a matrix distribution of the nodes.
The dimension of the matrix (number of columns / number of lines) is proportional to the dimensions of the map (width / height).
LINEAR Performs a linear distribution of the nodes.
They are displayed the one after the others in an horizontal or vertical direction (according to the value of the fill attribute) and with a spacing that depends on the value of the deltaNode attribute .
GEOGRAPHIC
center no Reference to the identifier of the node that is considered as center for the current manager.
This attribute is used only for the managers of CIRCLE and ELLIPSE type.
The referred node is placed in the middle of the ellipse or of the circle on which the other nodes are placed.
 
deltaNode no Spacing between the nodes.
The expected value is a positive integer value representing the space to insert between each node of the map.
This value is used only for the managers of MATRIX and LINEAR type.
-1
deltaBorder no Spacing between the nodes and the edge of the map.
The expected value is a positive integer value representing the minimum space to insert between each node of the map and the edges of this one (top, bottom, left and right edge).
This value is used only for the managers of CIRCLE, ELLIPSE, MATRIX and LINEAR type.
-1
selectBorderSize no Size of the selection border. This value is used only for the managers of TREEMAP type.  
borderSizes no Sizes of the separation borders for the different levels of hierarchy. This value is used only for the managers of TREEMAP type. The different sizes must be separated by spaces.  
labelStyles no Styles of the labels for the different levels of hierarchy. This value is used only for the managers of TREEMAP type. The different types of styles are:
OUTSIDE Label outside the region, centered above the region.
TOPLEFT Label at the upper-left corner of the region.
CENTER Label at the center of the region.
NONE No label.
The different styles must be separated by spaces.
 
hAlign no Horizontal alignment of the elements that are managed by the manager. The possible values are: left aligned (LEFT), right aligned (RIGHT), centered (CENTER). LEFT
vAlign no Vertical alignment of the elements managed by the manager. The possible values are: bottom aligned (BOTTOM), top aligned (TOP), centered (MIDDLE). TOP
fill no Filling direction of the map (either horizontal or vertical). The value of this attribute is used for the managers of LINEAR type. HORIZONTAL
javaName no Name of the java class that manages the layout of the map elements.