@rse/gradia 1.1.0 → 1.1.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 +23 -15
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -259,21 +259,21 @@ command-line options (`font-embed` being command-line only, see below).
|
|
|
259
259
|
The recognized options are:
|
|
260
260
|
|
|
261
261
|
```
|
|
262
|
-
font-family color-edge-name graph-
|
|
263
|
-
font-embed color-edge-arity graph-gutter-height-
|
|
264
|
-
color-node-regular-name color-edge-halo graph-
|
|
265
|
-
color-node-regular-box size-canvas-margin graph-
|
|
266
|
-
color-node-regular-border size-node-width-min graph-
|
|
267
|
-
color-node-primary-name size-node-width-max
|
|
268
|
-
color-node-primary-box size-node-height-scale hub-channel-width-
|
|
269
|
-
color-node-primary-border size-edge-corner-radius hub-
|
|
270
|
-
color-node-ghost-name size-edge-hop-radius hub-node-
|
|
271
|
-
color-node-ghost-box size-edge-track-gap
|
|
272
|
-
color-node-ghost-border
|
|
273
|
-
color-group-name group-box-
|
|
274
|
-
color-group-box
|
|
275
|
-
color-group-border graph-
|
|
276
|
-
color-edge-line graph-channel-width-
|
|
262
|
+
font-family color-edge-name graph-channel-width-min
|
|
263
|
+
font-embed color-edge-arity graph-gutter-height-max
|
|
264
|
+
color-node-regular-name color-edge-halo graph-gutter-height-min
|
|
265
|
+
color-node-regular-box size-canvas-margin graph-node-separation
|
|
266
|
+
color-node-regular-border size-node-width-min graph-rank-separation
|
|
267
|
+
color-node-primary-name size-node-width-max graph-node-degree-max
|
|
268
|
+
color-node-primary-box size-node-height-scale hub-channel-width-max
|
|
269
|
+
color-node-primary-border size-edge-corner-radius hub-channel-width-min
|
|
270
|
+
color-node-ghost-name size-edge-hop-radius hub-node-gap
|
|
271
|
+
color-node-ghost-box size-edge-track-gap hub-node-degree-max
|
|
272
|
+
color-node-ghost-border size-edge-port-gap grid-columns-max
|
|
273
|
+
color-group-name group-box-padding grid-columns-min
|
|
274
|
+
color-group-box group-box-gap grid-gap-horizontal
|
|
275
|
+
color-group-border graph-columns-max grid-gap-vertical
|
|
276
|
+
color-edge-line graph-channel-width-max grid-node-width-equal
|
|
277
277
|
```
|
|
278
278
|
|
|
279
279
|
The `size-*`, `group-*`, `graph-*`, `hub-*`, and `grid-*` options
|
|
@@ -289,6 +289,14 @@ default `0` disables the wrapping entirely and hence lets a node box
|
|
|
289
289
|
become as wide as its longest text. A single word wider than the
|
|
290
290
|
maximum is never broken and still widens the box beyond the maximum.
|
|
291
291
|
|
|
292
|
+
The `size-edge-port-gap` option (default `24`) controls the distance of
|
|
293
|
+
the edge attachment ports along a node side, and hence the vertical
|
|
294
|
+
distance of the parallel edges and their labels. It is a *maximum*: a
|
|
295
|
+
node box too small to hold all its ports at that distance packs them
|
|
296
|
+
closer together instead. A node side carrying more edges than
|
|
297
|
+
`graph-node-degree-max` respectively `hub-node-degree-max` grows its box
|
|
298
|
+
height by this very distance per additional edge.
|
|
299
|
+
|
|
292
300
|
The `graph-channel-width-*` and `graph-gutter-height-*` options control
|
|
293
301
|
the spacing of a `graph` diagram: its inter-column channels and
|
|
294
302
|
inter-row gutters are sized by the edges routed through them and by the
|
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.1.
|
|
6
|
+
"version": "1.1.1",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"author": {
|
|
9
9
|
"name": "Dr. Ralf S. Engelschall",
|