Balloon layout mode is similar to radial
layout mode with the following differences:
- Radial layout mode arranges all nodes in circles around the root node; balloon layout mode arranges child nodes in circles around the parent node.
- In radial layout mode, there is only one circle center for the entire tree; in balloon layout mode, each subtree has a different circle center.
In balloon layout mode, each subtree forms a
balloon. The following figure shows examples of balloon layout
mode.
To set balloon layout mode:
In CSS
Specify in the
GraphLayout
section:
layoutMode: "BALLOON";
In Java
In Java™ , call:
layout.setLayoutMode(IlvTreeLayout.BALLOON);