Comment by apwheele
12 hours ago
In the live demo, I am confused about some of the ascii renderings. (Unless I am missing something, they appear incorrect/inconsistent with the SVG.), https://agents.craft.do/mermaid
So for the "All Edge styles"
graph TD
A[Source] -->|solid| B[Target 1]
A -.->|dotted| C[Target 2]
A ==>|thick| D[Target 3]
Results in the ascii
┌──────────┐
│ │
│ Source ├─thickted─────┐
│ │ │ │
└─────┬────┘ └─────┼────────────────┐
│ │ │
│ │ │
solid │ │
│ │ │
▼ ▼ ▼
┌──────────┐ ┌──────────┐ ┌──────────┐
│ │ │ │ │ │
│ Target 1 │ │ Target 2 │ │ Target 3 │
│ │ │ │ │ │
└──────────┘ └──────────┘ └──────────┘
(The svg for this example is maybe misleading, as it looks like un upside down T) But the ascii here has the overlapping words, and you cannot tell the difference in any of the lines.
The Parallel links, example mermaid
graph TD
A[Input] & B[Config] --> C[Processor]
C --> D[Output] & E[Log]
results in ascii
┌───────────┐ ┌────────┐
│ │ │ │
│ Input │ │ Config │
│ │ │ │
└─────┬─────┘ └────┬───┘
│ │
│ │
│ │
│ │
▼ │
┌───────────┐ │
│ │ │
│ Processor ├◄─────────┤
│ │ │
└─────┬─────┘ │
│ │
│ │
│ │
│ │
▼ ▼
┌───────────┐ ┌────────┐
│ │ │ │
│ Output │ │ Log │
│ │ │ │
└───────────┘ └────────┘
This is just wrong isn't it? Why is there an arrow from config to log?
The latter one is a rendering issue I think, the right hand side of Processor is being used as an input from Config and an output to Log but the arrows overlap and become ambiguous.