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

Defines the rotation of the shape.

Default: null

<div id="diagram"></div>
<script>
  $("#diagram").kendoDiagram({
    layout: "layered",
    shapeDefaults: {
      rotation: {
        angle: 25
      }
    },
    shapes: [{
      id: "1",
      content: {
        text: "Monday"
      }
    }, {
      id: "2",
      content: {
        text: "Tuesday"
      }
    }, {
      id: "3",
      content: {
        text: "Wednesday"
      }
    }],
    connections: [{
      from: "1",
      to: "2"
    },{
      from: "2",
      to: "3"
    }],
    connectionDefaults: {
      endCap: "ArrowEnd"
    }
  });
</script>

Sets the rotational angle of the shape.

Default: 0

<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
    shapeDefaults: {
        rotation: {
            angle: 45
        }
    },
    shapes: [{
        id: "1",
        content: { text: "Rotated 45°" },
        x: 100,
        y: 20
    }]
});
</script>