connections.dataItemObject

Defines the connection dataItem.

Example - using dataItem with connections

<div id="diagram"></div>
<script>
  $("#diagram").kendoDiagram({
    shapes:[
      { id:"1", content: { text: "Start" }, x: 20, y: 20 },
      { id:"2", content: { text: "End" }, x: 200, y: 20 }
    ],
    connections:[
      {
        from: "1",
        to: "2",
        dataItem: {
          name: "Primary Connection",
          priority: "high",
          type: "workflow"
        },
        content: {
          template: "#= dataItem.name #"
        }
      }
    ]
  });
</script>
In this article
connections.dataItem
Not finding the help you need?
Contact Support