id String
The unique identifier for a Shape.
Example - creating a shape with id
<div id="diagram"></div>
<script>
var Shape = kendo.dataviz.diagram.Shape;
$("#diagram").kendoDiagram();
var diagram = $("#diagram").data("kendoDiagram");
var shape = new Shape({
id: 1
});
diagram.addShape(shape);
</script>