UNPKG

@antv/x6

Version:

JavaScript diagramming library that uses SVG and HTML for rendering

18 lines 544 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const graph_1 = require("../../graph"); graph_1.Graph.prototype.createTransformWidget = function (node) { const transform = this.getPlugin('transform'); if (transform) { transform.createWidget(node); } return this; }; graph_1.Graph.prototype.clearTransformWidgets = function () { const transform = this.getPlugin('transform'); if (transform) { transform.clearWidgets(); } return this; }; //# sourceMappingURL=api.js.map