Skip to main content

整理

Use Tidy to automatically arrange the tools on your workflow canvas. Tidy lays out your workflow from left to right, aligns and evenly spaces your tools, and reduces crossed connections, all in a single step that you can undo.

当工作流经过大量构建和编辑后变得难以理解时,「整理」功能非常有用,例如在与同事共享、演示工作流或与他人一起审核工作流之前。

Tidy only changes where things sit on the canvas. It doesn't change tool configurations, connections, or the text in your comments, and your workflow produces the same results before and after you use Tidy. Tidy only runs when you select it. It never rearranges your canvas automatically.

整理您的工作流

排列工作流中的工具…

  1. Select Tidy in the top-left corner of the canvas.

    Alternatively, select multiple tools on the canvas. Then, right-click any of the selected tools and select Tidy Up Selection.

  2. Review the new layout on your canvas. To return to your previous layout, select Undo.

运行「Tidy」后,会打开间距选项,您可以调整工具之间的间距。转至 调整工具间距 了解更多信息。

调整工具间距

Use the spacing options to choose how closely Tidy arranges your tools. Each change appears on your canvas right away.

选项

描述

紧凑

将工具紧密排列,以便在屏幕上显示更多工作流。

Normal

在工具之间使用标准间距。

Loose

在工具之间留出更多空间。

您可以通过以下 2 种方式打开间距选项:

  • Select Tidy or Select Tidy Up Selection: Tidy arranges your workflow using the spacing you used last, then opens the spacing options so you can adjust it.

  • Shift+Select Tidy: The spacing options open before Tidy moves any tools, so you can choose a spacing first.

You can try as many spacing options as you like. When you press Undo, your canvas returns to the layout it had before you opened the spacing options.

间距选项处于打开状态时,您无法使用画布。关闭间距选项以继续工作。Alteryx会记住您选择的间距,直到本次会话结束。

Additional Details

撤销

Each time you use Tidy, including any changes you make in the spacing options, Alteryx records it as a single step in your undo history. Press Undo once to return to your exact previous layout.

工具容器、备注和无线连接

工具容器会与其中的工具一起移动。备注会保留在其说明的工具旁边,不会被工具遮挡。无线连接会保留。

Large Workflows

您可以对大型工作流使用 Tidy。

已知局限

  • 在具有多个 output 的工具之后,连接线可能会交叉。 在某些工作流中,具有 2 个 output 的工具之后的连接线可能会交叉,即使可以采用不交叉的布局也是如此。

  • 整理不会保留您手动放置的工具的位置。整理可能会移动您自行定位的工具。