github mermaid-js/mermaid @mermaid-js/tiny@12.3.0

3 hours ago

Minor Changes

  • #8164 592d0e4 Thanks @filipsajdak! - feat: add the open-arrow and hollow-circle edge markers, so a notation can tell two kinds of flow apart by whether the head is filled

  • #8165 5c8aa5d Thanks @filipsajdak! - feat: add the BPMN element shapes - events, gateways, activities, data objects, data stores and text annotations - each reporting where a line meets what is drawn

  • #8470 692d22a Thanks @openmindednewby! - feat: flowchart edges accept a step number (e1@{ step: 1 }); a dot travels the edges in step order and loops, hidden under prefers-reduced-motion

  • #8478 56aa105 Thanks @openmindednewby! - feat: add flowchart.stepDuration to set how many seconds each step of the flowchart step animation lasts

  • #8479 800f7ef Thanks @openmindednewby! - feat: highlight the flowchart edge whose step is playing, in sync with the step animation dot

  • #8480 50d6294 Thanks @openmindednewby! - feat: add flowchart.stepNumbers to show each step edge's number in a badge

Patch Changes

  • #8443 2ff8286 Thanks @knsv-bot! - fix: agentflow renders the a[/…/] short form as an input instead of falling back to a task with a SHAPE_UNSUPPORTED warning

  • #8661 b200b27 Thanks @pbrolin47! - fix: Bump DOMPurify to 3.4.17 to address GHSA-55q2-fjhq-7xh7 and GHSA-6688-9rhm-gjv2

  • #8633 686f350 Thanks @sidharthv96! - chore: Remove the uuid dependency and the unused legacy ER diagram renderer

  • #8661 7eec083 Thanks @pbrolin47! - fix: Stop an edge from a node inside a subgraph from crossing an edge from the subgraph itself to the same node with ELK 0.10+ (e.g. outer --> a with da --> a, or three --> two with two --> c2)

  • #8532 42d3760 Thanks @Devehab! - fix: upgrade bundled elkjs from 0.9.3 to 0.12.0, which is licensed EPL-2.0 OR GPL-3.0-or-later, so GPL-3.0 projects can ship mermaid with ELK

  • #8162 d5ca27a Thanks @filipsajdak! - fix(swimlanes): size a lane that holds a nested subgraph (TB drew it as an empty 0x0 box, and likewise an outer group holding lanes), and grow LR and RL lanes by the nested group's padding

  • #8405 b4299f2 Thanks @filipsajdak! - fix: do not draw a stray empty swimlane when a node is listed in two lanes, and warn about it and about a subgraph nested in a lane

  • #8385 37d0ace Thanks @filipsajdak! - fix(swimlanes): keep two arrowheads that land on one face of a node apart when a sibling edge is straightened

  • #8385 38e810a Thanks @filipsajdak! - fix(swimlanes): an edge routed round the outside of a diamond now arrives at one of its vertices instead of ending in empty space beside it

  • #8385 25d7e31 Thanks @filipsajdak! - fix(swimlanes): a second edge leaving a diamond on the same level as its target now leaves from a free vertex instead of running beside the first

  • #8171 a4750b4 Thanks @filipsajdak! - fix: dock a swimlane edge on the shape it points at, so a line reaches an event's ring instead of stopping at the room its caption reserves

  • #8385 67315b9 Thanks @filipsajdak! - fix: an edge label no longer pushes the nodes it joins a rank apart

  • #8385 21a1f5c Thanks @filipsajdak! - fix(swimlanes): stop the crossing cleanup from joining two routes at a corner so they read as one line

  • #8385 e14bc3a Thanks @filipsajdak! - fix(swimlanes): an edge no longer arrives at the vertex of a hexagon that another edge leaves from

  • #8459 edd162f Thanks @Yun-seoung! - fix: Allow flowchart edge IDs regardless of whitespace after the node shape

    Edge IDs may no longer contain [ ] ( ) { } |.

  • #8402 4f2bade Thanks @pcp-cmd! - fix: Render use case include and extend relationship labels with UML guillemets.

Don't miss a new mermaid release

NewReleases is sending notifications on new releases.