addEntity(i, h = "") {
    var d;
    return this.entities.has(i) ? !((d = this.entities.get(i)) != null && d.alias) && h && (this.entities.get(i).alias = h, D.info(`Add alias '${h}' to entity '${i}'`)) : (this.entities.set(i, {
      id: `entity-${i}-${this.entities.size}`,
      label: i,
      attributes: [],
      alias: h,
      shape: "erBox",
      look: tt().look ?? "default",
      cssClasses: "default",
      cssStyles: []
    }), D.info("Added new entity :", i)), this.entities.get(i);
  }
Add entity
@param name - The name of the entity
@param alias - The alias of the entity