View-only mode?
See original GitHub issueHi folks, thanks for the great tool!
I’m trying to wrap react-diagrams
into a react component that would take some list of nodes and links between them and (maybe) auto-position them.
The thing is DiagramWidget
is stateful and events are emitted just to notify on the change.
Is there (planned?) a way to disable some user interactions like removing the node or a link?
The only way to do it that I see now is to just re-create the engine, model, etc. and re-render the new DiagramWidget.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Google Tag Manager in View Only Mode? Here's the fix
The reason why you are not seeing the Preview and Submit buttons is that you are in View Only Mode. It means that...
Read more >View Only Mode - Lighting Analysts
The View Only Mode can be toggled on and off in a licensed version of AGi32 from the Tools menu, View Only Mode...
Read more >Teams view-only meeting experience - Microsoft Learn
View-only attendees will have a single video experience. They can see either the active speaker or the content being shared, but not both....
Read more >How can I change my google slides into view only mode?!!
Click on Advanced. Select the appropriate option and change access to Can View. Hope this screenshot helps. Original Poster ...
Read more >View only mode for some users - TeamViewer Community
Most of the users must not have a remote input (View only mode). But certain users (admin) must be able to do remote...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I implemented this at a core level now on all models.
You can lock any models by calling setLocked(true). It also uses a hierarchal system (see below)
In addition, you can lock the canvas translations and zooming using new properties on the DiagramWidget
WOW! That was fast! Thank you! 👍