Edit this page

connections.points Array

Sets the intermediate points (in global coordinates) of the connection. It's important to note that currently these points cannot be manipulated in the interface.

Example - setting intermediate connection points

<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
    shapes: [{
        id: "1",
        content: {
            text: "Monday"
        }
    }, {
        id: "2",
        content: "Tuesday"
    }],
    connections: [{
        from: "1",
        to: "2",
        points:[new kendo.dataviz.diagram.Point(100,55)]
    }]
});
</script>

connections.points.x Number

Sets the X coordinate of the intermediate point.

connections.points.y Number

Sets the Y coordinate of the intermediate point.

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy