- Add opt-in mindmap coloring by hierarchy depth using `mindmap.colorBy: depth` and the existing theme palette
- Size circle and double-circle nodes from their label instead of `minNodeWidth`, and trim neo circle padding
- ELK no longer straightens an edge terminal when that would put a label over another edge, or an edge through a label
- Keep mindmap HTML labels readable in the neo look on themes that repaint node backgrounds
- Centre mindmap node labels when `htmlLabels` is false
- Scope a swimlane cluster's DOM id like every other cluster, so two diagrams on one page do not collide
- Clip an edge for the layout engine that drew it, so a diagram pinning its own engine (bpmn, swimlanes) still renders when the configured default is another one
- Split shared terminal lanes again after crossing cleanup in swimlanes, so an edge that detours around another lane no longer ends on the same attachment point as a neighbouring edge
- Move a swimlane lane's title band clear of an edge that crosses it, in LR diagrams whose lanes carry no direction of their own and when the edge runs along the band's border
- Swimlane nodes with no edges keep their source order inside a lane instead of being sorted by ID
From Mermaid
Minor Changes
- #8394
6ac38cbThanks @jackroberts236! - feat: Add opt-in mindmap coloring by hierarchy depth usingmindmap.colorBy: depthand the existing theme palette.
Patch Changes
-
#8409
419ee68Thanks @ashishjain0512! - fix: size circle and double-circle nodes from their label instead ofminNodeWidth, and trim neo circle padding -
#8395
2fb3ff1Thanks @ashishjain0512! - fix: ELK no longer straightens an edge terminal when that would put a label over another edge, or an edge through a label -
#8394
cbf89abThanks @jackroberts236! - fix: Keep mindmap HTML labels readable in the neo look on themes that repaint node backgrounds -
#8390
430ac9bThanks @ashishjain0512! - fix: Centre mindmap node labels whenhtmlLabelsis false -
#8161
d7532edThanks @filipsajdak! - fix: scope a swimlane cluster's DOM id like every other cluster, so two diagrams on one page do not collide -
#8270
ad8d61aThanks @filipsajdak! - fix(rendering): clip an edge for the layout engine that drew it, so a diagram pinning its own engine (bpmn, swimlanes) still renders when the configured default is another one -
#8383
9d41c0fThanks @filipsajdak! - fix(swimlanes): split shared terminal lanes again after crossing cleanup, so an edge that detours around another lane no longer ends on the same attachment point as a neighbouring edge -
#8384
6c67397Thanks @filipsajdak! - fix(swimlanes): move a lane's title band clear of an edge that crosses it, in LR diagrams whose lanes carry no direction of their own and when the edge runs along the band's border -
#8366
40124c3Thanks @SwastikTripathi! - fix: swimlane nodes with no edges keep their source order inside a lane instead of being sorted by ID