connectionsArray
An array of Connections that originate or terminate in this connector.
Example
<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
shapes: [{
id: "1",
content: "Shape 1",
x: 100,
y: 100
}, {
id: "2",
content: "Shape 2",
x: 300,
y: 100
}],
connections: [{
from: "1",
to: "2"
}]
});
var diagram = $("#diagram").data("kendoDiagram");
var shape = diagram.shapes[0];
var connector = shape.connectors[0];
// Get connections associated with this connector
console.log("Connections:", connector.connections);
</script>
In this article