Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Your first diagram

This tutorial takes you from an empty directory to a book with a working diagram in it. It should take about ten minutes, and you will end up with something you can keep building on.

You need Rust installed. Everything else, we install as we go.

By the end you will have:

  • a book that renders swirly code blocks to SVG,
  • a stream diagram and a cell diagram you wrote yourself,
  • and diagrams that follow the reader’s theme.

We are going to build things up one piece at a time, and some steps will look like more typing than they need to be. That is on purpose — the point is to see each part before it gets hidden behind a shortcut.

Start with Setting up.