Archive must be in one of the following format: .zip, .tar, .tar.gz, .tar.bz2, .tar.xz
You can upload a static description of your workflow. The JSON file needs to follow this specification.

What is MetroFlow?

MetroFlow automatically draws Nextflow workflows as interactive metro maps.

Stations are steps

Each station is a step (process) of the workflow. Right-click on it to see its code.

Lines are paths

The lines between stations are the paths the data takes from one step to the next.

Colours represent conditions

The colour of a line shows under which condition that path is taken. Right-click on it to see the condition.

Jobs

No jobs have been found in the local storage of your browser

How to use MetroFlow

Everything you can do with the map, with the mouse, the keyboard and the toolbar.

On the map

Right-click a stationShow the code of the step
Right-click a lineShow the condition to take this path
Double-click a subworkflowCollapse it into a single station, or expand it back
F + click a subworkflowView it in isolation, Esc to come back
DragMove a station or a subworkflow
Shift + clickSelect several stations, then drag them together while still holding Shift
H + click a stationHide it, Ctrl + Z to show it again
M + click a stationMinimise it, do it again to restore it
Scroll / drag the backgroundZoom / move around the map

Toolbar (right of the map)

Fullscreen
Export the map as SVG or PNG
Collapse subworkflows, the deepest level first
Highlight paths: click lines to highlight them
Appearance: font, text size, colours, overlaps
Download / upload the layout to share your arrangement of the map
Reset the layout to the original map

Your changes to the map are saved in your browser, and are still there when you come back.

Explore the workflow

See the code of a step

Right-click on a station to see the code of the process, and the file it comes from. No need to look for it in the workflow code.

Right-clicking on a station shows its code

See the condition of a path

Lines of the same colour are taken under the same condition. Right-click on a line to see that condition.

Right-clicking on a line shows its condition

View a subworkflow in isolation

Hold F and click on a subworkflow to only show it. Press Esc (or the cross in the top left corner) to come back to the whole map. Handy for exploring even the largest workflows.

Viewing a subworkflow in isolation

Switch to an abstract view

Above the map, choose which subworkflows are shown:

  • Default: the subworkflows, as written in the code;
  • Condition: the subworkflows grouping the steps which are executed under the same condition;
  • Dominator: the subworkflows grouping the steps which all share the same dependencies;
  • Parallel: the subworkflows grouping the steps which can run in parallel.

Only the views which could be computed for the workflow are shown.

Switching between the abstract views
Simplify and arrange the map

Collapse subworkflows

Double-click on a subworkflow to collapse it into a single station, and double-click on that station to expand it back. Right-click on a collapsed subworkflow to see its code, its condition and the steps it contains.

The Collapse subworkflows button in the toolbar collapses all the subworkflows of the deepest level, one level per click.

Collapsing a subworkflow

Move stations and subworkflows

Drag a station or a subworkflow to move it. To move several stations at once, hold Shift and click on them, then, still holding Shift, drag one of them: they all move together. Releasing Shift clears the selection.

Moving stations

Hide stations

Hold H and click on a station to hide it along with its lines. Press Ctrl + Z to show the last hidden station again.

Hiding a station

Minimise stations

Rather than hiding a station, you can make it smaller and remove its name, so that its lines stay visible. Hold M and click on the station; do it again to restore it.

Minimising a station

Highlight paths

Click on the Highlight paths button in the toolbar, then click on the lines you want to follow: they stay in colour while the rest of the map is greyed out. Click on a line again to un-highlight it, and on the button again to leave this mode.

Highlighting paths of the map
Customise and share

Change the appearance

The Appearance button in the toolbar lets you choose the font, the text size, the colour palette of the lines (or your own colours) and the colours of the subworkflows. You can also prevent stations and names from overlapping.

Once you are happy with the map, export it as an SVG or PNG image, or download the layout to share your arrangement: anyone can upload it to the same map to get the same view.

Changing the appearance of the map