Restricted Editing Demo
This demos shows how to restrict interactive editing while still using
for its non-editing features like, e.g., click-selecting items.
More precisely, this demo shows how to
- disable all interactive editing operations,
- disable interactive editing operations except for moving items,
- enable all interactive editing operations.
While the above editing schemes are fairly coarse-grained, GraphEditorInputMode actually
provides properties to enable or disable individual editing operations. Please see the
GraphEditorInputMode API documentation for a complete list of
Choose one of the available editing schemes
All interactive editing operations are disabled, i.e., it is not possible to
interactively modify the graph in any way: no node movement, no edge creation, no label
editing, etc. However, clicking on an item will still select the clicked item.
- Moving Items
Interactive editing is disabled except for moving items, i.e., it is possible to move
selected nodes, edges, or bends to new positions.
- All interactive editing operations are enabled.