Skip to content
eknath

Planning / Tool

Flow: steps in order

Draw steps in order as boxes and arrows, with an optional loop back, from a link.

What this is for

Use it when you want to show a short process, such as a release, and where it goes back when something fails.

Skip it when the process branches in many directions; draw a proper diagram instead.

The page is filled in from its address, so a person or an AI model can build the link and you only have to open it.

Put the values in the address after #. The part after # stays in your browser and is never sent to a server, so it is the right place for private data. ? works too. Two links to the same example:

Add mode=present to any link to show only the result.

ParameterWhat it is
stepsSteps in order: one per line, or separated by commas or arrows. For example: Plan -> Build -> Test -> Ship
loopLoops back (optional): from step number to step number. For example: 3>2 sends step 3 back to step 2. Separate several with commas: 3>2, 5>1.

Without JavaScript, read the steps value left to right. A loop of 3>2 means step 3 goes back to step 2.

Optional text

Every tool also accepts five optional text parameters. Leave any of them out and nothing is drawn for it, so there is no empty heading or gap.

ParameterWhat it is
titleA heading above the result.
descriptionOne or two sentences on what the result shows.
summaryA headline for people. Left out, the tool writes its own.
legendHow to read it, for example “Blue is done”.
noteA footnote: a source, a date or a caveat.

Text is cut to a sensible length (100 to 300 characters) and shown as plain text, so markup in it is never run.

For agents

Build the link above with your own values and give it to the user. Or run the logic without a browser:

node cli.mjs flow '{"steps": "Plan, Build, Test, Ship"}'

The result is JSON: ok, summary, matches (a list of {id, label, detail}) and view, the data the page draws. A value that cannot be used gives ok: false and a summary that says what to fix. Every example in the data file is checked by npm test.

  • Tools home: all the tools, and the registry that lists their parameters.

Raw ↗ Edit ↗