Re-layout (async)

Re-arranging a complex diagram runs as a background job. POST /diagrams/{id}/relayout is billable. It starts the job and returns a job_id. GET /diagrams/{id}/relayout/{job_id} is free. Poll it with the job_id until the job is done.
Poll with a short backoff, for example every 1 to 2 seconds, until status is completed or failed.

Versions

Every edit and fix creates a version, so you can review history and roll back.