error

4 samples from the mermaid demo corpus, rendered both ways.

Example 1

match
0.008px mean node offset over 4 nodes0.00% width difference
SebastianJSno browser
SebastianJS rendering
mermaid-cliheadless Chrome
mermaid-cli rendering
Mermaid source
erDiagram
ATLAS-ORGANIZATION ||--|{ ATLAS-PROJECTS : "has many"
ATLAS-PROJECTS ||--|{ MONGODB-CLUSTERS : "has many"
ATLAS-PROJECTS ||--|{ ATLAS-TEAMS : "has many"

Example 2

invalid demo
SebastianJSno browser

Did not renderParse error on line 5:

mermaid-cliheadless Chrome

Did not renderCommand /home/runner/work/sebastianjs/sebastianjs/node_modules/.bin/mmdc exited 1:

Mermaid source
erDiagram
ATLAS-ORGANIZATION ||--|{ ATLAS-PROJECTS : "has many"
ATLAS-PROJECTS ||--|{ MONGODB-CLUSTERS : "has many"
ATLAS-PROJECTS ||--|{ ATLAS-TEAMS : "has many"
MONGODB-CLUSTERS ||..|{
ATLAS-TEAMS ||..|{

Example 3

match
0.000px mean node offset over 2 nodes0.00% width difference
SebastianJSno browser
SebastianJS rendering
mermaid-cliheadless Chrome
mermaid-cli rendering
Mermaid source
flowchart TD
A[Christmas] -->|Get money| B(Go shopping)

Example 4

invalid demo
SebastianJSno browser

Did not renderParse error on line 3:

mermaid-cliheadless Chrome

Did not renderCommand /home/runner/work/sebastianjs/sebastianjs/node_modules/.bin/mmdc exited 1:

Mermaid source
flowchart TD
A[Christmas] --|Get money| B(Go shopping)