Latest committed revision reported by the engine.
Whether the engine crashed (create a new one and reload the document).
Whether dispose was called.
Solve status and diagnostics of the whole document (nothing changes).
Apply commands atomically. Rejects with solve diagnostics when hard rules fail.
Optionalopts: CallOptionsTest hook: crash the engine instance on purpose (verifies crash handling).
Afterwards every call rejects with crashed; create a new engine.
Stop the engine and release its resources. Pending requests reject.
The document as JSON (a derived copy; edit through transactions).
Move the drag. Resolves to null when a newer position superseded this one
(only the newest position is solved).
Commit (one history entry) or cancel the drag.
Undo/redo availability.
Import ASCII DXF as one undoable transaction.
Import SVG as one undoable transaction.
Open a .dotl file. The caller's bytes are copied to the engine, never
transferred: the array stays usable afterwards.
Engine WebAssembly memory in bytes. Linear memory never shrinks, so this is the high-water mark (e.g. the peak memory of opening a file).
Start an empty document.
Registered plugin types.
Register plugin entity types (data definitions evaluated in Rust).
Request a full scene (delivered through the scene event).
Reserve IDs for entities/constraints created in one transaction.
Save as .dotl bytes; view is stored as view state (not geometry).
Optionalview: unknownEnable or disable a plugin type.
Unregister a plugin type (its entities become read-only; data is kept).
Hard rules violated by the stored values (independent check).
StaticcreateCreate and initialize an engine. In browsers the engine runs in a Web Worker.
Versions and capabilities reported at initialization.