Skip to content

event.layout

event.layout — Events > Event object > Payload and state. Cytoscape.js signatures, parameters and return contract.

event.layout — Events › Event object › Payload and state

Preview · Events › Event object › Payload and state

Read in the complete API reference · All API members

// the layout instance, on the layout lifecycle events
event.layout: unknown

the layout instance, on the layout lifecycle events

Returns unknown

Example

console.log(event.layout); // undefined

Example graph and handle setup