Rogue Wave Views
Graph Layout Package API Reference Guide
Product Documentation:

Rogue Wave Views
Documentation Home
Classes | Enumerations
tree.h File Reference
#include <ilviews/layout/gphlayout.h>

Classes

class  IlvTreeLayout
 The main class for the Tree Layout algorithm. More...
 

Enumerations

Detailed Description

Library: ilvtree
Declaration of tree graph layout classes.

Enumeration Type Documentation

This enumeration defines values used to specify the alignment of nodes.

Enumerator
IlvLayoutEastAlignment 

Nodes are aligned at the east border.

IlvLayoutWestAlignment 

Nodes are aligned at the west border.

IlvLayoutNorthAlignment 

Nodes are aligned at the north border.

IlvLayoutSouthAlignment 

Nodes are aligned at the south border.

IlvLayoutCenterAlignment 

All parent nodes are aligned centered with respect to their children. Nodes are aligned at the center.

IlvLayoutBorderCenterAlignment 

Nodes are centered between the left and right border.

IlvLayoutTipOverAlignment 

Nodes are placed in the tip over style.

IlvLayoutMixedAlignment 

Mixed alignment; each node can have a different alignment.

This enumeration defines values used to specify the tree layout mode.

Enumerator
IlvTreeLayoutFreeMode 

Free layout mode.

All links flow roughly in the flow direction; parents and sibling nodes are aligned according to the specified alignment option, but nodes of different tree branches are not justified to each other.

IlvTreeLayoutLevelMode 

Level layout mode.

All links flow roughly in the flow direction. All nodes are organized in levels and are justified at their borders or center according to the level justification option. Tip over alignment is not possible, all other alignment options are possible.

IlvTreeLayoutRadialMode 

Radial layout mode.

The root node is in the center, the links flow radially away from the center, and the nodes are placed in circular layers around the root node.

IlvTreeLayoutAlternatingRadialMode 

Alternating radial layout mode.

The root node is in the center, the links flow radially away from the center, and the nodes are placed in circular layers around the root node. In order to optimize space, siblings may be placed alternating in two different circular layers.

IlvTreeLayoutTipOverMode 

Fast tip over layout mode.

In this layout mode, the tree layout algorithm tries to optimize the layout automatically to fit best the specified aspect ratio by calculating which individual nodes need tip over alignment and which nodes can use the specified alignment. The layout algorithm uses a fast heuristic.

IlvTreeLayoutTipLeavesOverMode 

Tip over layout mode at leaves.

In this layout mode, the tree layout algorithm tries to optimize the layout automatically to fit best the specified aspect ratio by calculating which individual nodes need tip over alignment and which nodes can use the specified alignment. The layout algorithm uses a heuristic that checks whether leaf nodes should be tipped over.

IlvTreeLayoutTipRootsOverMode 

Tip over layout mode at roots.

In this layout mode, the tree layout algorithm tries to optimize the layout automatically to fit best the specified aspect ratio by calculating which individual nodes need tip over alignment and which nodes can use the specified alignment. The layout algorithm uses a heuristic that checks whether root nodes should be tipped over.

IlvTreeLayoutTipRootsAndLeavesOverMode 

Tip over layout mode at roots and leaves.

In this layout mode, the tree layout algorithm tries to optimize the layout automatically to fit best the specified aspect ratio by calculating which individual nodes need tip over alignment and which nodes can use the specified alignment. The layout algorithm uses a heuristic that checks whether root nodes and leaf nodes should be tipped over.


© Copyright 2016, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.