Skip to content

v0.3.9

Latest

Choose a tag to compare

@github-actions github-actions released this 29 Nov 15:07

Flowcharts

  • Flowcharts show stroke colours now. Nodes take them from classDef,
    A:::name, class A,B name and style A stroke:#hex. Edges take them from
    linkStyle N and linkStyle default.
  • classDef default colours every node unless the node's own class sets a
    stroke.
  • A line that edges of different colours share stays uncoloured.
  • mercat reads only stroke, as #rgb or #rrggbb. It ignores fills, text
    colour and subgraph colours.
  • Colour follows --color and NO_COLOR. --format plain output is the same.
  • A .mmd file or piped diagram draws in the body text colour. Diagrams in
    markdown keep the code colour.
  • An edge written twice (A --> B twice) draws as two straight parallel
    lines. Before, both copies looped round the side and crossed (#143).
  • A straight edge with a head at each end (A <--> B, o--o, x--x) now
    shows a line between its heads, so a dotted or thick edge shows its kind.

CLI

  • The terminal-output error names the flag you typed (-o or --output).