Hi Jim
Thanks for using Syncfusion products.
Please note that you can find the parent node using the nodes “
parent” property and we suggest you to use
drag event to achieve your requirement.
Please refer the code snippet below.
Code snippet:
DiagramContent.OnClientDrag = "drag";
function drag(args) {
var diagram = $("#diagram").ejDiagram("instance");
//args.element has the current node(Ex:rectanglenode)
var node = args.element;
if (node && args.elementType === "node") {
//returns the parent element(lane)
var parent = diagram.findNode(args.element.parent);
}
}
Please let me know if any concerns.
Regards,
Shyam G