The Composable Designer is where users can compose, or author, their DataFlow Applications. The Composable Designer consists of a rich, modern and web-based user interface design tool for flow-based programming. This design tool is where users in Composable can compose, or author, their DataFlow Applications.
To create a new DataFlow, click on DataFlow or select DataFlow > Create New from the side menu.
The Composable Designer user interface is made up of five primary areas: the canvas, the module library, the toolbar, the properties panel, and the output and progress panel.
The canvas area is the main working area for the Composable Designer, where modules are placed and connected to form full DataFlow Applications. Once Modules are placed on the canvas, they can be moved around, resized, and connected with other modules. While the execution order of the modules are determined by the underlying graph structure of the DataFlow, it is recommeded to take a left-to-right or top-to-bottom layout for optimal human-readability.
The canvas is dynamic and large enough for even the most complex DataFlows, but if you find that you need more room, consider encapsulating your DataFlows.
The Module Library is available on the left side of the canvas, and lists all of the available Composable Modules. Users can explore the Module Library by clicking on individual categories or by searching for a specific module name. To add a new module to the canvas, simply drag and drop it onto the canvas.
Note that modules may also be added onto the canvas by right-clicking an input or output of an already placed module and selecting a module from the suggestion list.
The Module Library may be collapsed, and expanded, by clicking on the collapse/expand buttons. This is a useful feature when users require a larger working area on the canvas and/or when working on a small laptop screen.
The Composable Designer Toolbar is a group of icons in the top-center of the canvas for commonly-performed DataFlow authoring functions.
From left to right:
- A Revision History button to bring up a view of the change and revision history for the DataFlow application.
- A Reset-Zoom and Zoom-to-Fit button to quickly adjust and toggle between different zoom levels.
- A group of buttons for Cut, Copy, and Paste and for Undo and Redo are available. These are commonly-performed actions, with familiar functionality found in other applications such as text editors and image processing tools.
- A set of Export and Import buttons. In Composable, each DataFlow, including all module inputs and connections, can be serialized and stored as a file (JSON file with .json file extension). In this way, DataFlows can be exported, locally stored, or pushed to a version control system, and imported across other Composable instances.
- A Clone button, to generate a clone, or copy, of the current DataFlow Application.
- A Cleanup button, to automatically arrange modules in the canvas.
- A Help menu, that provides common keyboard shortcuts
- A Save button, to save the current DataFlow Application.
- A Run button, including a Debug Mode accessible via the dropdown, which allows you to either Run the entire DataFlow, or step through the modules and inspect intermediate results in Debug mode.
The Properties Panel, on the right-hand side of the canvas, includes:
The Details card for entering in the Name of the DataFlow as well as a Description. -- Renaming DataFlows can be done by simply editing the Name and Saving the DataFlow.
The Navigator card for adjusting the current view and zoom level. The currently viewable section of the canvas is highighted in the thumbnail and can be moved around to pan the canvas.
- The Module Info card, which provides information on the currently selected module.
- The Options card, where overall DataFlow settings can be applied. These include: -- Parallel Execution: When enabled, modules in a DataFlow execute in parallel, as soon as all their input parameters are met. -- Receive Progress Events: When enabled, progress of a run is visible in the designer. See the Output and Progress Panel below. -- Realtime Outputs: When enabled, outputs are available in real-time during a run. See the Output and Progress Panel below. -- Receive Trace Events: When enabled, status progress is available in the trace panel. See the Output and Progress Panel below. -- Error Handling Options: When clicked, options are available for Continue on Error and Email on Error behavior.
The Properties Panel may be collapsed, and expanded, by clicking on the collapse/expand buttons. This is a useful feature when users require a larger working area on the canvas and/or when working on a small laptop screen.
Output and Progress Panel
The Output and Progress Panel is located at the bottom right of the canvas, and is usually initially in a collapsed position labelled Trace Log. Once expanded, three tabs are available:
- Output: Output panel that, once the DataFlow run completes, provides a complete set of outputs per module.
- Trace: A log of real-time events, including warnings and errors, of a DataFlow run.
- Progress: a Real-time view of a DataFlow run, on a per module basis, including run statistics (e.g., module run duration).