@rse/gradia 1.2.3 → 1.2.4
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 +32 -27
- package/dst/gradia-api-config.d.ts +3 -0
- package/dst/gradia-api-config.js +4 -1
- package/dst/gradia-api-render-base.js +3 -3
- package/dst/gradia-api-render-container.js +4 -1
- package/dst/gradia-api-render-edge.js +7 -6
- package/dst/gradia-api-render-group.js +4 -0
- package/dst/gradia-api-render-node.js +5 -6
- package/dst/gradia-api-render-svg.js +3 -3
- package/dst/gradia-api-type-graph.js +10 -6
- package/dst/gradia-api-type-grid.js +2 -1
- package/dst/gradia-api-type-hub.js +23 -5
- package/dst/gradia-api.js +1 -1
- package/dst/gradia-api.umd.js +2 -2
- package/dst/gradia-mcp.js +5 -1
- package/package.json +7 -7
package/dst/gradia-mcp.js
CHANGED
|
@@ -45,7 +45,6 @@ conditions hold:
|
|
|
45
45
|
- Exactly one node carries the attribute "primary: true".
|
|
46
46
|
- Every edge either points to or originates from that primary node. An edge
|
|
47
47
|
between two non-primary nodes is rejected.
|
|
48
|
-
- The primary node carries no self-loop.
|
|
49
48
|
- Every non-primary node is an input or an output of the primary node, i.e.,
|
|
50
49
|
no node is free-standing.
|
|
51
50
|
|
|
@@ -54,6 +53,11 @@ twice, once in the input column and once in the output column. The second
|
|
|
54
53
|
placement is rendered as a dashed "ghost" box, colored by the
|
|
55
54
|
"color-node-ghost-*" options.
|
|
56
55
|
|
|
56
|
+
A self-loop on the primary node is unrolled: the primary node is placed a
|
|
57
|
+
second time on top of the output column, as the target of the self-loop.
|
|
58
|
+
This second placement is rendered as a dashed "self" box, colored by the
|
|
59
|
+
(darker grey) "color-node-self-*" options.
|
|
60
|
+
|
|
57
61
|
The "grid" type rejects the input with an error as soon as the graph contains
|
|
58
62
|
at least one edge.
|
|
59
63
|
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Object Graph Diagram Rendering",
|
|
4
4
|
"keywords": [ "object", "graph", "diagram", "rendering", "svg", "layout", "api", "cli" ],
|
|
5
5
|
"publishConfig": { "access": "public" },
|
|
6
|
-
"version": "1.2.
|
|
6
|
+
"version": "1.2.4",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"author": {
|
|
9
9
|
"name": "Dr. Ralf S. Engelschall",
|
|
@@ -29,21 +29,21 @@
|
|
|
29
29
|
"pure-uuid": "2.0.0",
|
|
30
30
|
"source-sans": "3.52.0",
|
|
31
31
|
"@modelcontextprotocol/sdk": "1.30.0",
|
|
32
|
-
"zod": "4.5
|
|
32
|
+
"zod": "4.6.5"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"eslint": "10.
|
|
35
|
+
"eslint": "10.11.0",
|
|
36
36
|
"@eslint/js": "10.0.1",
|
|
37
|
-
"typescript-eslint": "8.
|
|
37
|
+
"typescript-eslint": "8.70.0",
|
|
38
38
|
"eslint-plugin-promise": "7.3.0",
|
|
39
39
|
"neostandard": "0.14.0-next.1",
|
|
40
40
|
"globals": "17.12.0",
|
|
41
41
|
"typescript": "6.0.3",
|
|
42
|
-
"@types/node": "26.
|
|
43
|
-
"@rse/stx": "1.1.
|
|
42
|
+
"@types/node": "26.6.2",
|
|
43
|
+
"@rse/stx": "1.1.7",
|
|
44
44
|
"shx": "0.4.0",
|
|
45
45
|
"nodemon": "3.1.14",
|
|
46
|
-
"vite": "8.
|
|
46
|
+
"vite": "8.3.0"
|
|
47
47
|
},
|
|
48
48
|
"engines": {
|
|
49
49
|
"node": ">=22.13.0"
|