shapes.idString
The unique identifier for a Shape. The id value is used to identify shapes in connection configurations. The connection to and from properties usually point to shape id values.
Example
<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
shapes: [
{ id: "shape1", x: 100, y: 100, content: { text: "Shape 1" } },
{ id: "shape2", x: 300, y: 100, content: { text: "Shape 2" } }
],
connections: [{
from: "shape1",
to: "shape2"
}]
});
</script>