Let’s build a simple flow to get started! Follow along to build your own.

For this demonstration, we will create a rectangle that is re-colored based on its area:

chrome_LewFaDlb5E.gif

<aside>

The skills you learn from creating this flow are transferrable to any other parametric design you may wish to create. Explore more in All the Flow 2.0 Transforms.

</aside>

Get Started

Start with a saved project.

Draw a generic Rectangle on your map canvas. It can be any size for now.

<aside>

Learn how to Save a Project

</aside>

Click to select the rectangle you drew.

Click Flow 2.0 (top right of Flow Builder)

Open the flow builder by clicking the Flow Editor icon.

image.png

You will see a list of suggested basic flows.

Select “Identity.”

image.png

Your flow will look like this:

Identity applies the most basic flow - one input and one output.

Essentially, this flow doesn’t do anything (yet). It simply reads the feature (your rectangle) and then writes that feature back to the map.

Let’s add some transforms in between to make this rectangle into something new.

image.png

Add Transforms

To make the flow do something interesting, we need to add Transform nodes and connect them with wires.

In this section, you will calculate the area, and apply logic to determine if the area is larger or smaller than a value you choose.

Calculate “Area”

Double click anywhere on the canvas to search transforms.

Search “area,” then click “geometric operations → area.

image.png

The area transform has been added to the canvas.

Note the Green Feature input, and the Red area output. This transform calculates the area of the Feature.

image.png