layout.underneathVerticalTopOffsetNumber
(default: 15)
Defines the vertical separation between a parent and its first child. This offsets the whole set of children with respect to its parent. This setting is specific to the tipOver tree layout.
Example
<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
shapes: [
{ id: "1", x: 100, y: 100, content: { text: "Parent" } },
{ id: "2", x: 200, y: 150, content: { text: "First Child" } },
{ id: "3", x: 200, y: 200, content: { text: "Second Child" } }
],
connections: [
{ from: "1", to: "2" },
{ from: "1", to: "3" }
],
layout: {
type: "tree",
subtype: "tipOver",
underneathVerticalTopOffset: 40
}
});
</script>
In this article