Skip to main content

setComponentPosition

form schema

Set the pixel position of a component on the visual canvas.

setComponentPosition(
organizationId: ID!
id: ID!
input: SetComponentPositionInput!
): ComponentPayload

Form Schema​

This mutation supports dynamic form generation using JSON Schema.

Loading schema...

Arguments​

setComponentPosition.organizationId ● ID! non-null scalar {#organization-id}​

Your organization's unique identifier.

setComponentPosition.id ● ID! non-null scalar {#id}​

The component ID to reposition (e.g., myproj-database).

setComponentPosition.input ● SetComponentPositionInput! non-null input {#input}​

Set the position of a component on the canvas.

Type​

ComponentPayload object​