Enhancement
Major
Detail
Major
Detail
Enhancement
One would like to be able to execute a command (e.g. open a dialog) on a displayed node with a double click or open a context menu for a node with a right click.
Code migration
- The nodeSelection configuration option in tl:GraphComponent for creating a selection channel has been removed (see r311254). Instead, tl:GraphComponent now extends tl:Selectable. Instead of nodeSelection, selection can now be used to configure the source of the component selection.
- The API setSelectedGraphParts and getSelectedGraphParts generalized by moving them from tl:DiagramJSGraphModel to tl:GraphModel. As a result, the API's setNodeSelected and getSelectedNodes were removed from tl:GraphModel.
Test
Start Graph Demo. Double click on a node should display a message in tl:InfoService, right click opens context menu with commands of detailed views. When creating new edges, a priority can be set, which ensures that the edges get a different dynamic style. For example, a high priority colors the edge red.
TestCreateGraph.script.xml