@knowvah/dot-engine 0.1.0 → 1.0.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 +7 -4
- package/package.json +10 -9
- package/dist/bundle.js +0 -101
package/README.md
CHANGED
|
@@ -2,10 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
# @knowvah/dot-engine
|
|
4
4
|
|
|
5
|
-
A faithful TypeScript port of [Graphviz](https://
|
|
6
|
-
graph-visualization toolkit
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
A faithful TypeScript port of [Graphviz](https://graphviz.org/) — the
|
|
6
|
+
graph-visualization toolkit that originated at AT&T Bell Labs (a foundational
|
|
7
|
+
technical report dates to 1991). It parses the
|
|
8
|
+
[DOT language](https://graphviz.org/doc/info/lang.html), runs Graphviz's layout
|
|
9
|
+
engines, and emits SVG. Ported line-by-line from the canonical
|
|
10
|
+
[C source](https://gitlab.com/graphviz/graphviz); see
|
|
11
|
+
[Graphviz on Wikipedia](https://en.wikipedia.org/wiki/Graphviz) for background.
|
|
9
12
|
|
|
10
13
|
The defining property: **pure TypeScript — no C.** No compiled Graphviz binary, no WASM build of it, no native dependencies.
|
|
11
14
|
It runs in a browser or in Node with zero external dependencies at runtime. The
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knowvah/dot-engine",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Faithful TypeScript port of Graphviz (dot, neato, fdp, sfdp, circo, twopi, osage, patchwork) — no C: no native binary, no WASM. Oracle-verified against the C implementation, runs in the browser.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"graphviz",
|
|
@@ -66,13 +66,12 @@
|
|
|
66
66
|
"survey:dashboard": "tsx test/corpus/dashboard.ts",
|
|
67
67
|
"survey:baseline": "GV_TEXT_MEASURER=lut tsx test/corpus/survey.ts",
|
|
68
68
|
"docs:copy-reports": "node docs-site/copy-reports.mjs",
|
|
69
|
+
"docs:copy-goldens": "node docs-site/copy-goldens.mjs",
|
|
69
70
|
"docs:api": "typedoc",
|
|
70
|
-
"docs:dev": "npm run docs:copy-reports && npm run docs:api && vitepress dev docs-site",
|
|
71
|
-
"docs:build": "npm run docs:copy-reports && npm run docs:api && vitepress build docs-site",
|
|
71
|
+
"docs:dev": "npm run docs:copy-reports && npm run docs:copy-goldens && npm run docs:api && vitepress dev docs-site",
|
|
72
|
+
"docs:build": "npm run docs:copy-reports && npm run docs:copy-goldens && npm run docs:api && vitepress build docs-site",
|
|
72
73
|
"docs:preview": "vitepress preview docs-site",
|
|
73
|
-
"
|
|
74
|
-
"version-packages": "changeset version",
|
|
75
|
-
"release": "npm run build && changeset publish",
|
|
74
|
+
"release": "semantic-release",
|
|
76
75
|
"publish:check": "npm run typecheck && npm run build && npm pack --dry-run",
|
|
77
76
|
"prepublishOnly": "npm run typecheck && npm run build"
|
|
78
77
|
},
|
|
@@ -88,7 +87,10 @@
|
|
|
88
87
|
}
|
|
89
88
|
},
|
|
90
89
|
"devDependencies": {
|
|
91
|
-
"@
|
|
90
|
+
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
91
|
+
"@semantic-release/github": "^12.0.9",
|
|
92
|
+
"@semantic-release/npm": "^13.1.5",
|
|
93
|
+
"@semantic-release/release-notes-generator": "^14.1.1",
|
|
92
94
|
"@types/fontkit": "^2.0.9",
|
|
93
95
|
"@types/node": "^26.0.0",
|
|
94
96
|
"@typescript/native-preview": "^7.0.0-dev.20260622.1",
|
|
@@ -97,14 +99,13 @@
|
|
|
97
99
|
"canvas": "^3.2.3",
|
|
98
100
|
"esbuild": "^0.28.1",
|
|
99
101
|
"fontkit": "^2.0.4",
|
|
100
|
-
"mermaid": "^11.16.0",
|
|
101
102
|
"peggy": "^5.0.0",
|
|
103
|
+
"semantic-release": "^25.0.8",
|
|
102
104
|
"typedoc": "^0.28.20",
|
|
103
105
|
"typedoc-plugin-markdown": "^4.12.0",
|
|
104
106
|
"typedoc-vitepress-theme": "^1.1.3",
|
|
105
107
|
"typescript": "^6.0.0",
|
|
106
108
|
"vitepress": "^1.6.0",
|
|
107
|
-
"vitepress-plugin-mermaid": "^2.0.17",
|
|
108
109
|
"vitest": "^4.1.9"
|
|
109
110
|
},
|
|
110
111
|
"volta": {
|