Skip to content
TileDownSite version v0.5.24

A dependency graph from a few lines

TileDown 0.14.0 adds the flow tile, which draws what depends on what as nodes in columns joined by arrows, a static SVG laid out when the site is built.

The flow tile shows what depends on what, as nodes in columns joined by arrows. It is a static SVG laid out when the site is built, with no script.

Build pipelineparse to build; build to test; build to package; test to release; package to releaseparsebuildtestpackagerelease
:::tile flow
title: Build pipeline
edge: parse -> build
edge: build -> test
edge: build -> package
edge: test -> release
edge: package -> release
node: test
status: running
:::
  • title names the picture, for a screen reader and the tooltip. The default is Flow.

  • edge: a -> b is an arrow from node a to node b. A name is letters, digits, - and _, up to 32 characters. A node exists as soon as an edge names it.

  • node declares a node by name, for a node with no edge or to give it a label (up to 18 characters) and a status (running, waiting, blocked, done or failed) on the lines that follow it.

The layout

The layout is a pure function of the lines: a node sits one column to the right of the farthest node that points to it, and the nodes of a column are stacked in the order they first appear. The same lines always give the same picture. A cycle is not drawn: it is a build error that names it (a -> b -> a). At most 60 nodes and 200 edges.

A Mermaid diagram needs a runtime in the browser. This is drawn at build time and is plain SVG in the page.

TileDown Updates

Stay updated with every exciting new feature we bring to TileDown, the Markdown‑first way to build sites you truly own.

View Markdown source
index.md
---
title: A dependency graph from a few lines
date: 2026-11-22
order: 1
description: TileDown 0.14.0 adds the flow tile, which draws what depends on what as nodes in columns joined by arrows, a static SVG laid out when the site is built.
tags: Release, Tiles, Diagrams
image: /assets/post-flow-graph.svg
imageDark: /assets/post-flow-graph-dark.svg
---
# A dependency graph from a few lines

The `flow` tile shows what depends on what, as nodes in columns joined by arrows. It is a
static SVG laid out when the site is built, with no script.

:::tile flow
title: Build pipeline
edge: parse -> build
edge: build -> test
edge: build -> package
edge: test -> release
edge: package -> release
node: test
status: running
:::

```
:::tile flow
title: Build pipeline
edge: parse -> build
edge: build -> test
edge: build -> package
edge: test -> release
edge: package -> release
node: test
status: running
:::
```

- `title` names the picture, for a screen reader and the tooltip. The default is `Flow`.
- `edge: a -> b` is an arrow from node `a` to node `b`. A name is letters, digits, `-`
  and `_`, up to 32 characters. A node exists as soon as an edge names it.
- `node` declares a node by name, for a node with no edge or to give it a `label` (up to
  18 characters) and a `status` (`running`, `waiting`, `blocked`, `done` or `failed`) on
  the lines that follow it.

## The layout

The layout is a pure function of the lines: a node sits one column to the right of the
farthest node that points to it, and the nodes of a column are stacked in the order they
first appear. The same lines always give the same picture. A cycle is not drawn: it is a
build error that names it (`a -> b -> a`). At most 60 nodes and 200 edges.

A Mermaid diagram needs a runtime in the browser. This is drawn at build time and is
plain SVG in the page.