Enumeration PanelType

GoJS® Diagramming Components
version 3.0.0a2
by Northwoods Software®

This enumeration specifies possible values for setting Panel.type, either via the setter or the Panel constructor.

since

3.0

Index

Enumeration Members

Used to size the main element to fit around other elements in the Panel -- this creates borders. The main element is the first GraphObject with GraphObject.isPanelMain set to true, or else the first GraphObject if none have that property set to true.

Used to draw regular tick marks and labels along some shape. The main element is the first GraphObject with GraphObject.isPanelMain set to true, or else the first GraphObject if none have that property set to true.

Used to draw regular patterns of lines.

Used to arrange elements horizontally with their GraphObject.alignment property dictating their alignment on the Y-axis.

Used for Links and adornments that act as Links.

Used to arrange elements according to their absolute GraphObject.position within the Panel's local coordinate system.

Used to arrange elements based on the Spot properties GraphObject.alignment and GraphObject.alignmentFocus, relative to a main element of the panel. The main element is the first GraphObject with GraphObject.isPanelMain set to true, or else the first GraphObject if none have that property set to true.

Used to arrange elements into rows and columns, typically employing the different elements' GraphObject.row, GraphObject.rowSpan, GraphObject.column, and GraphObject.columnSpan properties. This Panel type also makes use of RowColumnDefinition.

Only used immediately within a Table Panel to organize a collection of elements as a column in a table. Ignores its angle and scale, and does not have a meaningful size on its own, it is only an organizational container for other elements of a Panel.

Only used immediately within a Table Panel to organize a collection of elements as a row in a table. Ignores its angle and scale, and does not have a meaningful size on its own, it is only an organizational container for other elements of a Panel.

Used to arrange elements vertically with their GraphObject.alignment property dictating their alignment on the X-axis.

Used to automatically resize a single element to fit inside the panel's available area depending on the panel's Panel.viewboxStretch property.