We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Dyanmically loading an Angular component into a node

My requirement is that I've a set of angular components declared against an interface. Each of these components implement a specific UI (say a user control, graph, etc...). Now I want these to become the content of the nodes and the symbol palette. When a user drags and drops one of these custom node from the palette, I want the diagram to realize the control on the diagram.

Is this possible, and if so can you help me with a simple example?

1 Reply

RT Ramya Thirugnanam Syncfusion Team December 20, 2018 08:10 AM

Hi Mohan, 
 
Requirement : Add other angular component as content of the node and drag and drop from symbol palette. 
 
We have created a sample  to represent the requirement. We have used gauge control as content of the Node. 
Please find the sample in below link 
 
 
Regards, 
Ramya T 


Loader.
Live Chat Icon For mobile
Up arrow icon