import { create as v } from "../model/index.mjs";
import { assign as q } from "../../../min-dash/dist/index.esm.mjs";
function o() {
  this._uid = 12;
}
o.prototype.createRoot = function(e) {
  return this.create("root", e);
};
o.prototype.createLabel = function(e) {
  return this.create("label", e);
};
o.prototype.createShape = function(e) {
  return this.create("shape", e);
};
o.prototype.createConnection = function(e) {
  return this.create("connection", e);
};
o.prototype.create = function(e, t) {
  return t = q({}, t || {}), t.id || (t.id = e + "_" + this._uid++), v(e, t);
};
export {
  o as default
};
