Skip to content

mermaid-text-0.56.0

Choose a tag to compare

@github-actions github-actions released this 11 May 15:50
· 86 commits to master since this release

Added

  • Self-messages (A->>A: text) render as a U-shape loop to the right of
    the lifeline column. The three-row glyph (├──┐ / vertical bar / ├◂──┘)
    keeps the label above the top leg and leaves the lifeline intact above and
    below the loop.

  • Stacked nested activations. When activate X is called while X is
    already active, the second activation bar is drawn immediately to the right
    of the first (ACTIVATION_BAR_WIDTH + 1 offset) so the two bars read as
    distinct side-by-side filled rectangles rather than overlapping on the same
    column. Triple (and deeper) nesting offsets each additional bar one step
    further right.

  • box [colour] "label" ... end participant grouping. Wraps a subset of
    participants in an outer labelled rectangle drawn above the header boxes and
    mirrored below the footer boxes. Accepted colour forms match the rect
    palette (rgb, rgba, #hex, CSS names; mapped to the same luminance-keyed
    shade glyph). The box keyword is participant-scope: once any message line
    appears, box is no longer accepted.

Snapshot churn

0 existing snapshots reclassified. 3 new snapshots pinned:

  • self_message_u_shape
  • nested_activations_stack_horizontally
  • box_groups_participants_with_label