Creating SuperNodes
Creating a SuperNode "shrinks" the data stream by encapsulating several nodes into one node. Once you have created or loaded a stream on the canvas, there are several ways to create a SuperNode.
Multiple Selection
The simplest way to create a SuperNode is by selecting all of the nodes that you want to encapsulate:
- Use the mouse to select multiple nodes on the stream canvas. You can also
use Shift-click to select a stream or section of a stream.Note: Nodes that you select must be from a continuous or forked stream. You cannot select nodes that are not adjacent or connected in some way.
- Then, using one of the following three methods, encapsulate the selected
nodes:
- Click the SuperNode icon (shaped like a star) on the toolbar.
- Right-click the SuperNode, and from the context menu choose:
- From the SuperNode menu, choose:
All three of these options encapsulate the nodes into a SuperNode shaded to reflect its type--source, process, or terminal--based on its contents.
Single Selection
You can also create a SuperNode by selecting a single node and using menu options to determine the start and end of the SuperNode or encapsulating everything downstream of the selected node.
- Click the node that determines the start of encapsulation.
- From the SuperNode menu, choose:
SuperNodes can also be created more interactively by selecting the start and end of the stream section to encapsulate nodes:
- Click on the first or last node that you want to include in the SuperNode.
- From the SuperNode menu, choose:
- Alternatively, you can use the context menu options by right-clicking the desired node.
- The cursor becomes a SuperNode icon, indicating that you must select another point in the stream. Move either upstream or downstream to the "other end" of the SuperNode fragment and click on a node. This action will replace all nodes in between with the SuperNode star icon.