I faced one issue when I get selected Node or Figure from Canvas according mouse event.
It's working properly before I add new port manually like this.
node.addPort(new draw2d.HybridPort().setName('xxx'), new draw2d.layout.locator.XYRelPortLocator(85.5,0));
Successfully port added but I'm facing this issue after added ports.
If I select this Node, getSelectedNode function returning correct Object for twice.
After that, this returning object which is including "Promise rejected" ports.
I faced one issue when I get selected Node or Figure from Canvas according mouse event. It's working properly before I add new port manually like this.
node.addPort(new draw2d.HybridPort().setName('xxx'), new draw2d.layout.locator.XYRelPortLocator(85.5,0));
Successfully port added but I'm facing this issue after added ports. If I select this Node, getSelectedNode function returning correct Object for twice. After that, this returning object which is including "Promise rejected" ports.
Hope your kind help. Thanks