connectionDefaults.stroke Object
Defines the connection line configuration.
Example - customizing the connections stroke (line)
<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: {
stroke: {
color: "blue",
width: 3
}
}
});
</script>
connectionDefaults.stroke.color String
Defines the stroke or line color of the connection.
connectionDefaults.stroke.width Number
Defines the stroke width of the connection.