Interface: CircleLayoutOptions
Options for circular/orbit layout arrangement.
Properties
| Property | Type | Description |
|---|---|---|
animate? | LayoutAnimation | Whether or how to animate elements into circular positions. Can be true or a builder callback (position, el, index) => to(position).duration(0.8). |
center? | ReactiveElementBase | Point | Center anchor point as [x, y] in stage units, or a center element (default: stage center). |
centerElements? | boolean | Whether each element is centered on its orbit point (default: true). |
duration? | number | Fallback duration in seconds if animate: true is used (default: 0.6s). |
flatten? | number | Vertical squash factor, 0 = perfect circle, 1 = flat line (default: 0). |
radius? | number | Orbit radius in stage units (default: 28). |
region? | LayoutRegion | Available space for the default center. Default: full stage. |
span? | number | Angular span in degrees (default: 360 for full circle). |
startAngle? | number | Starting angle in degrees (default: -90 for 12 o'clock top). |