Hi Luis,
To achieve your requirement, please use
dragState arguments in the
drag event which
returns the state of drag event (Starting, dragging, completed). please refer to the code example and online UG documentation link below.
Code example:
$("#diagram").ejDiagram({
//define drag event
drag: drag,
});
function drag(args) {
//set an dragState as completed to get the node's last position
if (args.dragState === "completed") {
alert("node dragging completed")
}
}
UG documentation link:http://help.syncfusion.com/js/api/ejdiagram#events:drag
Regards,
Shyam G