New to Kendo UI for jQueryStart a free 30-day trial

Defines the stroke options of the shape connectors.

<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
    shapes: [{
        id: "1",
        content: {
            text: "Connector Stroke"
        },
        connectorDefaults: {
            stroke: {
                color: "navy",
                width: 2,
                dashType: "dashDot"
            }
        }
    }]
});
</script>

Defines the stroke color.

Default: "Black"

<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
    shapes: [{
        id: "1",
        content: {
            text: "Connector Stroke Color"
        },
        connectorDefaults: {
            stroke: {
                color: "brown"
            }
        }
    }]
});
</script>

The stroke dash type.

<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
    shapes: [{
        id: "1",
        content: {
            text: "Connector Dash Type"
        },
        connectorDefaults: {
            stroke: {
                color: "teal",
                dashType: "longDash"
            }
        }
    }]
});
</script>

Defines the thickness or width of the shape connectors stroke.

Default: 1

<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
    shapes: [{
        id: "1",
        content: {
            text: "Connector Stroke Width"
        },
        connectorDefaults: {
            stroke: {
                color: "maroon",
                width: 3
            }
        }
    }]
});
</script>