subGraph expansion while dgr.isReadOnly=true

Hello, is it possible to expand or collapse a group in diagram readOnly mode?

In our App we have a view mode for users who are not allowed to model the diagram. But they would like to collapse/expand groups.

Did you disallow users from modifying your diagram by setting Diagram.isReadOnly to true?

Perhaps instead you want to set Model.isReadOnly to true. That will allow expanding/collapsing groups and trees while preventing the user from deleting or inserting new nodes or links. However it will not prevent changes to the model via TwoWay Bindings or programmatic changes.

For finer-grained control over what the user may do, please read GoJS User Permissions -- Northwoods Software