connectionDefaults.startCapString|Object

The connection start cap configuration or type name.

Example - configuring the connection start cap

<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
      }
    ],
    connections:[
      {
        from: "1",
        to: "2"
      }
    ],
    connectionDefaults: {
      startCap: {
        type: "FilledCircle",
        fill: {
          color: "yellow"
        },
        stroke: {
          color: "blue",
          width: 3
        }
      }
    }
  });
</script>

connectionDefaults.startCap.fillString|Object

The connection start cap fill options or color.

connectionDefaults.startCap.fill.colorString(default: "black")

The connection start cap fill color.

connectionDefaults.startCap.fill.opacity

The connection start cap fill opacity.

connectionDefaults.startCap.strokeString|Object

The connection start cap stroke options or color.

connectionDefaults.startCap.stroke.colorString

The connection start cap stroke color.

connectionDefaults.startCap.stroke.dashTypeString

The connection start cap stroke dash type.

The following dash types are supported:

  • "dash" - A line that consists of dashes
  • "dashDot" - A line that consists of a repeating pattern of dash-dot
  • "dot" - A line that consists of dots
  • "longDash" - A line that consists of a repeating pattern of long-dash
  • "longDashDot" - A line that consists of a repeating pattern of long-dash-dot
  • "longDashDotDot" - A line that consists of a repeating pattern of long-dash-dot-dot
  • "solid" - A solid line

connectionDefaults.startCap.stroke.widthNumber

The connection start cap stroke width.

connectionDefaults.startCap.typeString(default: "none")

The connection start cap type.

The supported values are:

  • "none": no cap
  • "ArrowStart": a filled arrow
  • "FilledCircle": a filled circle