editableBoolean|Object
(default: true)
A set of settings to configure the Diagram behavior when the user attempts to:
- edit, delete or create shapes and connections.
- drag shapes.
- resize shapes.
- rotate shapes.
Example
<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
editable: false,
shapes: [
{ id: "1", x: 100, y: 100, content: { text: "Shape 1" } },
{ id: "2", x: 300, y: 100, content: { text: "Shape 2" } }
],
connections: [
{ from: "1", to: "2" }
]
});
</script>
In this article