@knowvah/dot-engine 1.7.0 → 1.8.1
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 +9 -7
- package/package.json +14 -8
package/README.md
CHANGED
|
@@ -264,7 +264,7 @@ advanced use — e.g. inspecting the parsed model, or driving layout and
|
|
|
264
264
|
rendering as separate steps. `createGraph`/`addEdge`, `getLayout`, `render`,
|
|
265
265
|
and `getDrawOps` are the graph-building, geometry-readback, multi-format
|
|
266
266
|
render, and structured-draw-op surfaces respectively — see the
|
|
267
|
-
[API guide](https://
|
|
267
|
+
[API guide](https://dot-engine.knowvah.com/guide/api) for full
|
|
268
268
|
walkthroughs of each.
|
|
269
269
|
|
|
270
270
|
## Development
|
|
@@ -290,16 +290,18 @@ from the canonical C Graphviz. New behavior is pinned to the C source — see
|
|
|
290
290
|
`patchwork`) or is characterized at a looser ±0.5 tolerance for the
|
|
291
291
|
iterative force-directed engines (`neato`, `fdp`, `sfdp`) — never literal
|
|
292
292
|
byte equality. Full definition: [Conformance](./docs/conformance.md).
|
|
293
|
-
- **Current parity:** `dot` SVG
|
|
293
|
+
- **Current parity:** `dot` SVG 910/927 conformant (0 unaccepted tracked gaps —
|
|
294
294
|
every remaining non-conformant graph is a documented, accepted divergence);
|
|
295
|
-
`dot` xdot
|
|
296
|
-
xdot
|
|
297
|
-
|
|
298
|
-
|
|
295
|
+
`dot` xdot 905/905; `patchwork` xdot 905/905; `osage` xdot 897/905; `circo`
|
|
296
|
+
xdot 902/907; `twopi` xdot 893/910 (all deterministic, ±0.01). Denominators
|
|
297
|
+
leave out inputs the C oracle itself cannot render; port errors and
|
|
298
|
+
timeouts stay in as failures. `neato`/`fdp`/`sfdp` (826/910, 703/907,
|
|
299
|
+
619/910) are characterized at ±0.5 rather than gated at the deterministic
|
|
300
|
+
bar, per the tolerance split above. These figures are a
|
|
299
301
|
snapshot of one row each from [`test/corpus/PARITY.md`](./test/corpus/PARITY.md),
|
|
300
302
|
which is generated by `test/corpus/parity-report.ts` and covers every
|
|
301
303
|
engine × surface track (SVG, xdot, json, plain, imagemap); read it, or the
|
|
302
|
-
[docs-site parity pages](https://
|
|
304
|
+
[docs-site parity pages](https://dot-engine.knowvah.com/engines),
|
|
303
305
|
rather than this bullet for current counts.
|
|
304
306
|
- **What's tracked:** every C algorithm and its port status is inventoried in
|
|
305
307
|
the [port catalog](./plans/port-catalog/README.md). Items marked `[ ]` there
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knowvah/dot-engine",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.1",
|
|
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",
|
|
@@ -17,13 +17,15 @@
|
|
|
17
17
|
"license": "EPL-2.0",
|
|
18
18
|
"author": "Scott Seely",
|
|
19
19
|
"publishConfig": {
|
|
20
|
-
"access": "public"
|
|
20
|
+
"access": "public",
|
|
21
|
+
"registry": "https://registry.npmjs.org/",
|
|
22
|
+
"@knowvah:registry": "https://registry.npmjs.org/"
|
|
21
23
|
},
|
|
22
24
|
"repository": {
|
|
23
25
|
"type": "git",
|
|
24
26
|
"url": "git+https://github.com/knowvah/dot-engine.git"
|
|
25
27
|
},
|
|
26
|
-
"homepage": "https://
|
|
28
|
+
"homepage": "https://dot-engine.knowvah.com/",
|
|
27
29
|
"bugs": {
|
|
28
30
|
"url": "https://github.com/knowvah/dot-engine/issues"
|
|
29
31
|
},
|
|
@@ -71,12 +73,13 @@
|
|
|
71
73
|
"survey:dashboard": "tsx test/corpus/dashboard.ts",
|
|
72
74
|
"survey:baseline": "GV_TEXT_MEASURER=lut tsx test/corpus/survey.ts",
|
|
73
75
|
"bench:wasm": "node --expose-gc test/corpus/wasm-bench.mjs",
|
|
76
|
+
"docs:brand": "node docs-site/copy-brand-assets.mjs",
|
|
74
77
|
"docs:copy-reports": "node docs-site/copy-reports.mjs",
|
|
75
78
|
"docs:copy-goldens": "node docs-site/copy-goldens.mjs",
|
|
76
79
|
"docs:api": "typedoc",
|
|
77
|
-
"docs:dev": "npm run docs:copy-reports && npm run docs:copy-goldens && npm run docs:api && vitepress dev docs-site",
|
|
80
|
+
"docs:dev": "npm run docs:brand && npm run docs:copy-reports && npm run docs:copy-goldens && npm run docs:api && vitepress dev docs-site",
|
|
78
81
|
"predocs:build": "npm run parser:regen",
|
|
79
|
-
"docs:build": "npm run docs:copy-reports && npm run docs:copy-goldens && npm run docs:api && vitepress build docs-site",
|
|
82
|
+
"docs:build": "npm run docs:brand && npm run docs:copy-reports && npm run docs:copy-goldens && npm run docs:api && vitepress build docs-site",
|
|
80
83
|
"docs:preview": "vitepress preview docs-site",
|
|
81
84
|
"release": "semantic-release",
|
|
82
85
|
"publish:check": "npm run typecheck && npm run build && npm pack --dry-run",
|
|
@@ -94,7 +97,10 @@
|
|
|
94
97
|
}
|
|
95
98
|
},
|
|
96
99
|
"devDependencies": {
|
|
100
|
+
"@fontsource/jetbrains-mono": "^5.3.0",
|
|
97
101
|
"@hpcc-js/wasm-graphviz": "1.28.0",
|
|
102
|
+
"@knowvah/theme": "0.3.0",
|
|
103
|
+
"@knowvah/vitepress-plugin-dot": "^3.0.1",
|
|
98
104
|
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
99
105
|
"@semantic-release/github": "^12.0.9",
|
|
100
106
|
"@semantic-release/npm": "^13.1.5",
|
|
@@ -111,7 +117,6 @@
|
|
|
111
117
|
"tsx": "^4.23.1",
|
|
112
118
|
"typedoc": "^0.28.20",
|
|
113
119
|
"typedoc-plugin-markdown": "^4.12.0",
|
|
114
|
-
"@knowvah/vitepress-plugin-dot": "^1.0.0",
|
|
115
120
|
"typedoc-vitepress-theme": "^1.1.3",
|
|
116
121
|
"typescript": "^6.0.0",
|
|
117
122
|
"vitepress": "^1.6.0",
|
|
@@ -119,10 +124,11 @@
|
|
|
119
124
|
},
|
|
120
125
|
"overrides": {
|
|
121
126
|
"postcss": "^8.5.25",
|
|
122
|
-
"brace-expansion": "^5.0.
|
|
127
|
+
"brace-expansion": "^5.0.12",
|
|
123
128
|
"vitepress": {
|
|
124
129
|
"vite": "^6.4.3"
|
|
125
|
-
}
|
|
130
|
+
},
|
|
131
|
+
"@knowvah/dot-engine": "https://registry.npmjs.org/@knowvah/dot-engine/-/dot-engine-1.7.0.tgz"
|
|
126
132
|
},
|
|
127
133
|
"volta": {
|
|
128
134
|
"node": "26.3.1"
|