I want to add multi selection node with command CTRL+click, How to enable this feature ?
Can anyone help me, this is the code that i use. Thanks a lot
<script>
var /** yfiles.input.GraphEditorInputMode */
mode = new yfiles.input.GraphEditorInputMode();
mode.availableCommands.clear();
mode.availableCommands.add(yfiles.input.GraphCommands.TOGGLE_ITEM_SELECTION_COMMAND);
mode.availableCommands.add(yfiles.system.ApplicationCommands.SELECT_ALL);
mode.createNavigationInputMode();
mode.navigationInputMode.availableCommands.clear();
mode.navigationInputMode.availableCommands.add(yfiles.system.ComponentCommands.EXTEND_SELECTION_LEFT);
mode.navigationInputMode.availableCommands.add(yfiles.system.ComponentCommands.EXTEND_SELECTION_RIGHT);
mode.navigationInputMode.availableCommands.add(yfiles.system.ComponentCommands.EXTEND_SELECTION_UP);
mode.navigationInputMode.availableCommands.add(yfiles.system.ComponentCommands.EXTEND_SELECTION_DOWN);
mode.navigationInputMode.availableCommands.add(yfiles.system.ComponentCommands.SELECT_TO_PAGE_UP);
mode.navigationInputMode.availableCommands.add(yfiles.system.ComponentCommands.SELECT_TO_PAGE_DOWN);
</script>