LayoutDirection

LayoutDirection

Utility class containing constants. Used to set direction of layout.

Values

NameDescription
TOP_TO_BOTTOMPlaces shape from top to bottom. It makes sense only when Flowchart style is chosen.
BOTTOM_TO_TOPPlaces shape from bottom to top. It makes sense only when Flowchart style is chosen.
LEFT_TO_RIGHTPlaces shape from left to right . It makes sense only when Flowchart style is chosen.
RIGHT_TO_LEFTPlaces shape from right to left. It makes sense only when Flowchart style is chosen.
DOWN_THEN_RIGHTPlaces shapes first to the down and then right. It makes sense only when CompactTree style is chosen.
RIGHT_THEN_DOWNPlaces shapes first to the right and then down. It makes sense only when CompactTree style is chosen.
LEFT_THEN_DOWNPlaces shapes first to the left and then down. It makes sense only when CompactTree style is chosen.
DOWN_THEN_LEFTPlaces shapes first to the down and then left. It makes sense only when CompactTree style is chosen.