zombie-mermaid 1.2.0 → 1.3.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 +1 -0
- package/dist/cli.js +1267 -108
- package/dist/index.cjs +1267 -108
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +53 -2
- package/dist/index.d.ts +53 -2
- package/dist/index.js +1267 -108
- package/dist/index.js.map +1 -1
- package/package.json +5 -3
- package/src/__tests__/ascii-cjk-width.test.ts +6 -41
- package/src/__tests__/ascii-multibox-cjk-width.test.ts +184 -0
- package/src/__tests__/ascii-shapes-special.test.ts +48 -0
- package/src/__tests__/edge-bundling-node-clearance.test.ts +179 -0
- package/src/__tests__/expanded-shapes.test.ts +229 -0
- package/src/__tests__/flowchart-syntax-gaps.test.ts +371 -0
- package/src/__tests__/guides-examples.test.ts +181 -0
- package/src/__tests__/helpers/terminal-display-width.ts +46 -0
- package/src/__tests__/interactivity-config.test.ts +559 -0
- package/src/__tests__/nested-subgraph-direction-crossing.test.ts +7 -7
- package/src/__tests__/statements.test.ts +247 -0
- package/src/ascii/class-diagram.ts +17 -20
- package/src/ascii/converter.ts +17 -1
- package/src/ascii/draw-arrows.ts +17 -4
- package/src/ascii/draw-boxes.ts +47 -20
- package/src/ascii/draw-lines.ts +9 -0
- package/src/ascii/draw.ts +1 -0
- package/src/ascii/er-diagram.ts +19 -21
- package/src/ascii/sequence.ts +2 -4
- package/src/ascii/shapes/corners.ts +143 -0
- package/src/ascii/shapes/index.ts +4 -0
- package/src/ascii/shapes/special.ts +42 -0
- package/src/ascii/types.ts +1 -1
- package/src/ascii/xychart.ts +2 -4
- package/src/browser.ts +11 -0
- package/src/diagram-type.ts +7 -4
- package/src/edge-curves.ts +205 -0
- package/src/expanded-shapes.ts +376 -0
- package/src/index.ts +17 -6
- package/src/init-directive.ts +248 -0
- package/src/layout-engine/edge-bundling.ts +96 -4
- package/src/layout-engine/from-elk.ts +21 -3
- package/src/layout-engine/to-elk.ts +8 -1
- package/src/multiline-utils.ts +13 -1
- package/src/parser.ts +347 -53
- package/src/renderer.ts +633 -17
- package/src/statements.ts +161 -0
- package/src/types.ts +80 -1
package/README.md
CHANGED
|
@@ -117,6 +117,7 @@ zombie-mermaid --help # Show all options
|
|
|
117
117
|
|
|
118
118
|
## Docs
|
|
119
119
|
|
|
120
|
+
- [Guides](docs/guides/) — task-oriented walkthroughs: [browsing the samples](docs/guides/samples.md), [choosing a theme](docs/guides/theming.md)
|
|
120
121
|
- [Theming](docs/theming.md) — the two-color foundation, enriched mode, built-in themes, custom themes, Shiki compatibility
|
|
121
122
|
- [Supported Diagrams](docs/diagrams.md) — syntax for every diagram type, XY chart styling, and ASCII rendering options
|
|
122
123
|
- [React Integration](docs/react-integration.md) — zero-flash rendering with `useMemo()`
|