shapes.selectableBoolean(default: true)
Specifies if the shape can be selected.
Example - disabling selection for a specific shape
<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
shapes: [{
id: "1",
x: 100,
y: 100,
content: { text: "Not Selectable" },
selectable: false
}, {
id: "2",
x: 300,
y: 100,
content: { text: "Selectable" }
}],
connections: [{
from: "1",
to: "2"
}],
connectionDefaults: {
endCap: "ArrowEnd"
}
});
</script>