editable Boolean|Object (default: true)

Defines the shape editable options.

Example - creating non-editable shape

<div id="diagram"></div>
<script>
  var Shape = kendo.dataviz.diagram.Shape;
  $("#diagram").kendoDiagram();
  var diagram = $("#diagram").data("kendoDiagram");

  var shape = new Shape({
    id: 1,
    x: 20,
    y: 20,
    fill: "#c0f0fc",
    editable: false
  });
  diagram.addShape(shape);
</script>
In this article