Floor planner readonly view

https://gojs.net/latest/projects/floorplanner/FloorPlanner.html#
For the floor planner example above, is it possible to have a readonly view? I was hoping for a flag for entire floorplan I could set but I don’t see any easy way of doing it. I want to be able to load the plan from database and only allow certain users to read and not edit it. Or is this something I’ll have to build on my own?

I tried this and it sets all nodes to not movable, which is great but how do I also disable the adornments?
myFloorplan.nodes.each(function (n) { n.movable = false; })

Please read GoJS User Permissions -- Northwoods Software.

You probably want to set Diagram.isReadOnly to true, but it depends on exactly what you want to allow the user to do.

Note that there are no restrictions on what code can do, so you may need to make sure that any user actions implemented in the app are also restricted or disabled. Typically you would need to make sure that that code also considers the same flags, such as Diagram.isReadOnly.

Diagram.isReadOnly is exactly what I was looking for. Thanks for making this easy :)