layout.subtypeString(default: "down")

The subtype further defines the layout type by specifying in greater detail the behaviour expected by the layout algorithm. Possible predefined values are:

  • "down" - tree layout and layered layout specific subtype. In the tree layout the root is arranged at the top and its children downwards. For the layered layout the links are directed downwards. This is the default subtype.

    Kendo UI for jQuery Diagram Tree down parameters

  • "up" - tree layout and layered layout specific subtype. In the tree layout the root is arranged at the bottom and its children upwards. For the layered layout the links are directed upwards.

  • "left" - tree layout layered layout specific subtype. In the tree layout the root is arranged at the left and its children sideways to the right. For the layered layout the links are directed to the left.

  • "right" - tree layout layered layout specific subtype. In the tree layout the root is arranged at the right and its children sideways to the left. For the layered layout the links are directed downwards.

    Kendo UI for jQuery Diagram Tree right parameters

  • "mindmapHorizontal" - tree layout specific subtype. The root sits at the center and its children are spread equally to the left and right.

  • "mindmapVertical" - tree layout specific subtype. The root sits at the center and its children are spread equally above and below.

    Kendo UI for jQuery Diagram Mindmap parameters

  • "radial" - tree layout specific subtype. The root sits at the center and its children are spread radially around.

    Kendo UI for jQuery Diagram Radial tree parameters

Kendo UI for jQuery Diagram Radial layout angles.

  • "tipOver" - tree layout specific subtype. A special version of the tree-down layout where the grand-children (and iteratively) are arranged vertically while the direct children are arranged horizontally. This arrangement has the advantage that it doesn't spread as much as the classic tree-down layout. See below for a concrete example.

    Kendo UI for jQuery Diagram Tip-over parameters

  • "horizontal" - layered layout specific subtype. The preferred direction of the links is horizontal.

  • "vertical" - layered layout specific subtype. The preferred direction of the links is vertical.

In this article
layout.subtype
Not finding the help you need?
Contact Support