@rse/gradia 1.2.2 → 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/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
 
@@ -208,8 +212,10 @@ ${configOptions}
208
212
  The "size-*", "group-*", "container-*", "graph-*", "hub-*", and "grid-*" options
209
213
  control the rendering geometry (canvas margin, node box sizing, edge routing,
210
214
  group and container box spacing, and the per-diagram-type layout) and take
211
- non-negative numbers, except the boolean "grid-node-width-equal", which forces
212
- all node boxes of a "grid" diagram to the width of the widest one.
215
+ non-negative numbers, except the booleans "grid-node-width-equal" and
216
+ "grid-node-height-equal", which force all node boxes of a "grid" diagram to
217
+ the width of the widest one and to the height of the tallest one (a nested
218
+ container box taking part in the width unification only).
213
219
 
214
220
  The "size-node-width-max" option additionally enables the word-wrapping of the
215
221
  node box texts: given a positive value, the node name, its type, and its
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.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.4"
32
+ "zod": "4.6.5"
33
33
  },
34
34
  "devDependencies": {
35
- "eslint": "10.9.1",
35
+ "eslint": "10.11.0",
36
36
  "@eslint/js": "10.0.1",
37
- "typescript-eslint": "8.69.0",
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.4.1",
43
- "@rse/stx": "1.1.6",
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.2.2"
46
+ "vite": "8.3.0"
47
47
  },
48
48
  "engines": {
49
49
  "node": ">=22.13.0"