¶UI Overview
This page covers all the information about Shift's interface and interactions with it.
¶The Shift Window
¶Menu Bar
At the very top of the application we find Shift's menu bar. This menu has all the actions that can be done in Shift. Most of them have short-cut associated.
Action | Menu | Description | Short-Cut |
---|---|---|---|
New Workflow | File | Opens a new empty board. | Ctrl+N |
Open Workflow | File | Opens a file browser to open an existing workflow. | Ctrl+O |
Open Recent | File | Lists the most recent workflows to open. | |
Save Workflow | File | Saves the current workflow. | Ctrl+S |
Save Workflow As | File | Saves the current workflow with a new name. | Ctrl+Shift+S |
Catalog Manager | File | Opens the Catalog Manager. | P |
Undo | Edit | Undoes the last action performed on the board. | Ctrl+Z |
Redo | Edit | Redoes the last undo performed on the board. | Ctrl+Y |
Add New Node | Edit | Prompts the "Create Node" dialog. | Ctrl+A |
Duplicate | Edit | Duplicates the selected items. | Ctrl+D |
Copy | Edit | Copies the selected items to the clipboard. | Ctrl+C |
Paste | Edit | Pastes the items copied on the clipboard. | Ctrl+V |
Cut | Edit | Copies and removes the selected items to the clipboard. | Ctrl+X |
Remove | Edit | Removes the selected items from the board. | Del |
Add Note | Edit | Adds a new note to the board. | N |
Add Plug | Edit | If a node is selected, prompts the "Add Plug" dialog. | Ctrl+P |
Execute All | Execute | Executes all the nodes in the workflow. | Ctrl+Return |
Execute Selected | Execute | Executes the selected nodes in the workflow. | Shift+Return |
Execute Next | Execute | Executes the next node in the workflow. | > |
Clear Execution | Execute | Clears the executed status from all the nodes in the workflow. | < |
Stop On Error | Execute | Defines if the workflow execution should stop when encountering an error or not. | |
Frame All | View | Frames all the nodes present in the board. | A |
Frame Selected | View | Frames the selected nodes. | F |
Frame Errors | View | Frames all nodes that have errored. | E |
Focus Execution | View | Defines if the board should focus on the current executing node or not. | |
Log Level | View | Defines the Logger's message log level. | |
About Shift | Help | Opens an informative window about Shift. |
Additional menus from the ones listed are plugin menus, which allow to extend Shift's functionalities and utility widgets. Please, refer to the Plugins page for more information.
¶Toolbar
The toolbar consists of a list of buttons with the most used and relevant actions for Shift.
These are, from left to right:
- "New Workflow" - Used to start creating a new workflow from scratch
- "Open Workflow" - Used to open an existing workflow file
- "Save" - Used to save the current workflow file
- "Execute" - Used to execute all nodes in the current workflow
- "Execute Selected" - Used to execute the workflow up to the currently selected operator
- "Execute Next Operator" - Used to execute the next operator in the graph
- "Clear Execution" - Used to refresh the workflow execution status
- "Toggle Live Execution" - Used to toggle the live execution of the workflow
¶Board
The Shift board is the main workspace for creating the workflow graph. On the board it is possible to create and interact with nodes, link them, and navigate the graph.
The following controls are available for the board:
Action | Short-Cut |
---|---|
Pan | Alt + Left-Click and Drag or Middle-Click and Drag |
Zoom | Alt + Right-Click and Drag or Mouse Wheel |
Focus on Selected | F |
Select | Left-Click |
Add to Selection | Shift + Left-Click |
Create Node | Double Left-Click or Tab |
Delete Selected | Del |
Rectangular Selection | Left-Click and Drag |
Several Shift boards can be opened to work on different tasks at the same time; each will be displayed as a separate tab.
¶Dockable Widgets
All other widgets in the Shift Window are utility widgets used to interact with the workflow and the application. These widgets are dockable widgets, which means that they can be resized and rearranged throughout the Shift window to satisfy personal layout tastes. New dockable widgets can also be added through plugins; these additional widgets can be added and removed from the UI when needed.
Shift standalone comes with three native and indispensable widgets:
¶The Inspector
The inspector is used to display and modify the properties of the selected nodes in the workflow. It is divided into four sections (from top to bottom):
- The node's unique name.
- The parameters group: It contains the node's name, which can be modified to change the name of the node.
- The node's inputs: List of node inputs and its corresponding values. Input values can be modified here as long as they are not connected to another plug; if this is the case, the corresponding widget will be disabled and greyed out.
- The node's outputs: List of node outputs and its corresponding values.
By right-clicking on the plug widgets in the inspector, more actions can be performed, such as copying the plug value to the clipboard or opening a dialog to show more details.
¶The Logger
The logger displays all the log messages generated while working on Shift. This covers everything from node errors and warnings, setup information, missing configurations to extraordinary exceptions raised by Shift. Log messages can be removed by clicking Clear
on the bottom right corner of the widget.
More information about the logger and custom configuration can be found here.
¶The Nodes List
The nodes list displays all the available nodes ordered alphabetically. This list can be filtered by name or by catalog to facilitate looking for the desired operator. By double-clicking on the operator's name, the corresponding node will be created in the Shift board.