Diagrams / Graphs

Block

Markdown crates/mermaid/src/diagrams/block/mod.rs docs.rs

Block

Ask your agent

Install the bezel skill once

npx skills add crabtalk/bezel --skill bezel

Then ask

Draw a block diagram of the frontend, backend and database on a three-column grid, with arrows between them.
block
  columns 3
  Frontend blockArrowId6<[" "]>(right) Backend
  space:2 down<[" "]>(down)
  Disk left<[" "]>(left) Database[("Database")]

Syntax

  • columns n sets the grid; blocks fill it left to right.
  • id["label"] is a block; the same brackets as a flowchart pick its shape, and id:n spans n columns.
  • space or space:n leaves cells empty.
  • block:id … end nests a grid; id<["label"]>(right) is an arrow block.
  • a --> b joins two blocks; classDef, class and style restyle them.