Usage¶
Info
The theme is currently optimized for material for mkdocs.
Drag, scroll, or right-drag to move; pinch or Ctrl+scroll to zoom
graph TD
A[Start] --> B{Is it sunny?}
B -->|Yes| C[Go for a walk]
B -->|No| D[Stay indoors]
C --> E[End]
D --> E[End]
Mouse and trackpad¶
By default the plugin uses canvas-style navigation (direct manipulation, like an infinite canvas):
- Scroll wheel, or a trackpad two-finger drag, pans the diagram.
- Ctrl (or Cmd) + scroll, and a trackpad pinch, zoom in and out centered on the cursor.
- Right-mouse drag pans. Left click stays free, so you can click nodes and the links inside tooltips.
To use the older modifier-key behavior instead, set navigation: classic (then Alt + drag/scroll
pans/zooms; the modifier is configurable or disabled).
Keyboard¶
You can also control it with your keyboard.
Use the arrow keys to move it around and the + and - key to zoom in and out.