shapeDefaults.selectable Boolean
(default: true)
Specifies if Diagram shapes can be selected.
Example - disabling selection for Diagram shapes
<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
layout: "layered",
shapeDefaults: {
selectable: false
},
shapes: [{
id: "1",
content: {
text: "Monday"
}
}, {
id: "2",
content: {
text: "Tuesday"
}
}, {
id: "3",
content: {
text: "Wednesday"
}
}],
connections: [{
from: "1",
to: "2"
},{
from: "2",
to: "3"
}],
connectionDefaults: {
endCap: "ArrowEnd"
}
});
</script>