This documentation is archived and is not being maintained.

# Pyramid Algorithm

Office 2007

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The pyramid (pyra) algorithm arranges child layout nodes along a vertical path and works with the trapezoid shape to create a pyramid.

## Parameters

Parameter

Values

Description

pyraLvlNode

The layout node name

If the pyramid has a composite child node, specifies the name of the node that is a child of the composite that makes up the pyramid itself. If the node specifies a trapezoid shape, it modifies the adjustment handles to construct a pyramid.

pyraTxBkgdNode

The layout node name

If the pyramid has a composite child node, specifies the name of the node that is a child of the composite that makes up the child flyout shape. If the node specifies the nonIsoscelesTrapezoid AutoShape, it modifies the adjust handles to fit the flyout flush against the side of the pyramid.

pyraAcctBkgndNode

The layout node name

If the pyramid has a composite child node, specifies the child node that should hold the child text.

linDir

• fromT (from top, default)

• fromB (from bottom)

Specifies where the tip of the pyramid starts.

txDir

• fromT (from top, default)

• fromB (from bottom)

Specifies where the text of the first node starts.

pyraAcctPos

• aft (after)

• bef (before, default)

Specifies the placement of the second-level child flyouts.

pyraAcctTxMar

• step (default)

• stack

Specifies the placement of one edge of the child text (second-level child node). If the value is step, the text is against the edge of the pyramid. If the value is stack, the text aligns.

horzAlign

• l (left)

• ctr (center, default)

• r (right)

Aligns all the child nodes in the space reserved for the parent node and adjusts child positions along the x-axis.

vertAlign

• t (top)

• mid (middle, default)

• b (bottom)

Aligns all the child nodes in the space reserved for the parent node and adjusts child positions along the y-axis.

## Constraints

Constraint

Default value

Description

w

100

Specifies the width of the bounding box for a node.

h

100

Specifies the height of the bounding box for a node.

pyraAcctRatio

.33

Specifies the fraction of the width of the diagram that is reserved for the flyouts at their shortest distance.