Skip to content

@graphty/graphty-element / index / LayoutChangedEvent

Interface: LayoutChangedEvent ​

Defined in: graphty-element/src/events.ts:436

Emitted when a new layout engine has been built and is now the running layout.

Properties ​

layoutType ​

layoutType: string

Defined in: graphty-element/src/events.ts:439

The layout type that is now running, as setLayout was given it.


options ​

options: Record<string, unknown>

Defined in: graphty-element/src/events.ts:441

The options the layout was built with: the caller's, filled in with the layout's defaults.


type ​

type: "layout-changed"

Defined in: graphty-element/src/events.ts:437