Documentation

o-flow is a snap-to-grid tool for standardised technical diagrams. You build flows from a fixed kit of meaningful shapes, on a grid that keeps everything aligned. You can draw with the mouse or write your diagram as code — both stay in sync.

Quick start

  1. Open the app and you'll see a starter diagram on the grid.
  2. Add a shape: drag one from the Shapes panel onto the canvas, or click it to drop in the middle.
  3. Edit text: double-click a shape and type. Press Enter to finish.
  4. Connect shapes: hover a shape and drag from one of the four blue dots onto another shape.
  5. Move: drag a shape; it snaps to the grid. Drag a marquee on empty canvas to select many, then move them together.
  6. Tidy: click ⇅ Tidy to align columns and even out spacing.

The canvas

Shapes

Pick a shape by what it means. The kit:

ShapeTypeUse for
StadiumterminatorStart / end of a flow
RectangleprocessAn action or step (auto-fits as a flat, wide bar)
DiamonddecisionA branch / yes-no question
ParallelogramdataInput / output
Wavy rectangledocumentA report or document
CylinderdatabaseStored / persisted data
Barred rectanglesubprocessA predefined sub-routine
CircleconnectorOn-page reference / join
(none)textA free text label — no box or border
Person cardpersonA person — name, role and a profile photo

Sizes & styles

Every shape has five fixed sizes (xs s m l xl). Process boxes use a flat, wide set; other shapes use a squarer set. Widths are multiples of the grid so aligned shapes connect with perfectly straight lines.

There are 20 styles. The first 15 have solid outlines; the last 5 are dotted. Text is black on light styles and white on the deep solid ones, automatically.

Style keys
plain sky mint sun rose violet teal amber pink slate · navy green red indigo charcoal (deep) · sky-dot slate-dot mint-dot amber-dot violet-dot (dotted)

Select a shape and use the inspector on the right to change its size and style, or set them in code.

Connectors

Next: the code syntax →