Examples¶
The grafli source tree ships an examples/
directory with .grafli files you can open and explore.
Architecture demo¶
examples/architecture.grafli exercises the full feature surface in a
single diagram:
- Visible nesting containers for layered architecture (frontend, API, core, data, observability)
- Semantic edge labels (
call:,data:,event:,state:,verify:,risk:) - Code-mode notes attached to specific services
- Tasks (
T:), questions (Q:), and discussion notes - A linked markdown resource (
examples/architecture-res/graphql.md)
Open it from a clone:
Bookmarks & flows demo¶
examples/flows-demo.grafli is a small six-service architecture wired up with
bookmarks and two flows — a guided tour through the system and a
security-path walkthrough. Open it, toggle the side panel with \,
switch to the Flows tab, and play a flow; press F5 to present one
fullscreen, or export it to a slide PDF:
See Bookmarks & flows for the full feature.
Try it yourself¶
The format is small enough that the fastest way to learn is to read a file and edit it. Start from the example, then:
- Press n to drop a new box.
- Press Ctrl+l to spawn a connected box to the right.
- Press e on an arrow and prefix the label with
call:,data:, orevent:to see edge chips render live.
For more on annotations, see Text annotations.