type String

Specifies the connection type. The supported values are "polyline" and "cascading".

Example - configuring the type

<div id="diagram"></div>
  var Shape = kendo.dataviz.diagram.Shape;
  var diagram = $("#diagram").data("kendoDiagram");
  var shape1 = diagram.addShape( new Shape({x:100, y: 250}));
  var shape2 = diagram.addShape( new Shape({x:300, y: 50}));

  var connection = new kendo.dataviz.diagram.Connection(shape1, shape2, {
    fromConnector: "top",
    toConnector: "bottom",
    type: "cascading",
    selectable: false

In this article
Not finding the help you need? Improve this article