@diagrampilot/render-svg 0.2.16 → 0.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 +12 -6
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
# @diagrampilot/render-svg
|
|
2
2
|
|
|
3
|
-
SVG rendering
|
|
3
|
+
SVG rendering adapter for validated DiagramSpec data.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
Most users should call the CLI:
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
diagrampilot render <path> --out <artifact.svg>
|
|
9
|
+
diagrampilot render <path> --format png --out <artifact.png>
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
SVG remains the default render format. PNG rendering is part of the v0.3.0
|
|
13
|
+
Alpha Capability Release and rasterizes the SVG render path so SVG and PNG stay
|
|
14
|
+
visually aligned.
|
|
10
15
|
|
|
11
16
|
Public documentation:
|
|
12
17
|
|
|
13
18
|
- https://diagrampilot.com/docs/agents/quickstart.md
|
|
19
|
+
- https://diagrampilot.com/docs/agents/spec.md
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@diagrampilot/render-svg",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "SVG rendering and PNG rasterization adapter for DiagramPilot.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"build": "tsc -b"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@diagrampilot/core": "0.
|
|
48
|
-
"@diagrampilot/export-d2": "0.
|
|
47
|
+
"@diagrampilot/core": "0.3.0",
|
|
48
|
+
"@diagrampilot/export-d2": "0.3.0",
|
|
49
49
|
"@resvg/resvg-js": "2.6.2",
|
|
50
50
|
"@terrastruct/d2": "0.1.33"
|
|
51
51
|
}
|