As diagram-js v12 introduce a new ‘model’ package, can you explain how to use the factory functions exposed by this model package to create Model elements ?
What changes are needed to migrate from v11 to v12?
Create functions are still encapsulate in ElementFactory, so no change to do expect using isRoot, isLabel and isConnection from ModelUtil instead of ‘element instanceof Root’ for example.