# Enumeration PackShape

GoJS® Diagramming Components
version 3.0.7
by Northwoods Software®

This is an extension and not part of the main GoJS library. Note that the API for this class may change at any time. If you intend to use an extension in production, you should copy the code to your own source directory. See the Extensions intro page for more information.

This enumeration is used to determine the shape of the PackedLayout. Used for PackedLayout.packShape.

Note: this enumeration is only exists in extensionsJSM, not in extensions.

`since`

3.0

#####
Index

### Enumeration Members

Elliptical
Rectangular
Spiral

## Enumeration Members

### Elliptical

Causes nodes to be packed into an ellipse.

The aspect ratio of this ellipse is determined by either PackedLayout.aspectRatio or PackedLayout.size.

### Rectangular

Causes nodes to be packed into a rectangle.

The aspect ratio of this rectangle is determined by either PackedLayout.aspectRatio or PackedLayout.size.

### Spiral

Causes nodes to be packed into a spiral shape.

The PackedLayout.aspectRatio property is ignored in this case, the PackedLayout.size is expected to be square, and PackedLayout.hasCircularNodes will be assumed 'true'. Please see PackedLayout.packShape for more details.

Copyright © 1998-2024 by Northwoods Software Corporation.