You can use colors to collapse and expand sections on your graph that have the same color to reduce visual complexity and more easily understand the portion of the graph you're working on and view different sections of your graph at one time.
Note: You will only be able to collapse ALL nodes of the same color. You cannot collapse a selection of differently colored nodes.
To collapse a group of nodes of the same color, right click a node of the color you wish to collapse.
You will be shown a menu where you can either collapse nodes of the selected color, or you can select all of the remaining nodes in your graph that are the same color as your selected node.
If you click Collapse, all nodes of that color will collapse into a node group icon in the color of your collapsed nodes. You can move the collapsed nodes group around the canvas area as you wish, but the locations of all the original nodes will be saved.
Please note: Entry Nodes cannot be collapsed, regardless of color. If an Entry Node shares a color with the nodes you are attempting to collapse you will need to change the color of the Entry Node to a different color before collapsing the other nodes.
Node Group Location
The node group will be located at the midpoint of all the collapsed nodes. If the node group is not situated where you expect, expand the node group again to see where if an outlier node has the same color. All nodes of the selected color will be collapsed into the node group, even if they are not connected to one another. This may create some unexpected visual connections when they are consolidated. Please keep this in mind when assigning colors to your nodes and using the graph organizer feature.
Please note: Graph Organizer is simply a tool for organizing your graph visually. It does not affect the operation of your graph. You can easily return your nodes to their original location by expanding the collapsed node group.
Edges for Node Groups
All edges proceeding from a node outside the collapsed group into nodes within the group will be consolidated visually into one line. This will not affect the functionality of these edges.
All edges proceeding from nodes inside a collapsed group to a node outside the collapsed group will be consolidated visually into one line. This will not affect the functionality of these edges. The same applies for edges proceeding from one collapsed group into another.
Once collapsed, you can right click on a collapsed node group and you will see a menu appear with an Expand option. Expanding the node stack will return the collapsed nodes back to their original position on the FlowBuilder canvas.
If there is an error in one of the collapsed nodes, the collapsed group will be outlined in red to indicate an error state.
If you add a new node of a color that has been collapsed, you will be able to place it on your graph and configure it apart from the node group, but upon saving or validating your graph, it will be included in the collapsed node group with other nodes of the same color.
Please note: Routing Insights will only display the fully expanded version of the graph.