layout.verticalSeparationNumber(default: 50)

Either the distance between levels if the tree is up/down or between siblings if the tree is left/right. This property is not used in tipOver tree layout but rather replaced with three additional ones - underneathVerticalTopOffset, underneathVerticalSeparation and underneathHorizontalOffset

Example

<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
    shapes: [
        { id: "1", x: 100, y: 100, content: { text: "Root" } },
        { id: "2", x: 100, y: 200, content: { text: "Level 1" } },
        { id: "3", x: 100, y: 300, content: { text: "Level 2" } }
    ],
    connections: [
        { from: "1", to: "2" },
        { from: "2", to: "3" }
    ],
    layout: {
        type: "tree",
        subtype: "down",
        verticalSeparation: 80
    }
});
</script>
In this article
layout.verticalSeparation
Not finding the help you need?
Contact Support