@kieler/klighd-core
Version:
Core KLighD diagram visualization with Sprotty
10 lines • 496 B
TypeScript
import { SModelElementImpl, SModelRootImpl } from 'sprotty';
/**
* Utility function to insert an SModelElement into an existing model.
* The id of the new piece must already be known by the model. That is to
* say, there is already a placeholder element with the same id in the model.
* @param modelRoot
* @param modelElement
*/
export declare function insertSModelElementIntoModel(modelRoot: SModelRootImpl, modelElement: SModelElementImpl): void;
//# sourceMappingURL=smodel-util.d.ts.map