I have the AllowDrop constraint enabled and the function is triggered when dragging a symbol from the palette but NOT when dragging & dropping and existing node. Screenshots attached.
$("#Diagram").ejDiagram({
defaultSettings: {
node: {
width: 220,
height: 90,
constraints: ej.datavisualization.Diagram.NodeConstraints.Default | ej.datavisualization.Diagram.NodeConstraints.AllowDrop
},
},
drop: pm.drop,
drag: pm.drag
});
drop: function (args) {
console.log("Drop Function Called");
};
Video: https://www.screencast.com/t/PdpTASX6E
Attachment:
dragdrop_550605a8.zip