The IBM® ILOG® Dojo Diagrammer
includes a complete set of features to edit diagrams.
Editing means modifying the elements that compose a graph.
The editing process is separate from visualization. Many users want
to visualize the content only, so the inclusion of editing features
on a visualization scenario might cause unnecessary processing time.
The DiagramEditor class is an extension of the Diagram widget. It contains editing
features that can be customized. All the related classes are organized
to form an optional editing software layer that can be dropped if
not needed. It reduces loading time and improves the general performance
in visualization scenarios.
The Diagram Editor provides the following features:
- Adorners: editing through interaction with handles that are overlaid on the affected entities.
- Moving: moving nodes, links, and subgraphs.
- Drag and drop: creating graph elements by dropping representative shapes from outside the widget.
- Copy and paste: copying and pasting of sections of the graph.
- Inline Edit: double-clicking a text in the graph elements to edit it.
- Undo mManagement: undoing and redoing operations.
Once created, the DiagramEditor can be configured statically from markup and class
members and functions.
Because the DiagramEditor inherits all the markup attributes of the Diagram widget, no additional configuration
is required.
The instances of
ibm_ilog.diagram.widget.Diagram
that
are currently running can be easily replaced with instances of ibm_ilog.diagram.editor.DiagramEditor
without
further changes.