@zombie-mermaid/svg-renderer 5.14.4 → 5.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/index.cjs +131 -67
- package/dist/index.js +137 -73
- package/dist/shared/index.d.ts +85 -6
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
SVG layout and rendering primitives for [Mermaid](https://mermaid.js.org/) diagrams — the [ELK.js](https://github.com/kieler/elkjs)-backed layout engine and per-diagram-type SVG emitters behind [`zombie-mermaid`](https://www.npmjs.com/package/zombie-mermaid)'s SVG output.
|
|
7
7
|
|
|
8
|
-
Supports flowcharts, state diagrams, sequence diagrams, class diagrams, ER diagrams, XY charts, pie charts, quadrant charts, C4 diagrams, and architecture diagrams.
|
|
8
|
+
Supports flowcharts, state diagrams, sequence diagrams, class diagrams, ER diagrams, XY charts, pie charts, quadrant charts, gantt charts, mindmaps, C4 diagrams, and architecture diagrams.
|
|
9
9
|
|
|
10
10
|
## Install
|
|
11
11
|
|
|
@@ -14,7 +14,7 @@ npm install @zombie-mermaid/svg-renderer elkjs
|
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
`elkjs` is an **optional peer dependency**. Flowchart, state, class, ER and
|
|
17
|
-
architecture diagrams need it; sequence, pie, quadrant, xychart and C4 do not. Under Node
|
|
17
|
+
architecture diagrams need it; sequence, pie, quadrant, gantt, mindmap, xychart and C4 do not. Under Node
|
|
18
18
|
and Bun it is auto-loaded; in a browser or bundler register it once:
|
|
19
19
|
|
|
20
20
|
```ts
|