Merlive

The library / Block diagrams

Block diagrams, drawn twice

Blocks joined by links are read as a flowchart is and placed by rule. One whose meaning is in its grid is placed on that grid, each block in the cell its author gave it.

36 samples: 31 drawn as written, 5 drawn less something. Mermaid’s side is mermaid-cli 12.2.0 as it comes, on white. Merlive’s is 0.6.1 in its own look. What is read of a block diagram.

Every shape of a block, joined in a chain

Drawn, less something A block with round corners is a box, and a circle is a pill, as in a flowchart

Mermaid

Mermaid could not draw this: TypeError: this.calcIntersect is not a function

Merlive
Every shape of a block, joined in a chain, as Merlive draws it
The Mermaid
block
  columns 4
  a["Box"] b("Round") c(["Stadium"]) d[["Subroutine"]]
  e[("Database")] f(("Circle")) g>"Flag"] h{"Decision"}
  i{{"Prepare"}} j[/"Input"/] k[\"Output"\] l[/"Manual"\]
  m[\"Trapezoid"/] n((("Stop")))
  a --> b
  b --> c
  c --> d
  d --> e
  e --> f
  f --> g
  g --> h
  h --> i
  i --> j
  j --> k
  k --> l
  l --> m
  m --> n
Draw it yourself

A block styled on its own: a heavy outline, a broken one

Drawn, less something The colour is drawn in the design's nearest colour

Mermaid
A block styled on its own: a heavy outline, a broken one, as Mermaid draws it
Merlive
A block styled on its own: a heavy outline, a broken one, as Merlive draws it
The Mermaid
block
  columns 2
  start("Start") stop("Stop")
  start --> stop
  style start fill:#636,stroke:#333,stroke-width:4px
  style stop fill:#bbf,stroke:#f66,stroke-width:2px,color:#fff,stroke-dasharray: 5 5
Draw it yourself

A class, and the blocks that are of it

Drawn, less something The colour is drawn in the design's nearest colour

Mermaid
A class, and the blocks that are of it, as Mermaid draws it
Merlive
A class, and the blocks that are of it, as Merlive draws it
The Mermaid
block
  columns 3
  shop["Shop"] erp["ERP"] ledger["Ledger"]
  shop --> erp
  erp --> ledger
  classDef back fill:#6e6ce6,stroke:#333,stroke-width:4px;
  class erp,ledger back
Draw it yourself

A block arrow pointing every way it can

Drawn, less something An arrow that points across and down is drawn pointing both ways across: Merlive draws an arrow along one line

Mermaid
A block arrow pointing every way it can, as Mermaid draws it
Merlive
A block arrow pointing every way it can, as Merlive draws it
The Mermaid
block
  columns 4
  r<["Right"]>(right) l<["Left"]>(left) u<["Up"]>(up) d<["Down"]>(down)
  x<["Both ways"]>(x) y<["Up and down"]>(y) xd<["Across and down"]>(x, down)
Draw it yourself