I’m using the Angular wrapper, so I have this code :
public ngDoCheck(): void {
if (this.myDiagramComponent && this.myDiagramComponent.diagram instanceof go.Diagram) {
this.myDiagramComponent.diagram.grid.visible = this.showGrid;
this.myDiagramComponent.diagram.isReadOnly = this.isReadOnly;
this.myDiagramComponent.diagram.isModelReadOnly = this.isReadOnly;
}
}
It becomes readonly, except that when I select a node, I can click on the arrow of the adornment. Is this not supposed to become readonly too ?