Sprotty
Toggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

Interface. Computed Bounds Action

sprotty-protocol / ComputedBoundsAction

Interface: ComputedBoundsAction

Defined in: actions.ts:292

Sent from the client to the model source (e.g. a DiagramServer) to transmit the result of bounds computation as a response to a RequestBoundsAction. If the server is responsible for parts of the layout (see needsServerLayout viewer option), it can do so after applying the computed bounds received with this action. Otherwise there is no need to send the computed bounds to the server, so they can be processed locally by the client.

Extends

Properties

alignments?

optional alignments: ElementAndAlignment[]

Defined in: actions.ts:296


bounds

bounds: ElementAndBounds[]

Defined in: actions.ts:294


kind

kind: "computedBounds"

Defined in: actions.ts:293

Overrides

ResponseAction.kind


responseId

responseId: string

Defined in: actions.ts:87

Inherited from

ResponseAction.responseId


revision?

optional revision: number

Defined in: actions.ts:295