@eclipse-glsp/graph
Version:
The typescript implementation of the GLSP graphical model (GModel)
17 lines • 682 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.GLayoutingBuilder = exports.isGLayouting = exports.GLayouting = void 0;
exports.GLayouting = Symbol('GLayouting');
function isGLayouting(element) {
return exports.GLayouting in element && element[exports.GLayouting] === true;
}
exports.isGLayouting = isGLayouting;
var GLayoutingBuilder;
(function (GLayoutingBuilder) {
function layout(builder, newLayout) {
builder['proxy'].layout = newLayout;
return builder;
}
GLayoutingBuilder.layout = layout;
})(GLayoutingBuilder || (exports.GLayoutingBuilder = GLayoutingBuilder = {}));
//# sourceMappingURL=glayouting.js.map