layout.startRadialAngleNumber(default: 0)

Defines where the circle/arc starts. The positive direction is clockwise and the angle is in degrees. This setting is specific to the radial tree layout.

Example

<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
    shapes: [
        { id: "1", x: 250, y: 250, content: { text: "Root" } },
        { id: "2", x: 150, y: 150, content: { text: "Child 1" } },
        { id: "3", x: 350, y: 150, content: { text: "Child 2" } }
    ],
    connections: [
        { from: "1", to: "2" },
        { from: "1", to: "3" }
    ],
    layout: {
        type: "tree",
        subtype: "radial",
        startRadialAngle: 45
    }
});
</script>
In this article
layout.startRadialAngle
Not finding the help you need?
Contact Support