Loadable generators
<x:import> binds an XML namespace to a compiled WASM module, so a document can use elements the compiler knows nothing about — procedural clipart and custom diagram shapes that compose exactly like built-ins.
Writing a generator
The plugin SDK — declare an element's attributes as a Rust struct, implement one trait, and the derived manifest gives every host a property panel it can't get wrong.