Mermaid 11.17.0

11.17.0
Added 8
  • Render C4 elements through the unified shape system, using the new person shape
  • Add collapsible flowchart subgraphs via subgraphId@{ view: collapsed }
  • Add elk.keepEntryNodeOnTop config option to keep a recursive flow's entry node on top
  • Add elk.nodePlacementAlignment config option
  • Add subgraph support to ER diagrams
  • Add folder, bucket, console (terminal window) and browser shapes to flowcharts
  • Add person shape (circular head above a rounded body) to flowcharts, usable via A@{ shape: person }
  • Add legends for named line and bar series in xyChart
Changed 2
  • Route classDiagram to the unified (v2) renderer by default
  • Use fastdom to batch DOM measurements for up to 25% speedup
Fixed 8
  • Fix C4 named attributes such as $tags, $link and $sprite being clobbered to undefined when they arrive in an earlier positional slot
  • Stop dagre layout from spamming warn-level logs on every node/edge/cluster
  • Fix sibling blocks overlapping in block diagrams when one has a label wider than 200px
  • Fix RangeError: Invalid array length crash when rendering certain edges
  • Fix treeView icons disappearing after strict security sanitization
  • Allow classdefs to update text color in block diagrams
  • Let a diagram's own nodeSpacing/rankSpacing take effect in the unified dagre layout
  • Revert behavior change from #7672 that broke arrows between subgraphs in flowcharts

From Mermaid

Minor Changes
  • #7842 3670b4e Thanks @filipsajdak! - feat(c4): render C4 elements through the unified shape system, using the new person shape

  • #7812 cdfc0ea Thanks @knsv-bot! - feat(class): route classDiagram to the unified (v2) renderer by default

    Set class: { defaultRenderer: 'dagre-d3' } in the config to restore the legacy renderer.

  • #7785 c45cde9 Thanks @knsv-bot! - feat(flowchart): add collapsible flowchart subgraphs via subgraphId@{ view: collapsed }

  • #7828 8eb3afc Thanks @knsv-bot! - feat(elk): add elk.keepEntryNodeOnTop config option to keep a recursive flow's entry node on top

  • #7803 74e44eb Thanks @knsv-bot! - feat(elk): add elk.nodePlacementAlignment config option

  • #7792 ea55b31 Thanks @RodrigojndSantos! - feat(er): add subgraph support to ER diagrams.

  • #7970 a2c0fb6 Thanks @filipsajdak! - feat(flowchart): add folder, bucket, console (terminal window) and browser shapes

  • #7842 ae3e115 Thanks @filipsajdak! - feat(flowchart): add person shape (circular head above a rounded body), usable in flowcharts via A@{ shape: person }

  • #7724 0fd7a9f Thanks @xdumaine! - feat(xyChart): add legends for named line and bar series

Patch Changes
  • #7847 215fe89 Thanks @filipsajdak! - fix(c4): named attributes such as $tags, $link and $sprite are no longer clobbered to undefined when they arrive in an earlier positional slot of Person/System/Container/Component/Boundary/Rel statements.

  • #7871 8d874c4 Thanks @knsv-bot! - fix(flowchart): stop dagre layout from spamming warn-level logs on every node/edge/cluster

  • #8071 b3d1f63 Thanks @pbrolin47! - fix(block): sibling blocks overlapping in block diagrams when one has a label wider than 200px

  • #7870 71b8843 Thanks @knsv-bot! - fix: a RangeError: Invalid array length crash when rendering certain edges.

  • #7924 9cbef5d Thanks @nightt5879! - fix(treeView): icons disappearing after strict security sanitization.

  • #7850 a34cbf0 Thanks @aloisklink! - fix(block): allow classdefs to update text color

  • #7937 f9cbe1e Thanks @filipsajdak! - fix(dagre): let a diagram's own nodeSpacing/rankSpacing take effect in the unified dagre layout

  • #8005 90eeece Thanks @pbrolin47! - fix(flowchart): reverts the behavior change from #7672 (fix/4648-directions), since arrows between subgraphs are broken

  • #7951 afa2f80 Thanks @aloisklink! - perf: use fastdom to batch DOM measurements (up to 25% speedup)

  • Updated dependencies [e848423]:

    • @mermaid-js/parser@1.2.1
View original

Upgraded? How did it go?

Discussion