Diagram readonly

Hi syncfusion
Is it possible to make diagram from dragging/dropping/selecting at start to readonly dynamically then by condition or click?
Disable node manipulation at all, just user can see the diagram's structure and all?

It would be the pleasure if you could give an example.


3 Replies 1 reply marked as answer

GG Gowtham Gunashekar Syncfusion Team July 31, 2020 04:22 PM UTC

Hi Alex, 
 
We have added the sample link to demonstrate how to make diagram read only at runtime .  
 
 
change: (args) => { 
           // set constraints as None to make diagram read only 
            diagramInstance.constraints = DiagramConstraints.None; 
      }, 
 
 
 
 
Regards,  
Gowtham  
 
 


Marked as answer

AB Alex B August 4, 2020 06:58 AM UTC

Hi

Thanks, that worked.


AR Aravind Ravi Syncfusion Team August 5, 2020 04:10 AM UTC

Hi Alex, 
 
Thanks for the update. 
 
Regards 
Aravind Ravi 


Loader.
Up arrow icon