New to Kendo UI for jQueryStart a free 30-day trial

Id

configuration

The unique identifier for a Shape.

id

String
<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>
Not finding the help you need?
Contact Support