Edit this page

connectionDefaults.fromConnector String (default: "Auto")

Specifies the name of the source shape connector that should be used by default. Valid values are "top", "right", "bottom", "left" and "auto".

Example - making all connections originate from the bottom shape connector

<div id="diagram"></div>
<script>
  $("#diagram").kendoDiagram({
    shapes:[
      {
        id:"1",
        content:{
          text: "State 1"
        },
        x: 20,
        y: 20
      },
      {
        id:"2",
        content: {
          text: "State 2"
        },
        x: 200,
        y: 20
      },
      {
        id:"3",
        content: {
          text: "State 3"
        },
        x: 380,
        y: 20
      }
    ],
    connections:[
      {
        from: "1",
        to: "2"
      },
      {
        from: "2",
        to: "3"
      }
    ],
    connectionDefaults: {
      fromConnector: "bottom"
    }
  });
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy