Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
c6319a4
Normalize Dagre layout results onto LayoutData
Jun 5, 2026
358810b
Use shared paint for Dagre layout
Jun 5, 2026
876ab0a
Share Dagre node measurement helpers
Jun 5, 2026
83fadb5
Fix Dagre shared paint cluster handling
Jun 9, 2026
2dedaf7
Merge branch 'codex/common-render-pipeline-3-dagre-phases' into codex…
Jun 9, 2026
ea8ee30
Merge branch 'codex/common-render-pipeline-4-dagre-layoutdata' into c…
Jun 9, 2026
80d7dc5
Merge branch 'codex/common-render-pipeline-5-dagre-shared-paint' into…
Jun 9, 2026
5b1516a
Fix common paint cluster type narrowing
Jun 9, 2026
36f91dc
Merge branch 'codex/common-render-pipeline-5-dagre-shared-paint' into…
Jun 9, 2026
b7f72b4
Sync generated common layout docs
Jun 9, 2026
d6938dd
Merge branch 'codex/common-render-pipeline-5-dagre-shared-paint' into…
Jun 9, 2026
a1afff9
[autofix.ci] apply automated fixes
autofix-ci[bot] Jun 9, 2026
00430c0
Merge remote-tracking branch 'origin/codex/common-render-pipeline-6-d…
Jun 9, 2026
63a4ee6
Merge branch 'codex/common-render-pipeline-3-dagre-phases' into codex…
Jun 9, 2026
f2401e6
Merge branch 'codex/common-render-pipeline-4-dagre-layoutdata' into c…
Jun 9, 2026
8bc6565
Merge branch 'codex/common-render-pipeline-5-dagre-shared-paint' into…
Jun 9, 2026
20f034c
Fix dagre shared paint graph-backed rendering
Jun 9, 2026
693d18b
Fix dagre ER and class self-loop rendering
Jun 9, 2026
2ef8ca9
Fix class diagram dagre self-loop routing
Jun 9, 2026
e8ea3d1
[autofix.ci] apply automated fixes
autofix-ci[bot] Jun 9, 2026
5c3a7b4
Restore class diagram node padding defaults
Jun 9, 2026
c7308a3
Fix class renderer default for docs runtime
Jun 9, 2026
530e9c6
Merge branch 'codex/common-render-pipeline-5-dagre-shared-paint' into…
Jun 9, 2026
8c6f1e5
Document DAGRE LayoutData normalization limitations
knsv Jun 10, 2026
c46198a
Merge branch 'codex/common-render-pipeline-4-dagre-layoutdata' into c…
knsv Jun 10, 2026
6249755
Merge branch 'codex/common-render-pipeline-5-dagre-shared-paint' into…
knsv Jun 10, 2026
cdfc0ea
Address review feedback: changeset for class default renderer, paint …
knsv-bot Jun 10, 2026
89f2ebf
Merge pull request #7813 from mermaid-js/codex/common-render-pipeline…
pbrolin47 Jun 10, 2026
9841d26
Merge pull request #7812 from mermaid-js/codex/common-render-pipeline…
pbrolin47 Jun 10, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .changeset/class-default-unified-renderer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
'mermaid': minor
---

feat: route `classDiagram` to the unified (v2) renderer by default

`class.defaultRenderer` now defaults to `dagre-wrapper`, so plain `classDiagram`
documents (without the `-v2` suffix) render through the unified renderer and the
shared dagre layout/paint pipeline instead of the legacy class renderer. Set
`class: { defaultRenderer: 'dagre-d3' }` in the config to restore the legacy
renderer. Self-referential edges in class and ER diagrams now render as compact
merged self-loops.
Original file line number Diff line number Diff line change
Expand Up @@ -1137,4 +1137,19 @@ class C13["With Città foreign language"]
{ class: { hierarchicalNamespaces: false } }
);
});

it('HD: should render a self-referential class diagram with multiplicity labels', () => {
imgSnapshotTest(
`
classDiagram
class SelfReferential{
+int id
+int self_referential_id
+SelfReferential referenced
}
SelfReferential "1" --> "0..1" SelfReferential : referenced
`,
{ logLevel: 1, htmlLabels: true, look: 'handDrawn' }
);
});
});
2 changes: 1 addition & 1 deletion docs/config/setup/defaultConfig/variables/configKeys.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@

> `const` **configKeys**: `Set`<`string`>

