fromXNumber

The absolute point (X-coordinate), if any, that the connection is originating from.

Example

<div id="diagram"></div>
<script>
  $("#diagram").kendoDiagram();
  var diagram = $("#diagram").data("kendoDiagram");

  var connection = new kendo.dataviz.diagram.Connection({
    fromX: 100,
    fromY: 150,
    toX: 300,
    toY: 200,
    selectable: false
  });

  diagram.addConnection(connection);
</script>
In this article
fromX
Not finding the help you need?
Contact Support