Set the readOnly property to true to protect the Diagram UI component from edit operations. In this mode, the UI component hides its UI elements: the toolbox, history toolbar, and properties panel.
true
View Demo
Additional comments/thoughts:
If you have any questions, submit a ticket to our Support Center.