As workflows grow in size and complexity, managing and organizing workflow elements can become challenging. Nodes may appear scattered across the canvas, making it difficult to understand the workflow structure and follow the execution flow.

IBM watsonx Orchestrate provides an Automatic Workflow Layout feature that helps developers organize workflow elements with a single click.

Using the Tidy canvas option, developers can automatically arrange workflow nodes and elements into a clean, structured layout without changing the existing workflow logic.

In this blog, we will explore how to use the Tidy canvas feature in IBM watsonx Orchestrate and understand its benefits.

Automatic Workflow Layout is a feature in IBM watsonx Orchestrate Workflow Builder that automatically organizes workflow nodes and elements to improve visual clarity and readability.

It is particularly useful when:

  • Workflow nodes are scattered across the canvas.
  • Some elements overlap or obscure other elements.
  • Large workflows become difficult to understand.
  • Developers want to improve workflow presentation quickly.

Instead of manually moving individual nodes, developers can use Tidy canvas to arrange the entire workflow automatically.

Follow these steps to organize your workflow using the automatic layout feature.

Step 1: Open Workflow Builder

Log in to IBM watsonx Orchestrate and navigate to the Workflow Builder.

Open the existing workflow that you want to organize.

Step 2: Review the Existing Workflow Layout

Once the workflow opens, review the current canvas.

You might notice that workflow nodes and elements are scattered or not arranged in a structured way, particularly in larger workflows.

This can make it difficult to follow the workflow sequence.

Step 3: Click Tidy Canvas

Locate the Tidy canvas icon in the workflow builder toolbar.

Click the Tidy canvas option to automatically arrange the workflow.

The system will reorganize the workflow nodes and elements into a more readable layout.

Step 4: Review the Automatically Arranged Workflow

After clicking Tidy canvas, review the updated workflow layout.

The system automatically adjusts the visual positioning of the nodes and elements to improve readability while maintaining the logical workflow structure.

Important: The workflow nodes and connections remain unchanged. Only their visual arrangement is improved.

Step 5: Make Manual Adjustments if Required

If you are not satisfied with the automatically arranged layout, you can manually move nodes and elements to achieve your preferred arrangement.

IBM watsonx Orchestrate also provides two options:

  • Undo: Revert to the previous layout.
  • Redo: Restore the reverted layout change.

These options help you switch between layout arrangements when needed.

3. Before and After: Workflow Layout

The following example illustrates the purpose of automatic workflow arrangement.

Before: Workflow elements are scattered across the canvas, making the overall structure difficult to follow.

After: Workflow elements are automatically organized into a cleaner and more structured layout.

This makes it easier to understand the workflow sequence and review the overall design.

4. Benefits of Automatic Workflow Layout

The Tidy canvas feature offers several benefits:

Improved Readability: Automatically organizes workflow elements, making complex workflows easier to understand.

Time Saving: Reduces the effort required to manually arrange individual workflow nodes.

Better Maintenance: Makes it easier for developers to review and maintain large workflows.

Improved Collaboration: Provides a cleaner workflow layout that team members can understand and review more easily.

Consistent Presentation: Helps maintain a structured visual representation of workflows.

Conclusion

The Automatic Workflow Layout feature in IBM watsonx Orchestrate makes workflow organization easier and more efficient.

With the Tidy canvas option, developers can automatically arrange workflow elements, improve readability, and reduce manual formatting effort.

It is a useful feature for anyone working with complex workflows and looking to maintain a clean and organized workflow canvas.

Categories: Blogs