draw2d
draw2d copied to clipboard
Properties of Locators are not serialized or cloned
Proposed fix in draw2d.layout.locator.Locator: clone: function () { let clone = eval("new " + this.NAME + "();") clone.attr(this.attr()) // also clone properties return clone } (will not work if the legacy constructor of XYRelPortLocator is used, but let's stay pragmatic)