How to fetch parent node details in diagram using syncfusion?

I’m working with diagram features at the moment. We need to put shapes inside other shapes to meet our requirements. So, when we drag and drop a shape into another shape, we need to access the parent shape node’s data. I spent a few hours working on this, but I was unable to find a satisfactory answer. Could you please assist me in resolving this issue?

When I drop the object on the diagram, I use "nodeondrop & nodecollectionchanged." While changing the size of the Rectangle, use "nodeSizeChanging." When an action is triggered, the super node or child node details are not displayed.

So how to get details of parent and child shape while trigger any event?

Rectangle Shapes

Source: JavaSript – Stack Overflow

November 26, 2021
Category : News
Tags: | diagram | ej2-syncfusion | javascript | syncfusion

Leave a Reply

Your email address will not be published. Required fields are marked *

Sitemap | Terms | Privacy | Cookies | Advertising

Senior Software Developer

Creator of @LzoMedia I am a backend software developer based in London who likes beautiful code and has an adherence to standards & love's open-source.