ChangeElementModelProps Interface @beta

Options for changeElementModel. Changes the model of a root element (one with no parent), making it a root element in the new model. The element's entire subtree moves with it, preserving the parent-child hierarchy.

See changeElementModel for the allowed and blocked cases.

Properties

Name Type Description
id string The Id of the element to move.  
modelId string The Id of the target model.  

Defined in

Last Updated: 04 July, 2026