Ir al contenido

LayoutOptions

Defined in: layout/Layout.ts:9

Options for layout configuration.

optional center?: boolean

Defined in: layout/Layout.ts:17

Whether to center the layout. Default: true


optional direction?: "horizontal" | "vertical"

Defined in: layout/Layout.ts:15

Whether to arrange in a specific direction. Default: ‘vertical’


optional padding?: number

Defined in: layout/Layout.ts:13

Border padding. Default: 20


optional spacing?: number

Defined in: layout/Layout.ts:11

Spacing between nodes. Default: 50