Community Articles
Find and share helpful community-sourced technical articles.
Labels (1)
Cloudera Employee

NiFi 1.2.0 has a nice, new little feature that will surely please those who may spend a bit of time – for some, perhaps A LOT of time – getting their flow to line up perfectly. The background grid lines can help with this, but the process can still be quite tedious with many components. Now there is a quick, easy way.

  1. Select the components on the canvas you want to align. You can do this by either Shift+clicking each component until they are all selected, or while holding Shift, click and (fully) drag around all the components you want to align.
  2. Next, simply right-click on any selected component and choose the desired "Align..." option.

16107-nifi-align-components-before.png

The next image shows the result after choosing the Align vertically option.

16108-nifi-align-components-after.png

If components are different sizes, they will align according to their center points.

16109-nifi-align-components-center.png

And that's all there is to it!

1,887 Views