@kieler/klighd-core
Version:
Core KLighD diagram visualization with Sprotty
26 lines • 930 B
JavaScript
;
/*
* KIELER - Kiel Integrated Environment for Layout Eclipse RichClient
*
* http://rtsys.informatik.uni-kiel.de/kieler
*
* Copyright 2021-2022 by
* + Kiel University
* + Department of Computer Science
* + Real-Time and Embedded Systems Group
*
* This code is provided under the terms of the Eclipse Public License 2.0 (EPL-2.0).
*/
Object.defineProperty(exports, "__esModule", { value: true });
const inversify_1 = require("inversify");
const sprotty_1 = require("sprotty");
const actions_1 = require("./actions");
/**
* Dependency injection module that adds functionality to insert diagram pieces
* into the stored model.
*/
const diagramPieceModule = new inversify_1.ContainerModule((bind, _unbind, isBound) => {
(0, sprotty_1.configureCommand)({ bind, isBound }, actions_1.SetDiagramPieceCommand);
});
exports.default = diagramPieceModule;
//# sourceMappingURL=diagram-pieces-module.js.map