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
close icon

Change DiagramModel at runtime

Hello,

Is it possible to change the DiagramModel at runtime? When I do this it ends in a blank diagram. Do I have to invoke a method on DiagramControl, DiagramView or DiagramModel?

My target is to change the diagram on an event and show new data.

Thanks for help.


1 Reply

JR Jegan R Syncfusion Team October 21, 2010 04:54 AM UTC

Hi Wymann,

Thanks for evaluating Syncfusion products.

Currently changing of DiagramModel at run time is not supported. However, either DiagramModel’s Node and Connection property can be cleared and added with new set Nodes and LineConnectors, or a new instance of DiagramControl can be created and replace the existing one.

Please let us know if there are any concerns.

Regards,
Jegan



Loader.
Live Chat Icon For mobile
Up arrow icon