Defined in: [packages/mermaid/src/defaultConfig.ts:335](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/defaultConfig.ts#L335)
Defined in: [packages/mermaid/src/defaultConfig.ts:339](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/defaultConfig.ts#L339)
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

> **clearLayoutRenderState**(): `void`

Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts:145](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts#L145)
Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts:164](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts#L164)

## Returns

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

> **createCommonLayoutRenderer**<`CoreResult`, `PreparedLayout`, `MeasureResult`>(`__namedParameters`): (`data4Layout`, `svg`, `helpers?`, `options?`, `positions?`) => `Promise`<`void`>

Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts:88](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts#L88)
Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts:107](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts#L107)

## Type Parameters

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

> **defaultMeasureLayout**(`data4Layout`, `__namedParameters`): `Promise`<{ `graph`: `Graph`; `groups`: { `clusters`: `D3Selection`<`SVGGElement`>; `edgeLabels`: `D3Selection`<`SVGGElement`>; `edgePaths`: `D3Selection`<`SVGGElement`>; `nodes`: `D3Selection`<`SVGGElement`>; `rootGroups`: `D3Selection`<`SVGGElement`>; }; `nodeElements`: `Map`<`string`, `D3Selection`<`SVGElement` | `SVGGElement`>>; }>

Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts:152](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts#L152)
Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts:171](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts#L171)

## Parameters

Expand Down
6 changes: 3 additions & 3 deletions docs/config/setup/mermaid/functions/paintLayoutData.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@

# Function: paintLayoutData()

> **paintLayoutData**(`data4Layout`, `__namedParameters`, `options`): `Promise`<`void`>
> **paintLayoutData**(`data4Layout`, `context`, `options`): `Promise`<`void`>

Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts:159](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts#L159)
Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts:178](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts#L178)

## Parameters

### data4Layout

[`LayoutData`](../interfaces/LayoutData.md)

### \_\_namedParameters
### context

[`CommonLayoutPaintContext`](../interfaces/CommonLayoutPaintContext.md)<`unknown`, { `graph`: `Graph`; `groups`: { `clusters`: `D3Selection`<`SVGGElement`>; `edgeLabels`: `D3Selection`<`SVGGElement`>; `edgePaths`: `D3Selection`<`SVGGElement`>; `nodes`: `D3Selection`<`SVGGElement`>; `rootGroups`: `D3Selection`<`SVGGElement`>; }; `nodeElements`: `Map`<`string`, `D3Selection`<`SVGElement` | `SVGGElement`>>; }>

Expand Down
14 changes: 7 additions & 7 deletions docs/config/setup/mermaid/interfaces/CommonLayoutPaintContext.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

# Interface: CommonLayoutPaintContext\<PreparedLayout, MeasureResult>

Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts:46](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts#L46)
Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts:47](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts#L47)

## Extends

Expand All @@ -32,7 +32,7 @@ Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.

> **element**: `D3Selection`<`SVGElement`>

Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts:39](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts#L39)
Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts:40](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts#L40)

#### Inherited from

Expand All @@ -44,7 +44,7 @@ Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.

> `optional` **helpers**: `object`

Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts:40](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts#L40)
Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts:41](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts#L41)

#### common

Expand Down Expand Up @@ -492,15 +492,15 @@ The curve factory to use

> **measure**: `MeasureResult`

Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts:50](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts#L50)
Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts:51](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts#L51)

---

### options?

> `optional` **options**: [`RenderOptions`](RenderOptions.md)

Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts:41](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts#L41)
Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts:42](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts#L42)

#### Inherited from

Expand All @@ -512,7 +512,7 @@ Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.

> `optional` **positions**: `Positions`

Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts:42](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts#L42)
Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts:43](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts#L43)

#### Inherited from

Expand All @@ -524,7 +524,7 @@ Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.

> `optional` **preparedLayout**: `PreparedLayout`

Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts:43](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts#L43)
Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts:44](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts#L44)

#### Inherited from

Expand Down
106 changes: 103 additions & 3 deletions docs/config/setup/mermaid/interfaces/CommonLayoutPaintOptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,93 @@

# Interface: CommonLayoutPaintOptions

Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts:53](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts#L53)
Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts:54](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts#L54)

## Properties

### clusterDb?

> `optional` **clusterDb**: `ClusterDb`

Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts:55](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts#L55)

---

### getEdgeNode()?

> `optional` **getEdgeNode**: (`id`, `edge`, `context`) => `object` | `Node` | `undefined`

Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts:60](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts#L60)

#### Parameters

##### id

`string` | `undefined`

##### edge

`Edge`

##### context

[`CommonLayoutPaintContext`](CommonLayoutPaintContext.md)<`unknown`, { `graph`: `Graph`; `groups`: { `clusters`: `D3Selection`<`SVGGElement`>; `edgeLabels`: `D3Selection`<`SVGGElement`>; `edgePaths`: `D3Selection`<`SVGGElement`>; `nodes`: `D3Selection`<`SVGGElement`>; `rootGroups`: `D3Selection`<`SVGGElement`>; }; `nodeElements`: `Map`<`string`, `D3Selection`<`SVGElement` | `SVGGElement`>>; }>

#### Returns

`object` | `Node` | `undefined`

---

### getNodes()?

> `optional` **getNodes**: (`data4Layout`, `context`) => `Iterable`<`Node`>

Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts:56](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts#L56)

#### Parameters

##### data4Layout

[`LayoutData`](LayoutData.md)

##### context

[`CommonLayoutPaintContext`](CommonLayoutPaintContext.md)<`unknown`, { `graph`: `Graph`; `groups`: { `clusters`: `D3Selection`<`SVGGElement`>; `edgeLabels`: `D3Selection`<`SVGGElement`>; `edgePaths`: `D3Selection`<`SVGGElement`>; `nodes`: `D3Selection`<`SVGGElement`>; `rootGroups`: `D3Selection`<`SVGGElement`>; }; `nodeElements`: `Map`<`string`, `D3Selection`<`SVGElement` | `SVGGElement`>>; }>

#### Returns

`Iterable`<`Node`>

---

### isCluster()?

> `optional` **isCluster**: (`node`, `context`) => `boolean`

Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts:69](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts#L69)

#### Parameters

##### node

`Node`

##### context

[`CommonLayoutPaintContext`](CommonLayoutPaintContext.md)<`unknown`, { `graph`: `Graph`; `groups`: { `clusters`: `D3Selection`<`SVGGElement`>; `edgeLabels`: `D3Selection`<`SVGGElement`>; `edgePaths`: `D3Selection`<`SVGGElement`>; `nodes`: `D3Selection`<`SVGGElement`>; `rootGroups`: `D3Selection`<`SVGGElement`>; }; `nodeElements`: `Map`<`string`, `D3Selection`<`SVGElement` | `SVGGElement`>>; }>

#### Returns

`boolean`

---

### skipEdge()?

> `optional` **skipEdge**: (`edge`) => `boolean`

Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts:54](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts#L54)
Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts:73](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts#L73)

#### Parameters

Expand All @@ -36,4 +114,26 @@ Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.

> `optional` **skipIntersect**: `boolean` | (`edge`) => `boolean`

Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts:55](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts#L55)
Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts:74](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts#L74)

---

### skipNode()?

> `optional` **skipNode**: (`node`, `context`) => `boolean`

Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts:65](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts#L65)

#### Parameters

##### node

`Node`

##### context

[`CommonLayoutPaintContext`](CommonLayoutPaintContext.md)<`unknown`, { `graph`: `Graph`; `groups`: { `clusters`: `D3Selection`<`SVGGElement`>; `edgeLabels`: `D3Selection`<`SVGGElement`>; `edgePaths`: `D3Selection`<`SVGGElement`>; `nodes`: `D3Selection`<`SVGGElement`>; `rootGroups`: `D3Selection`<`SVGGElement`>; }; `nodeElements`: `Map`<`string`, `D3Selection`<`SVGElement` | `SVGGElement`>>; }>

#### Returns

`boolean`
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

# Interface: CommonLayoutRenderContext\<PreparedLayout>

Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts:38](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts#L38)
Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts:39](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts#L39)

## Extended by

Expand All @@ -28,15 +28,15 @@ Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.

> **element**: `D3Selection`<`SVGElement`>

Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts:39](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts#L39)
Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts:40](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts#L40)

---

### helpers?

> `optional` **helpers**: `object`

Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts:40](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts#L40)
Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts:41](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts#L41)

#### common

Expand Down Expand Up @@ -480,20 +480,20 @@ The curve factory to use

> `optional` **options**: [`RenderOptions`](RenderOptions.md)

Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts:41](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts#L41)
Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts:42](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts#L42)

---

### positions?

> `optional` **positions**: `Positions`

Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts:42](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts#L42)
Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts:43](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts#L43)

---

### preparedLayout?

> `optional` **preparedLayout**: `PreparedLayout`

Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts:43](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts#L43)
Defined in: [packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts:44](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/layout-algorithms/common/index.ts#L44)
Loading
Loading