ts-graphviz 1.5.6-dev.29eb2444f → 1.5.6-dev.d45e33d3b
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 +0 -74
- package/lib/adapter/node/index.d.ts +1 -1
- package/lib/adapter/types/index.d.ts +2 -12
- package/lib/common/index.d.ts +1281 -3861
- package/lib/core/index.d.ts +2482 -5
- package/lib/index.d.ts +0 -1
- package/lib/utils/index.d.ts +1 -8
- package/package.json +1 -1
package/lib/core/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
Attribute,
|
|
3
2
|
AttributeKey,
|
|
4
3
|
Attributes,
|
|
5
4
|
AttributesObject,
|
|
5
|
+
Attribute,
|
|
6
6
|
AttributesEntities,
|
|
7
7
|
AttributeListKind,
|
|
8
8
|
AttributeListModel,
|
|
@@ -33,14 +33,2491 @@ import { ConvertFromModelOptions, PrintOptions, ParseOptions, ConvertToModelOpti
|
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
35
|
* @group Attribute
|
|
36
|
-
*
|
|
37
|
-
* @deprecated Use {@link Attribute.keys} instead.
|
|
38
36
|
*/
|
|
39
|
-
|
|
37
|
+
interface AttributeKeyDict {
|
|
38
|
+
/**
|
|
39
|
+
* Factor damping force motions.
|
|
40
|
+
* On each iteration, a nodes movement is limited to this factor of its potential motion.
|
|
41
|
+
* By being less than 1.0, the system tends to ``cool'', thereby preventing cycling.
|
|
42
|
+
*
|
|
43
|
+
* @see {@link https://graphviz.org/docs/attrs/Damping/ Node, Edge and Graph Attributes#Damping}
|
|
44
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/double/ double}
|
|
45
|
+
* @graphvizDefault 0.99
|
|
46
|
+
* @graphvizMinimum 0
|
|
47
|
+
* @graphvizNotes neato only
|
|
48
|
+
* @graphvizUsedBy G
|
|
49
|
+
* @category Attribute
|
|
50
|
+
*/
|
|
51
|
+
Damping: 'Damping';
|
|
52
|
+
/**
|
|
53
|
+
* Spring constant used in virtual physical model.
|
|
54
|
+
* It roughly corresponds to an ideal edge length (in inches), in that increasing K tends to increase the distance between nodes.
|
|
55
|
+
* Note that the edge attribute {@link len} can be used to override this value for adjacent nodes.
|
|
56
|
+
*
|
|
57
|
+
* @see {@link https://graphviz.org/docs/attrs/K/ Node, Edge and Graph Attributes#K}
|
|
58
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/double/ double}
|
|
59
|
+
* @graphvizDefault 0.3
|
|
60
|
+
* @graphvizMinimum 0
|
|
61
|
+
* @graphvizNotes sfdp, fdp only
|
|
62
|
+
* @graphvizUsedBy GC
|
|
63
|
+
* @category Attribute
|
|
64
|
+
*/
|
|
65
|
+
K: 'K';
|
|
66
|
+
/**
|
|
67
|
+
* Hyperlinks incorporated into device-dependent output.
|
|
68
|
+
* At present, used in ps2, cmap, i*map and svg formats.
|
|
69
|
+
* For all these formats, URLs can be attached to nodes, edges and clusters.
|
|
70
|
+
* URL attributes can also be attached to the root graph in ps2, cmap and i*map formats.
|
|
71
|
+
* This serves as the base URL for relative URLs in the former, and as the default image map file in the latter.
|
|
72
|
+
*
|
|
73
|
+
* For svg, cmapx and imap output, the active area for a node is its visible image.
|
|
74
|
+
* For example, an unfilled node with no drawn boundary will only be active on its label.
|
|
75
|
+
* For other output, the active area is its bounding box.
|
|
76
|
+
* The active area for a cluster is its bounding box.
|
|
77
|
+
* For edges, the active areas are small circles where the edge contacts its head and tail nodes.
|
|
78
|
+
* In addition, for svg, cmapx and imap, the active area includes a thin polygon approximating the edge.
|
|
79
|
+
* The circles may overlap the related node, and the edge URL dominates.
|
|
80
|
+
* If the edge has a label, this will also be active. Finally, if the edge has a head or tail label, this will also be active.
|
|
81
|
+
*
|
|
82
|
+
* Note that, for edges, the attributes {@link headURL}, {@link tailURL}, {@link labelURL} and {@link edgeURL} allow control of various parts of an edge.
|
|
83
|
+
* Also note that, if active areas of two edges overlap, it is unspecified which area dominates.
|
|
84
|
+
*
|
|
85
|
+
* @see {@link https://graphviz.org/docs/attrs/URL/ Node, Edge and Graph Attributes#URL}
|
|
86
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/escString/ escString}
|
|
87
|
+
* @graphvizDefault <none>
|
|
88
|
+
* @graphvizNotes svg, postscript, map only
|
|
89
|
+
* @graphvizUsedBy ENGC
|
|
90
|
+
* @category Attribute
|
|
91
|
+
*/
|
|
92
|
+
URL: 'URL';
|
|
93
|
+
/**
|
|
94
|
+
* A string in the {@link https://graphviz.org/_pages/doc/info/output.html#d:xdot xdot format} specifying an arbitrary background.
|
|
95
|
+
* During rendering, the canvas is first filled as described in the {@link bgcolor} attribute.
|
|
96
|
+
* Then, if _background is defined, the graphics operations described in the string are performed on the canvas.
|
|
97
|
+
*
|
|
98
|
+
* @see {@link https://graphviz.org/docs/attrs/_background/ Node, Edge and Graph Attributes#_background}
|
|
99
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/string/ string}
|
|
100
|
+
* @graphvizDefault <none>
|
|
101
|
+
* @graphvizUsedBy G
|
|
102
|
+
* @category Attribute
|
|
103
|
+
*/
|
|
104
|
+
_background: '_background';
|
|
105
|
+
/**
|
|
106
|
+
* Indicates the preferred area for a node or empty cluster when laid out by patchwork.
|
|
107
|
+
*
|
|
108
|
+
* @see {@link https://graphviz.org/docs/attrs/area/ Node, Edge and Graph Attributes#area}
|
|
109
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/double/ double}
|
|
110
|
+
* @graphvizDefault 1
|
|
111
|
+
* @graphvizMinimum >0
|
|
112
|
+
* @graphvizNotes patchwork only
|
|
113
|
+
* @graphvizUsedBy NC
|
|
114
|
+
* @category Attribute
|
|
115
|
+
*/
|
|
116
|
+
area: 'area';
|
|
117
|
+
/**
|
|
118
|
+
* Style of arrowhead on the head node of an edge.
|
|
119
|
+
* This will only appear if the {@link dir} attribute is "forward" or "both".
|
|
120
|
+
*
|
|
121
|
+
* See the {@link https://graphviz.org/doc/info/attrs.html#undir_note limitation}.
|
|
122
|
+
*
|
|
123
|
+
* @see {@link https://graphviz.org/docs/attrs/arrowhead/ Node, Edge and Graph Attributes#arrowhead}
|
|
124
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/arrowType/ arrowType}
|
|
125
|
+
* @graphvizDefault normal
|
|
126
|
+
* @graphvizUsedBy E
|
|
127
|
+
* @category Attribute
|
|
128
|
+
*/
|
|
129
|
+
arrowhead: 'arrowhead';
|
|
130
|
+
/**
|
|
131
|
+
* Multiplicative scale factor for arrowheads.
|
|
132
|
+
*
|
|
133
|
+
* @see {@link https://graphviz.org/docs/attrs/arrowsize/ Node, Edge and Graph Attributes#arrowsize}
|
|
134
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/double/ double}
|
|
135
|
+
* @graphvizDefault 1
|
|
136
|
+
* @graphvizMinimum 0
|
|
137
|
+
* @graphvizUsedBy E
|
|
138
|
+
* @category Attribute
|
|
139
|
+
*/
|
|
140
|
+
arrowsize: 'arrowsize';
|
|
141
|
+
/**
|
|
142
|
+
* Style of arrowhead on the tail node of an edge.
|
|
143
|
+
* This will only appear if the {@link dir} attribute is "back" or "both".
|
|
144
|
+
*
|
|
145
|
+
* See the {@link https://graphviz.org/doc/info/attrs.html#undir_note limitation}.
|
|
146
|
+
*
|
|
147
|
+
* @see {@link https://graphviz.org/docs/attrs/arrowtail/ Node, Edge and Graph Attributes#arrowtail}
|
|
148
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/arrowType/ arrowType}
|
|
149
|
+
* @graphvizDefault normal
|
|
150
|
+
* @graphvizUsedBy E
|
|
151
|
+
* @category Attribute
|
|
152
|
+
*/
|
|
153
|
+
arrowtail: 'arrowtail';
|
|
154
|
+
/**
|
|
155
|
+
* Bounding box of drawing in points.
|
|
156
|
+
*
|
|
157
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/rect/ rect}
|
|
158
|
+
* @graphvizNotes write only
|
|
159
|
+
* @graphvizUsedBy G
|
|
160
|
+
* @category Attribute
|
|
161
|
+
*/
|
|
162
|
+
bb: 'bb';
|
|
163
|
+
/**
|
|
164
|
+
* When attached to the root graph, this color is used as the background for entire canvas.
|
|
165
|
+
* When a cluster attribute, it is used as the initial background for the cluster.
|
|
166
|
+
* If a cluster has a filled {@link style}, the cluster's {@link fillcolor} will overlay the background color.
|
|
167
|
+
*
|
|
168
|
+
* @see {@link https://graphviz.org/docs/attrs/bgcolor/ Node, Edge and Graph Attributes#bgcolor}
|
|
169
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/color/ color}/{@link https://graphviz.org/docs/attr-types/color/List colorList}
|
|
170
|
+
* @graphvizDefault <none>
|
|
171
|
+
* @graphvizUsedBy GC
|
|
172
|
+
* @category Attribute
|
|
173
|
+
*/
|
|
174
|
+
bgcolor: 'bgcolor';
|
|
175
|
+
/**
|
|
176
|
+
* If true, the drawing is centered in the output canvas.
|
|
177
|
+
*
|
|
178
|
+
* @see {@link https://graphviz.org/docs/attrs/center/ Node, Edge and Graph Attributes#center}
|
|
179
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/bool bool}
|
|
180
|
+
* @graphvizDefault FALSE
|
|
181
|
+
* @graphvizUsedBy G
|
|
182
|
+
* @category Attribute
|
|
183
|
+
*/
|
|
184
|
+
center: 'center';
|
|
185
|
+
/**
|
|
186
|
+
* Specifies the character encoding used when interpreting string input as a text label.
|
|
187
|
+
* The default value is "UTF-8". The other legal value is "iso-8859-1" or, equivalently, "Latin1".
|
|
188
|
+
* The charset attribute is case-insensitive.
|
|
189
|
+
* Note that if the character encoding used in the input does not match the charset value, the resulting output may be very strange.
|
|
190
|
+
*
|
|
191
|
+
* @see {@link https://graphviz.org/docs/attrs/charset/ Node, Edge and Graph Attributes#charset}
|
|
192
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/string/ string}
|
|
193
|
+
* @graphvizDefault "UTF-8"
|
|
194
|
+
* @graphvizUsedBy G
|
|
195
|
+
*
|
|
196
|
+
* @category Attribute
|
|
197
|
+
*/
|
|
198
|
+
charset: 'charset';
|
|
199
|
+
/**
|
|
200
|
+
* Classnames to attach to the node, edge, graph, or cluster's SVG element.
|
|
201
|
+
* Combine with stylesheet for styling SVG output using CSS classnames.
|
|
202
|
+
*
|
|
203
|
+
* @see {@link https://graphviz.org/docs/attrs/class/ class}
|
|
204
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/string/ string}
|
|
205
|
+
* @graphvizDefault ""
|
|
206
|
+
* @graphvizUsedBy ENCG
|
|
207
|
+
*/
|
|
208
|
+
class: 'class';
|
|
209
|
+
/**
|
|
210
|
+
* Mode used for handling clusters.
|
|
211
|
+
* If clusterrank is "local", a subgraph whose name begins with "cluster" is given special treatment.
|
|
212
|
+
* The subgraph is laid out separately, and then integrated as a unit into its parent graph, with a bounding rectangle drawn about it.
|
|
213
|
+
* If the cluster has a label parameter, this label is displayed within the rectangle.
|
|
214
|
+
* Note also that there can be clusters within clusters.
|
|
215
|
+
* At present, the modes "global" and "none" appear to be identical, both turning off the special cluster processing.
|
|
216
|
+
*
|
|
217
|
+
* @see {@link https://graphviz.org/docs/attrs/clusterrank/ Node, Edge and Graph Attributes#clusterrank}
|
|
218
|
+
* @graphvizType {@link https://graphviz.org/_pages/doc/info/attrs.html#k:clusterMode clusterMode}
|
|
219
|
+
* @graphvizDefault local
|
|
220
|
+
* @graphvizNotes dot only
|
|
221
|
+
* @graphvizUsedBy G
|
|
222
|
+
* @category Attribute
|
|
223
|
+
*/
|
|
224
|
+
clusterrank: 'clusterrank';
|
|
225
|
+
/**
|
|
226
|
+
* Basic drawing color for graphics, not text.
|
|
227
|
+
* For the latter, use the fontcolor attribute.
|
|
228
|
+
*
|
|
229
|
+
* For edges, the value can either be a single color or a colorList.
|
|
230
|
+
* In the latter case, if colorList has no fractions, the edge is drawn using parallel splines or lines, one for each color in the list, in the order given.
|
|
231
|
+
* The head arrow, if any, is drawn using the first color in the list, and the tail arrow, if any, the second color.
|
|
232
|
+
* This supports the common case of drawing opposing edges, but using parallel splines instead of separately routed multiedges.
|
|
233
|
+
* If any fraction is used, the colors are drawn in series, with each color being given roughly its specified fraction of the edge.
|
|
234
|
+
* For example, the graph
|
|
235
|
+
*
|
|
236
|
+
* ```dot
|
|
237
|
+
* digraph G {
|
|
238
|
+
* a -> b [dir=both color="red:blue"]
|
|
239
|
+
* c -> d [dir=none color="green:red;0.25:blue"]
|
|
240
|
+
* }
|
|
241
|
+
* ```
|
|
242
|
+
*
|
|
243
|
+
* yields
|
|
244
|
+
*
|
|
245
|
+
* 
|
|
246
|
+
*
|
|
247
|
+
* @see {@link https://graphviz.org/docs/attrs/color/ Node, Edge and Graph Attributes#color}
|
|
248
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/color/ color}/{@link https://graphviz.org/docs/attr-types/color/List colorList}
|
|
249
|
+
* @graphvizDefault black
|
|
250
|
+
* @graphvizUsedBy ENC
|
|
251
|
+
* @category Attribute
|
|
252
|
+
*/
|
|
253
|
+
color: 'color';
|
|
254
|
+
/**
|
|
255
|
+
* This attribute specifies a color scheme namespace.
|
|
256
|
+
* If defined, it specifies the context for interpreting color names.
|
|
257
|
+
* In particular, if a color value has form "xxx" or "//xxx", then the color xxx will be evaluated according to the current color scheme.
|
|
258
|
+
* If no color scheme is set, the standard X11 naming is used.
|
|
259
|
+
* For example, if colorscheme=bugn9, then color=7 is interpreted as "/bugn9/7".
|
|
260
|
+
*
|
|
261
|
+
* @see {@link https://graphviz.org/docs/attrs/colorscheme/ Node, Edge and Graph Attributes#colorscheme}
|
|
262
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/string/ string}
|
|
263
|
+
* @graphvizDefault ""
|
|
264
|
+
* @graphvizUsedBy ENCG
|
|
265
|
+
* @category Attribute
|
|
266
|
+
*/
|
|
267
|
+
colorscheme: 'colorscheme';
|
|
268
|
+
/**
|
|
269
|
+
* Comments are inserted into output.
|
|
270
|
+
* Device-dependent
|
|
271
|
+
*
|
|
272
|
+
* @see {@link https://graphviz.org/docs/attrs/comment/ Node, Edge and Graph Attributes#comment}
|
|
273
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/string/ string}
|
|
274
|
+
* @graphvizDefault ""
|
|
275
|
+
* @graphvizUsedBy ENG
|
|
276
|
+
* @category Attribute
|
|
277
|
+
*/
|
|
278
|
+
comment: 'comment';
|
|
279
|
+
/**
|
|
280
|
+
* If true, allow edges between clusters. (See {@link lhead} and {@link ltail} below.)
|
|
281
|
+
*
|
|
282
|
+
* @see {@link https://graphviz.org/docs/attrs/compound/ Node, Edge and Graph Attributes#compound}
|
|
283
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/bool bool}
|
|
284
|
+
* @graphvizDefault FALSE
|
|
285
|
+
* @graphvizNotes dot only
|
|
286
|
+
* @graphvizUsedBy G
|
|
287
|
+
* @category Attribute
|
|
288
|
+
*/
|
|
289
|
+
compound: 'compound';
|
|
290
|
+
/**
|
|
291
|
+
* If true, use edge concentrators.
|
|
292
|
+
* This merges multiedges into a single edge and causes partially parallel edges to share part of their paths.
|
|
293
|
+
* The latter feature is not yet available outside of dot.
|
|
294
|
+
*
|
|
295
|
+
* @see {@link https://graphviz.org/docs/attrs/concentrate/ Node, Edge and Graph Attributes#concentrate}
|
|
296
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/bool bool}
|
|
297
|
+
* @graphvizDefault FALSE
|
|
298
|
+
* @graphvizUsedBy G
|
|
299
|
+
* @category Attribute
|
|
300
|
+
*/
|
|
301
|
+
concentrate: 'concentrate';
|
|
302
|
+
/**
|
|
303
|
+
* If false, the edge is not used in ranking the nodes.
|
|
304
|
+
* For example, in the graph
|
|
305
|
+
*
|
|
306
|
+
* ```graphviz
|
|
307
|
+
* digraph G {
|
|
308
|
+
* a -> c;
|
|
309
|
+
* a -> b;
|
|
310
|
+
* b -> c [constraint=false];
|
|
311
|
+
* }
|
|
312
|
+
* ```
|
|
313
|
+
*
|
|
314
|
+
* the edge `b -> c` does not add a constraint during rank assignment, so the only constraints are that a be above b and c, yielding the graph:
|
|
315
|
+
*
|
|
316
|
+
* 
|
|
317
|
+
*
|
|
318
|
+
* @see {@link https://graphviz.org/docs/attrs/constraint/ Node, Edge and Graph Attributes#constraint}
|
|
319
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/bool bool}
|
|
320
|
+
* @graphvizDefault TRUE
|
|
321
|
+
* @graphvizNotes dot only
|
|
322
|
+
* @graphvizUsedBy E
|
|
323
|
+
* @category Attribute
|
|
324
|
+
*/
|
|
325
|
+
constraint: 'constraint';
|
|
326
|
+
/**
|
|
327
|
+
* If true, attach edge label to edge by a 2-segment polyline, underlining the label, then going to the closest point of spline.
|
|
328
|
+
*
|
|
329
|
+
* @see {@link https://graphviz.org/docs/attrs/decorate/ Node, Edge and Graph Attributes#decorate}
|
|
330
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/bool bool}
|
|
331
|
+
* @graphvizDefault FALSE
|
|
332
|
+
* @graphvizUsedBy E
|
|
333
|
+
* @category Attribute
|
|
334
|
+
*/
|
|
335
|
+
decorate: 'decorate';
|
|
336
|
+
/**
|
|
337
|
+
* This specifies the distance between nodes in separate connected components.
|
|
338
|
+
* If set too small, connected components may overlap. Only applicable if {@link pack}=false.
|
|
339
|
+
*
|
|
340
|
+
* @see {@link https://graphviz.org/docs/attrs/defaultdist/ Node, Edge and Graph Attributes#defaultdist}
|
|
341
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/double/ double}
|
|
342
|
+
* @graphvizDefault 1+(avg. len)*sqrt(|V|)
|
|
343
|
+
* @graphvizMinimum epsilon
|
|
344
|
+
* @graphvizNotes neato only
|
|
345
|
+
* @graphvizUsedBy G
|
|
346
|
+
* @category Attribute
|
|
347
|
+
*/
|
|
348
|
+
defaultdist: 'defaultdist';
|
|
349
|
+
/**
|
|
350
|
+
* Set the number of dimensions used for the layout.
|
|
351
|
+
* The maximum value allowed is 10.
|
|
352
|
+
*
|
|
353
|
+
* @see {@link https://graphviz.org/docs/attrs/dim/ Node, Edge and Graph Attributes#dim}
|
|
354
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/int/ int}
|
|
355
|
+
* @graphvizDefault 2
|
|
356
|
+
* @graphvizMinimum 2
|
|
357
|
+
* @graphvizNotes sfdp, fdp, neato only
|
|
358
|
+
* @graphvizUsedBy G
|
|
359
|
+
* @category Attribute
|
|
360
|
+
*/
|
|
361
|
+
dim: 'dim';
|
|
362
|
+
/**
|
|
363
|
+
* Set the number of dimensions used for rendering.
|
|
364
|
+
* The maximum value allowed is 10.
|
|
365
|
+
* If both dimen and dim are set, the latter specifies the dimension used for layout, and the former for rendering.
|
|
366
|
+
* If only dimen is set, this is used for both layout and rendering dimensions.
|
|
367
|
+
*
|
|
368
|
+
* Note that, at present, all aspects of rendering are 2D.
|
|
369
|
+
* This includes the shape and size of nodes, overlap removal, and edge routing.
|
|
370
|
+
* Thus, for dimen > 2, the only valid information is the pos attribute of the nodes.
|
|
371
|
+
* All other coordinates will be 2D and, at best, will reflect a projection of a higher-dimensional point onto the plane.
|
|
372
|
+
*
|
|
373
|
+
* @see {@link https://graphviz.org/docs/attrs/dimen/ Node, Edge and Graph Attributes#dimen}
|
|
374
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/int/ int}
|
|
375
|
+
* @graphvizDefault 2
|
|
376
|
+
* @graphvizMinimum 2
|
|
377
|
+
* @graphvizNotes sfdp, fdp, neato only
|
|
378
|
+
* @graphvizUsedBy G
|
|
379
|
+
* @category Attribute
|
|
380
|
+
*/
|
|
381
|
+
dimen: 'dimen';
|
|
382
|
+
/**
|
|
383
|
+
* Set edge type for drawing arrowheads.
|
|
384
|
+
* This indicates which ends of the edge should be decorated with an arrowhead.
|
|
385
|
+
* The actual style of the arrowhead can be specified using the {@link arrowhead} and {@link arrowtail} attributes.
|
|
386
|
+
* See {@link https://graphviz.org/doc/info/attrs.html#undir_note limitation}.
|
|
387
|
+
*
|
|
388
|
+
* @see {@link https://graphviz.org/docs/attrs/dir/ Node, Edge and Graph Attributes#dir}
|
|
389
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/dirType/ dirType}
|
|
390
|
+
* @graphvizDefault "forward(directed) none(undirected)"
|
|
391
|
+
* @graphvizUsedBy E
|
|
392
|
+
* @category Attribute
|
|
393
|
+
*/
|
|
394
|
+
dir: 'dir';
|
|
395
|
+
/**
|
|
396
|
+
* Only valid when {@link mode}="ipsep".
|
|
397
|
+
* If true, constraints are generated for each edge in the largest (heuristic) directed acyclic subgraph such that the edge must point downwards.
|
|
398
|
+
* If "hier", generates level constraints similar to those used with {@link mode}="hier".
|
|
399
|
+
* The main difference is that, in the latter case, only these constraints are involved, so a faster solver can be used.
|
|
400
|
+
*
|
|
401
|
+
* @see {@link https://graphviz.org/docs/attrs/diredgeconstraints/ Node, Edge and Graph Attributes#diredgeconstraints}
|
|
402
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/string/ string}/{@link https://graphviz.org/docs/attr-types/bool bool}
|
|
403
|
+
* @graphvizDefault FALSE
|
|
404
|
+
* @graphvizNotes neato only
|
|
405
|
+
* @graphvizUsedBy G
|
|
406
|
+
* @category Attribute
|
|
407
|
+
*/
|
|
408
|
+
diredgeconstraints: 'diredgeconstraints';
|
|
409
|
+
/**
|
|
410
|
+
* Distortion factor for {@link shape}=polygon.
|
|
411
|
+
* Positive values cause top part to be larger than bottom; negative values do the opposite.
|
|
412
|
+
*
|
|
413
|
+
* @see {@link https://graphviz.org/docs/attrs/distortion/ Node, Edge and Graph Attributes#distortion}
|
|
414
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/double/ double}
|
|
415
|
+
* @graphvizDefault -100
|
|
416
|
+
* @graphvizUsedBy N
|
|
417
|
+
* @category Attribute
|
|
418
|
+
*/
|
|
419
|
+
distortion: 'distortion';
|
|
420
|
+
/**
|
|
421
|
+
* This specifies the expected number of pixels per inch on a display device.
|
|
422
|
+
* For bitmap output, this guarantees that text rendering will be done more accurately, both in size and in placement.
|
|
423
|
+
* For SVG output, it is used to guarantee that the dimensions in the output correspond to the correct number of points or inches.
|
|
424
|
+
*
|
|
425
|
+
* @see {@link https://graphviz.org/docs/attrs/dpi/ Node, Edge and Graph Attributes#dpi}
|
|
426
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/double/ double}
|
|
427
|
+
* @graphvizDefault "96.0 0.0"
|
|
428
|
+
* @graphvizNotes svg, bitmap output only
|
|
429
|
+
* @graphvizUsedBy G
|
|
430
|
+
* @category Attribute
|
|
431
|
+
*/
|
|
432
|
+
dpi: 'dpi';
|
|
433
|
+
/**
|
|
434
|
+
* If **edgeURL** is defined, this is the link used for the non-label parts of an edge.
|
|
435
|
+
* This value overrides any {@link URL} defined for the edge.
|
|
436
|
+
* Also, this value is used near the head or tail node unless overridden by a {@link headURL} or {@link tailURL} value, respectively.
|
|
437
|
+
* See {@link https://graphviz.org/doc/info/attrs.html#undir_note limitation}.
|
|
438
|
+
*
|
|
439
|
+
* @see {@link https://graphviz.org/docs/attrs/edgeURL/ Node, Edge and Graph Attributes#edgeURL}
|
|
440
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/escString/ escString}
|
|
441
|
+
* @graphvizDefault ""
|
|
442
|
+
* @graphvizNotes svg, map only
|
|
443
|
+
* @graphvizUsedBy E
|
|
444
|
+
* @category Attribute
|
|
445
|
+
*/
|
|
446
|
+
edgeURL: 'edgeURL';
|
|
447
|
+
/**
|
|
448
|
+
* Synonym for {@link edgeURL}.
|
|
449
|
+
*
|
|
450
|
+
* @see {@link https://graphviz.org/docs/attrs/edgehref/ Node, Edge and Graph Attributes#edgehref}
|
|
451
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/escString/ escString}
|
|
452
|
+
* @graphvizDefault ""
|
|
453
|
+
* @graphvizNotes svg, map only
|
|
454
|
+
* @graphvizUsedBy E
|
|
455
|
+
* @category Attribute
|
|
456
|
+
*/
|
|
457
|
+
edgehref: 'edgehref';
|
|
458
|
+
/**
|
|
459
|
+
* If the edge has a {@link URL} or {@link edgeURL} attribute, this attribute determines which window of the browser is used for the URL attached to the non-label part of the edge.
|
|
460
|
+
* Setting it to "_graphviz" will open a new window if it doesn't already exist, or reuse it if it does.
|
|
461
|
+
* If undefined, the value of the {@link target} is used.
|
|
462
|
+
*
|
|
463
|
+
* @see {@link https://graphviz.org/docs/attrs/edgetarget/ Node, Edge and Graph Attributes#edgetarget}
|
|
464
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/escString/ escString}
|
|
465
|
+
* @graphvizDefault <none>
|
|
466
|
+
* @graphvizNotes svg, map only
|
|
467
|
+
* @graphvizUsedBy E
|
|
468
|
+
* @category Attribute
|
|
469
|
+
*/
|
|
470
|
+
edgetarget: 'edgetarget';
|
|
471
|
+
/**
|
|
472
|
+
* Tooltip annotation attached to the non-label part of an edge.
|
|
473
|
+
* This is used only if the edge has a {@link URL} or {@link edgeURL} attribute.
|
|
474
|
+
*
|
|
475
|
+
* @see {@link https://graphviz.org/docs/attrs/edgetooltip/ Node, Edge and Graph Attributes#edgetooltip}
|
|
476
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/escString/ escString}
|
|
477
|
+
* @graphvizDefault ""
|
|
478
|
+
* @graphvizNotes svg, cmap only
|
|
479
|
+
* @graphvizUsedBy E
|
|
480
|
+
* @category Attribute
|
|
481
|
+
*/
|
|
482
|
+
edgetooltip: 'edgetooltip';
|
|
483
|
+
/**
|
|
484
|
+
* Terminating condition. If the length squared of all energy gradients are < **epsilon**, the algorithm stops.
|
|
485
|
+
*
|
|
486
|
+
* @see {@link https://graphviz.org/docs/attrs/epsilon/ Node, Edge and Graph Attributes#epsilon}
|
|
487
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/double/ double}
|
|
488
|
+
* @graphvizDefault .0001 * # nodes(mode == KK) .0001(mode == major)
|
|
489
|
+
* @graphvizNotes neato only
|
|
490
|
+
* @graphvizUsedBy G
|
|
491
|
+
* @category Attribute
|
|
492
|
+
*/
|
|
493
|
+
epsilon: 'epsilon';
|
|
494
|
+
/**
|
|
495
|
+
* Margin used around polygons for purposes of spline edge routing.
|
|
496
|
+
* The interpretation is the same as given for {@link sep}.
|
|
497
|
+
* This should normally be strictly less than {@link sep}.
|
|
498
|
+
*
|
|
499
|
+
* @see {@link https://graphviz.org/docs/attrs/esep/ Node, Edge and Graph Attributes#esep}
|
|
500
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/addDouble/ addDouble}/{@link https://graphviz.org/_pages/doc/info/attrs.html#k:addPoint addPoint}
|
|
501
|
+
* @graphvizDefault 3
|
|
502
|
+
* @graphvizNotes not dot
|
|
503
|
+
* @graphvizUsedBy G
|
|
504
|
+
* @category Attribute
|
|
505
|
+
*/
|
|
506
|
+
esep: 'esep';
|
|
507
|
+
/**
|
|
508
|
+
* Color used to fill the background of a node or cluster assuming {@link style}=filled, or a filled arrowhead.
|
|
509
|
+
* If fillcolor is not defined, {@link color} is used. (For clusters, if color is not defined, {@link bgcolor} is used.)
|
|
510
|
+
* If this is not defined, the default is used, except for {@link shape}=point or when the output format is MIF, which use black by default.
|
|
511
|
+
*
|
|
512
|
+
* If the value is a {@link colorList}, a gradient fill is used.
|
|
513
|
+
* By default, this is a linear fill; setting style=radial will cause a radial fill.
|
|
514
|
+
* At present, only two colors are used. If the second color (after a colon) is missing, the default color is used for it.
|
|
515
|
+
* See also the {@link gradientangle} attribute for setting the gradient angle.
|
|
516
|
+
*
|
|
517
|
+
* Note that a cluster inherits the root graph's attributes if defined.
|
|
518
|
+
* Thus, if the root graph has defined a **fillcolor**, this will override a **color** or **bgcolor** attribute set for the cluster.
|
|
519
|
+
*
|
|
520
|
+
* @see {@link https://graphviz.org/docs/attrs/fillcolor/ Node, Edge and Graph Attributes#fillcolor}
|
|
521
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/color/ color}/{@link https://graphviz.org/docs/attr-types/color/List colorList}
|
|
522
|
+
* @graphvizDefault "lightgrey(nodes) black(clusters)"
|
|
523
|
+
* @graphvizUsedBy NEC
|
|
524
|
+
* @category Attribute
|
|
525
|
+
*/
|
|
526
|
+
fillcolor: 'fillcolor';
|
|
527
|
+
/**
|
|
528
|
+
* If `false`, the size of a node is determined by smallest width and height needed to contain its label and image,
|
|
529
|
+
* if any, with a {@link margin} specified by the margin attribute.
|
|
530
|
+
* The width and height must also be at least as large as the sizes specified by the {@link width} and {@link height} attributes,
|
|
531
|
+
* which specify the minimum values for these parameters.
|
|
532
|
+
*
|
|
533
|
+
* If `true`, the node size is specified by the values of the {@link width} and {@link height} attributes only and is not expanded to contain the text label.
|
|
534
|
+
* There will be a warning if the label (with margin) cannot fit within these limits.
|
|
535
|
+
*
|
|
536
|
+
* If the {@link fixedsize} attribute is set to shape, the {@link width} and {@link height} attributes also determine the size of the node shape,
|
|
537
|
+
* but the label can be much larger. Both the label and shape sizes are used when avoiding node overlap,
|
|
538
|
+
* but all edges to the node ignore the label and only contact the node shape. No warning is given if the label is too large.
|
|
539
|
+
*
|
|
540
|
+
* @see {@link https://graphviz.org/docs/attrs/fixedsize/ Node, Edge and Graph Attributes#fixedsize}
|
|
541
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/bool bool}/string
|
|
542
|
+
* @graphvizDefault FALSE
|
|
543
|
+
* @graphvizUsedBy N
|
|
544
|
+
* @category Attribute
|
|
545
|
+
*/
|
|
546
|
+
fixedsize: 'fixedsize';
|
|
547
|
+
/**
|
|
548
|
+
* Color used for text.
|
|
549
|
+
*
|
|
550
|
+
* @see {@link https://graphviz.org/docs/attrs/fontcolor/ Node, Edge and Graph Attributes#fontcolor}
|
|
551
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/color/ color}
|
|
552
|
+
* @graphvizDefault black
|
|
553
|
+
* @graphvizUsedBy ENGC
|
|
554
|
+
* @category Attribute
|
|
555
|
+
*/
|
|
556
|
+
fontcolor: 'fontcolor';
|
|
557
|
+
/**
|
|
558
|
+
* Font used for text.
|
|
559
|
+
* This very much depends on the output format and, for non-bitmap output such as PostScript or SVG,
|
|
560
|
+
* the availability of the font when the graph is displayed or printed.
|
|
561
|
+
* As such, it is best to rely on font faces that are generally available,
|
|
562
|
+
* such as Times-Roman, Helvetica or Courier.
|
|
563
|
+
*
|
|
564
|
+
* How font names are resolved also depends on the underlying library that handles font name resolution.
|
|
565
|
+
* If Graphviz was built using the fontconfig library, the latter library will be used to search for the font.
|
|
566
|
+
* See the commands **fc-list**, **fc-match** and the other fontconfig commands for how names are resolved and which fonts are available.
|
|
567
|
+
* Other systems may provide their own font package, such as Quartz for OS X.
|
|
568
|
+
*
|
|
569
|
+
* Note that various font attributes, such as weight and slant, can be built into the font name.
|
|
570
|
+
* Unfortunately, the syntax varies depending on which font system is dominant. Thus, using fontname="times bold italic" will produce a bold, slanted Times font using Pango, the usual main font library.
|
|
571
|
+
* Alternatively, fontname="times:italic" will produce a slanted Times font from fontconfig, while fontname="times-bold" will resolve to a bold Times using Quartz.
|
|
572
|
+
* You will need to ascertain which package is used by your Graphviz system and refer to the relevant documentation.
|
|
573
|
+
*
|
|
574
|
+
* If Graphviz is not built with a high-level font library, fontname will be considered the name of a Type 1 or True Type font file.
|
|
575
|
+
* If you specify fontname=schlbk, the tool will look for a file named schlbk.ttf or schlbk.pfa or schlbk.pfb in one of the directories specified by the {@link fontpath} attribute.
|
|
576
|
+
* The lookup does support various aliases for the common fonts.
|
|
577
|
+
*
|
|
578
|
+
* @see {@link https://graphviz.org/docs/attrs/fontname/ Node, Edge and Graph Attributes#fontname}
|
|
579
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/string/ string}
|
|
580
|
+
* @graphvizDefault "Times-Roman"
|
|
581
|
+
* @graphvizUsedBy ENGC
|
|
582
|
+
* @category Attribute
|
|
583
|
+
*/
|
|
584
|
+
fontname: 'fontname';
|
|
585
|
+
/**
|
|
586
|
+
* Allows user control of how basic fontnames are represented in SVG output.
|
|
587
|
+
* If fontnames is undefined or "svg", the output will try to use known SVG fontnames.
|
|
588
|
+
* For example, the default font "Times-Roman" will be mapped to the basic SVG font "serif".
|
|
589
|
+
* This can be overridden by setting fontnames to "ps" or "gd". In the former case, known PostScript font names such as "Times-Roman" will be used in the output.
|
|
590
|
+
* In the latter case, the fontconfig font conventions are used. Thus, "Times-Roman" would be treated as "Nimbus Roman No9 L".
|
|
591
|
+
* These last two options are useful with SVG viewers that support these richer fontname spaces.
|
|
592
|
+
*
|
|
593
|
+
* @see {@link https://graphviz.org/docs/attrs/fontnames/ Node, Edge and Graph Attributes#fontnames}
|
|
594
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/string/ string}
|
|
595
|
+
* @graphvizDefault ""
|
|
596
|
+
* @graphvizNotes svg only
|
|
597
|
+
* @graphvizUsedBy G
|
|
598
|
+
* @category Attribute
|
|
599
|
+
*/
|
|
600
|
+
fontnames: 'fontnames';
|
|
601
|
+
/**
|
|
602
|
+
* Directory list used by libgd to search for bitmap fonts if Graphviz was not built with the fontconfig library.
|
|
603
|
+
* If **fontpath** is not set, the environment variable DOTFONTPATH is checked.
|
|
604
|
+
* If that is not set, GDFONTPATH is checked.
|
|
605
|
+
* If not set, libgd uses its compiled-in font path.
|
|
606
|
+
* Note that fontpath is an attribute of the root graph.
|
|
607
|
+
*
|
|
608
|
+
* @see {@link https://graphviz.org/docs/attrs/fontpath/ Node, Edge and Graph Attributes#fontpath}
|
|
609
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/string/ string}
|
|
610
|
+
* @graphvizDefault system-dependent
|
|
611
|
+
* @graphvizUsedBy G
|
|
612
|
+
* @category Attribute
|
|
613
|
+
*/
|
|
614
|
+
fontpath: 'fontpath';
|
|
615
|
+
/**
|
|
616
|
+
* Font size, {@link https://graphviz.org/doc/info/attrs.html in points}, used for text.
|
|
617
|
+
*
|
|
618
|
+
* @see {@link https://graphviz.org/docs/attrs/fontsize/ Node, Edge and Graph Attributes#fontsize}
|
|
619
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/double/ double}
|
|
620
|
+
* @graphvizDefault 14
|
|
621
|
+
* @graphvizMinimum 1
|
|
622
|
+
* @graphvizUsedBy ENGC
|
|
623
|
+
* @category Attribute
|
|
624
|
+
*/
|
|
625
|
+
fontsize: 'fontsize';
|
|
626
|
+
/**
|
|
627
|
+
* If true, all {@link xlabel} attributes are placed,
|
|
628
|
+
* even if there is some overlap with nodes or other labels.
|
|
629
|
+
*
|
|
630
|
+
* @see {@link https://graphviz.org/docs/attrs/forcelabels/ Node, Edge and Graph Attributes#forcelabels}
|
|
631
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/bool bool}
|
|
632
|
+
* @graphvizDefault TRUE
|
|
633
|
+
* @graphvizUsedBy G
|
|
634
|
+
* @category Attribute
|
|
635
|
+
*/
|
|
636
|
+
forcelabels: 'forcelabels';
|
|
637
|
+
/**
|
|
638
|
+
* If a gradient fill is being used, this determines the angle of the fill.
|
|
639
|
+
* For linear fills, the colors transform along a line specified by the angle and the center of the object.
|
|
640
|
+
* For radial fills, a value of zero causes the colors to transform radially from the center; for non-zero values,
|
|
641
|
+
* the colors transform from a point near the object's periphery as specified by the value.
|
|
642
|
+
*
|
|
643
|
+
* If unset, the default angle is 0.
|
|
644
|
+
*
|
|
645
|
+
* @see {@link https://graphviz.org/docs/attrs/gradientangle/ Node, Edge and Graph Attributes#gradientangle}
|
|
646
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/int/ int}
|
|
647
|
+
* @graphvizDefault ""
|
|
648
|
+
* @graphvizUsedBy NCG
|
|
649
|
+
* @category Attribute
|
|
650
|
+
*/
|
|
651
|
+
gradientangle: 'gradientangle';
|
|
652
|
+
/**
|
|
653
|
+
* If the end points of an edge belong to the same group, i.e.,
|
|
654
|
+
* have the same group attribute, parameters are set to avoid crossings and keep the edges straight.
|
|
655
|
+
*
|
|
656
|
+
* @see {@link https://graphviz.org/docs/attrs/group/ Node, Edge and Graph Attributes#group}
|
|
657
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/string/ string}
|
|
658
|
+
* @graphvizDefault ""
|
|
659
|
+
* @graphvizNotes dot only
|
|
660
|
+
* @graphvizUsedBy N
|
|
661
|
+
* @category Attribute
|
|
662
|
+
*/
|
|
663
|
+
group: 'group';
|
|
664
|
+
/**
|
|
665
|
+
* If **headURL** is defined, it is output as part of the head label of the edge.
|
|
666
|
+
* Also, this value is used near the head node, overriding any {@link URL} value.
|
|
667
|
+
* See {@link https://graphviz.org/doc/info/attrs.html#undir_note limitation}.
|
|
668
|
+
*
|
|
669
|
+
* @see {@link https://graphviz.org/docs/attrs/headURL/ Node, Edge and Graph Attributes#headURL}
|
|
670
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/escString/ escString}
|
|
671
|
+
* @graphvizDefault ""
|
|
672
|
+
* @graphvizNotes svg, map only
|
|
673
|
+
* @graphvizUsedBy E
|
|
674
|
+
* @category Attribute
|
|
675
|
+
*/
|
|
676
|
+
headURL: 'headURL';
|
|
677
|
+
/**
|
|
678
|
+
* Position of an edge's head label, {@link https://graphviz.org/doc/info/attrs.html in points}.
|
|
679
|
+
* The position indicates the center of the label.
|
|
680
|
+
*
|
|
681
|
+
* @see {@link https://graphviz.org/docs/attrs/head_lp/ Node, Edge and Graph Attributes#head_lp}
|
|
682
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/point/ point}
|
|
683
|
+
* @graphvizNotes write only
|
|
684
|
+
* @graphvizUsedBy E
|
|
685
|
+
* @category Attribute
|
|
686
|
+
*/
|
|
687
|
+
head_lp: 'head_lp';
|
|
688
|
+
/**
|
|
689
|
+
* If true, the head of an edge is clipped to the boundary of the head node; otherwise,
|
|
690
|
+
* the end of the edge goes to the center of the node, or the center of a port, if applicable.
|
|
691
|
+
*
|
|
692
|
+
* @see {@link https://graphviz.org/docs/attrs/headclip/ Node, Edge and Graph Attributes#headclip}
|
|
693
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/bool bool}
|
|
694
|
+
* @graphvizDefault TRUE
|
|
695
|
+
* @graphvizUsedBy E
|
|
696
|
+
* @category Attribute
|
|
697
|
+
*/
|
|
698
|
+
headclip: 'headclip';
|
|
699
|
+
/**
|
|
700
|
+
* Synonym for {@link headURL}.
|
|
701
|
+
*
|
|
702
|
+
* @see {@link https://graphviz.org/docs/attrs/headhref/ Node, Edge and Graph Attributes#headhref}
|
|
703
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/escString/ escString}
|
|
704
|
+
* @graphvizDefault ""
|
|
705
|
+
* @graphvizNotes svg, map only
|
|
706
|
+
* @graphvizUsedBy E
|
|
707
|
+
* @category Attribute
|
|
708
|
+
*/
|
|
709
|
+
headhref: 'headhref';
|
|
710
|
+
/**
|
|
711
|
+
* Text label to be placed near head of edge.
|
|
712
|
+
* See {@link https://graphviz.org/doc/info/attrs.html#undir_note limitation}.
|
|
713
|
+
*
|
|
714
|
+
* @see {@link https://graphviz.org/docs/attrs/headlabel/ Node, Edge and Graph Attributes#headlabel}
|
|
715
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/lblString/ lblString}
|
|
716
|
+
* @graphvizDefault center
|
|
717
|
+
* @graphvizUsedBy E
|
|
718
|
+
* @category Attribute
|
|
719
|
+
*/
|
|
720
|
+
headlabel: 'headlabel';
|
|
721
|
+
/**
|
|
722
|
+
* Indicates where on the head node to attach the head of the edge.
|
|
723
|
+
* In the default case, the edge is aimed towards the center of the node, and then clipped at the node boundary.
|
|
724
|
+
* See {@link https://graphviz.org/doc/info/attrs.html#undir_note limitation}.
|
|
725
|
+
*
|
|
726
|
+
* @see {@link https://graphviz.org/docs/attrs/headport/ Node, Edge and Graph Attributes#headport}
|
|
727
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/portPos/ portPos}
|
|
728
|
+
* @graphvizDefault <none>
|
|
729
|
+
* @graphvizNotes svg, map only
|
|
730
|
+
* @graphvizUsedBy E
|
|
731
|
+
* @category Attribute
|
|
732
|
+
*/
|
|
733
|
+
headport: 'headport';
|
|
734
|
+
/**
|
|
735
|
+
* If the edge has a {@link headURL}, this attribute determines which window of the browser is used for the URL.
|
|
736
|
+
* Setting it to "_graphviz" will open a new window if it doesn't already exist, or reuse it if it does.
|
|
737
|
+
* If undefined, the value of the {@link target} is used.
|
|
738
|
+
*
|
|
739
|
+
* @see {@link https://graphviz.org/docs/attrs/headtarget/ Node, Edge and Graph Attributes#headtarget}
|
|
740
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/escString/ escString}
|
|
741
|
+
* @graphvizDefault ""
|
|
742
|
+
* @graphvizNotes svg, cmap only
|
|
743
|
+
* @graphvizUsedBy E
|
|
744
|
+
* @category Attribute
|
|
745
|
+
*/
|
|
746
|
+
headtarget: 'headtarget';
|
|
747
|
+
/**
|
|
748
|
+
* Tooltip annotation attached to the head of an edge.
|
|
749
|
+
* This is used only if the edge has a {@link headURL} attribute.
|
|
750
|
+
*
|
|
751
|
+
* @see {@link https://graphviz.org/docs/attrs/headtooltip/ Node, Edge and Graph Attributes#headtooltip}
|
|
752
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/escString/ escString}
|
|
753
|
+
* @graphvizDefault 0.5
|
|
754
|
+
* @graphvizMinimum 0.02
|
|
755
|
+
* @graphvizUsedBy N
|
|
756
|
+
* @category Attribute
|
|
757
|
+
*/
|
|
758
|
+
headtooltip: 'headtooltip';
|
|
759
|
+
/**
|
|
760
|
+
* Height of node, in inches.
|
|
761
|
+
* This is taken as the initial, minimum height of the node.
|
|
762
|
+
* If {@link fixedsize} is true, this will be the final height of the node.
|
|
763
|
+
* Otherwise, if the node label requires more height to fit, the node's **height** will be increased to contain the label.
|
|
764
|
+
* Note also that, if the output format is dot, the value given to height will be the final value.
|
|
765
|
+
*
|
|
766
|
+
* If the node shape is regular, the width and height are made identical.
|
|
767
|
+
* In this case, if either the width or the height is set explicitly, that value is used.
|
|
768
|
+
* In this case, if both the width or the height are set explicitly, the maximum of the two values is used.
|
|
769
|
+
* If neither is set explicitly, the minimum of the two default values is used.
|
|
770
|
+
*
|
|
771
|
+
* @see {@link https://graphviz.org/docs/attrs/height/ Node, Edge and Graph Attributes#height}
|
|
772
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/double/ double}
|
|
773
|
+
* @graphvizDefault ""
|
|
774
|
+
* @graphvizNotes svg, postscript, map only
|
|
775
|
+
* @graphvizUsedBy GCNE
|
|
776
|
+
* @category Attribute
|
|
777
|
+
*/
|
|
778
|
+
height: 'height';
|
|
779
|
+
/**
|
|
780
|
+
* Synonym for {@link URL}.
|
|
781
|
+
*
|
|
782
|
+
* @see {@link https://graphviz.org/docs/attrs/href/ Node, Edge and Graph Attributes#href}
|
|
783
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/escString/ escString}
|
|
784
|
+
* @graphvizDefault ""
|
|
785
|
+
* @graphvizNotes svg, postscript, map only
|
|
786
|
+
* @graphvizUsedBy GCNE
|
|
787
|
+
* @category Attribute
|
|
788
|
+
*/
|
|
789
|
+
href: 'href';
|
|
790
|
+
/**
|
|
791
|
+
* Allows the graph author to provide an id for graph objects which is to be included in the output.
|
|
792
|
+
* Normal "\N", "\E", "\G" substitutions are applied.
|
|
793
|
+
* If provided, it is the responsibility of the provider to keep its values sufficiently unique for its intended downstream use.
|
|
794
|
+
* Note, in particular, that "\E" does not provide a unique id for multi-edges.
|
|
795
|
+
* If no id attribute is provided, then a unique internal id is used.
|
|
796
|
+
* However, this value is unpredictable by the graph writer.
|
|
797
|
+
* An externally provided id is not used internally.
|
|
798
|
+
*
|
|
799
|
+
* If the graph provides an id attribute, this will be used as a prefix for internally generated attributes.
|
|
800
|
+
* By making these distinct, the user can include multiple image maps in the same document.
|
|
801
|
+
*
|
|
802
|
+
* @see {@link https://graphviz.org/docs/attrs/id/ Node, Edge and Graph Attributes#id}
|
|
803
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/escString/ escString}
|
|
804
|
+
* @graphvizDefault ""
|
|
805
|
+
* @graphvizUsedBy N
|
|
806
|
+
* @category Attribute
|
|
807
|
+
*/
|
|
808
|
+
id: 'id';
|
|
809
|
+
/**
|
|
810
|
+
* Gives the name of a file containing an image to be displayed inside a node.
|
|
811
|
+
* The image file must be in one of the recognized {@link https://graphviz.org/docs/outputs/ formats},
|
|
812
|
+
* typically JPEG, PNG, GIF, BMP, SVG or Postscript, and be able to be converted into the desired output format.
|
|
813
|
+
*
|
|
814
|
+
* The file must contain the image size information.
|
|
815
|
+
* This is usually trivially true for the bitmap formats.
|
|
816
|
+
* For PostScript, the file must contain a line starting with %%BoundingBox: followed by four integers specifying the lower left x and y coordinates and the upper right x and y coordinates of the bounding box for the image, the coordinates being in points.
|
|
817
|
+
* An SVG image file must contain width and height attributes, typically as part of the svg element.
|
|
818
|
+
* The values for these should have the form of a floating point number, followed by optional units, e.g.,
|
|
819
|
+
* width="76pt". Recognized units are in, px, pc, pt, cm and mm for inches, pixels, picas, points, centimeters and millimeters, respectively.
|
|
820
|
+
* The default unit is points.
|
|
821
|
+
*
|
|
822
|
+
* Unlike with the {@link shapefile} attribute, the image is treated as node content rather than the entire node. In particular, an image can be contained in a node of any shape, not just a rectangle.
|
|
823
|
+
*
|
|
824
|
+
* @see {@link https://graphviz.org/docs/attrs/image/ Node, Edge and Graph Attributes#image}
|
|
825
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/string/ string}
|
|
826
|
+
* @graphvizDefault ""
|
|
827
|
+
* @graphvizUsedBy G
|
|
828
|
+
* @category Attribute
|
|
829
|
+
*/
|
|
830
|
+
image: 'image';
|
|
831
|
+
/**
|
|
832
|
+
* Specifies a list of directories in which to look for image files as specified by the {@link image} attribute or using the IMG element in {@link https://graphviz.org/doc/info/shapes.html HTML-like labels}.
|
|
833
|
+
* The string should be a list of (absolute or relative) pathnames, each separated by a semicolon (for Windows) or a colon (all other OS).
|
|
834
|
+
* The first directory in which a file of the given name is found will be used to load the image.
|
|
835
|
+
* If imagepath is not set, relative pathnames for the image file will be interpreted with respect to the current working directory.
|
|
836
|
+
*
|
|
837
|
+
* @see {@link https://graphviz.org/docs/attrs/imagepath/ Node, Edge and Graph Attributes#imagepath}
|
|
838
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/string/ string}
|
|
839
|
+
* @graphvizDefault ""
|
|
840
|
+
* @graphvizUsedBy G
|
|
841
|
+
* @category Attribute
|
|
842
|
+
*/
|
|
843
|
+
imagepath: 'imagepath';
|
|
844
|
+
/**
|
|
845
|
+
* Attribute controlling how an image is positioned within its containing node.
|
|
846
|
+
* This only has an effect when the image is smaller than the containing node.
|
|
847
|
+
* The default is to be centered both horizontally and vertically.
|
|
848
|
+
* Valid values:
|
|
849
|
+
*
|
|
850
|
+
* | | |
|
|
851
|
+
* |----|-------------------------------|
|
|
852
|
+
* | tl | Top Left |
|
|
853
|
+
* | tc | Top Centered |
|
|
854
|
+
* | tr | Top Right |
|
|
855
|
+
* | ml | Middle Left |
|
|
856
|
+
* | mc | Middle Centered (the default) |
|
|
857
|
+
* | mr | Middle Right |
|
|
858
|
+
* | bl | Bottom Left |
|
|
859
|
+
* | bc | Bottom Centered |
|
|
860
|
+
* | br | Bottom Right |
|
|
861
|
+
*
|
|
862
|
+
* @see {@link https://graphviz.org/docs/attrs/imagepos/ Node, Edge and Graph Attributes#imagepos}
|
|
863
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/string/ string}
|
|
864
|
+
* @graphvizDefault "mc"
|
|
865
|
+
* @graphvizUsedBy N
|
|
866
|
+
* @category Attribute
|
|
867
|
+
*/
|
|
868
|
+
imagepos: 'imagepos';
|
|
869
|
+
/**
|
|
870
|
+
* Attribute controlling how an image fills its containing node.
|
|
871
|
+
* In general, the image is given its natural size, (cf. {@link dpi}), and the node size is made large enough to contain its image, its label, its margin, and its peripheries.
|
|
872
|
+
* Its width and height will also be at least as large as its minimum {@link width} and {@link height}.
|
|
873
|
+
* If, however, fixedsize=true, the width and height attributes specify the exact size of the node.
|
|
874
|
+
*
|
|
875
|
+
* During rendering, in the default case (imagescale=false), the image retains its natural size. If imagescale=true, the image is uniformly scaled (i.e., its aspect ratio is preserved) to fit inside the node. At least one dimension of the image will be as large as possible given the size of the node. When imagescale=width, the width of the image is scaled to fill the node width. The corresponding property holds when imagescale=height. When imagescale=both, both the height and the width are scaled separately to fill the node.
|
|
876
|
+
*
|
|
877
|
+
* In all cases, if a dimension of the image is larger than the corresponding dimension of the node,
|
|
878
|
+
* that dimension of the image is scaled down to fit the node.
|
|
879
|
+
* As with the case of expansion, if imagescale=true, width and height are scaled uniformly.
|
|
880
|
+
*
|
|
881
|
+
* @see {@link https://graphviz.org/docs/attrs/imagescale/ Node, Edge and Graph Attributes#imagescale}
|
|
882
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/bool bool}/string
|
|
883
|
+
* @graphvizDefault FALSE
|
|
884
|
+
* @graphvizUsedBy N
|
|
885
|
+
* @category Attribute
|
|
886
|
+
*/
|
|
887
|
+
imagescale: 'imagescale';
|
|
888
|
+
/**
|
|
889
|
+
* For layout algorithms that support initial input positions (specified by the pos attribute),
|
|
890
|
+
* this attribute can be used to appropriately scale the values.
|
|
891
|
+
* By default, fdp and neato interpret the x and y values of pos as being in inches.
|
|
892
|
+
* (**NOTE**: neato -n(2) treats the coordinates as being in points, being the unit used by the layout algorithms for the pos attribute.)
|
|
893
|
+
* Thus, if the graph has pos attributes in points, one should set inputscale=72.
|
|
894
|
+
* This can also be set on the command line using the {@link https://graphviz.org/doc/info/command.html#-s -s flag} flag.
|
|
895
|
+
*
|
|
896
|
+
* If not set, no scaling is done and the units on input are treated as inches.
|
|
897
|
+
* A value of 0 is equivalent to inputscale=72.
|
|
898
|
+
*
|
|
899
|
+
* @see {@link https://graphviz.org/docs/attrs/inputscale/ Node, Edge and Graph Attributes#inputscale}
|
|
900
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/double/ double}
|
|
901
|
+
* @graphvizDefault <none>
|
|
902
|
+
* @graphvizNotes fdp, neato only
|
|
903
|
+
* @graphvizUsedBy G
|
|
904
|
+
* @category Attribute
|
|
905
|
+
*/
|
|
906
|
+
inputscale: 'inputscale';
|
|
907
|
+
/**
|
|
908
|
+
* Text label attached to objects.
|
|
909
|
+
* If a node's {@link shape} is record, then the label can have a {@link https://graphviz.org/doc/info/shapes.html special format} which describes the record layout.
|
|
910
|
+
*
|
|
911
|
+
* Note that a node's default label is "\N", so the node's name or ID becomes its label.
|
|
912
|
+
* Technically, a node's name can be an HTML string but this will not mean that the node's label will be interpreted as an {@link https://graphviz.org/doc/info/shapes.html HTML-like} label.
|
|
913
|
+
* This is because the node's actual label is an ordinary string, which will be replaced by the raw bytes stored in the node's name.
|
|
914
|
+
* To get an HTML-like label, the label attribute value itself must be an HTML string.
|
|
915
|
+
*
|
|
916
|
+
* @see {@link https://graphviz.org/docs/attrs/label/ Node, Edge and Graph Attributes#label}
|
|
917
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/lblString/ lblString}
|
|
918
|
+
* @graphvizDefaultValu
|
|
919
|
+
* "\N" (nodes)
|
|
920
|
+
* "" (otherwise)
|
|
921
|
+
* @graphvizUsedBy ENGC
|
|
922
|
+
* @category Attribute
|
|
923
|
+
*/
|
|
924
|
+
label: 'label';
|
|
925
|
+
/**
|
|
926
|
+
* If **labelURL** is defined, this is the link used for the label of an edge.
|
|
927
|
+
* This value overrides any {@link URL} defined for the edge.
|
|
928
|
+
*
|
|
929
|
+
* @see {@link https://graphviz.org/docs/attrs/labelURL/ Node, Edge and Graph Attributes#labelURL}
|
|
930
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/escString/ escString}
|
|
931
|
+
* @graphvizDefault ""
|
|
932
|
+
* @graphvizNotes svg, map only
|
|
933
|
+
* @graphvizUsedBy E
|
|
934
|
+
* @category Attribute
|
|
935
|
+
*/
|
|
936
|
+
labelURL: 'labelURL';
|
|
937
|
+
/**
|
|
938
|
+
* The value indicates whether to treat a node whose name has the form |edgelabel|* as a special node representing an edge label.
|
|
939
|
+
* The default (0) produces no effect.
|
|
940
|
+
* If the attribute is set to 1, sfdp uses a penalty-based method to make that kind of node close to the center of its neighbor.
|
|
941
|
+
* With a value of 2, sfdp uses a penalty-based method to make that kind of node close to the old center of its neighbor.
|
|
942
|
+
* Finally, a value of 3 invokes a two-step process of overlap removal and straightening.
|
|
943
|
+
*
|
|
944
|
+
* @see {@link https://graphviz.org/docs/attrs/label_scheme/ Node, Edge and Graph Attributes#label_scheme}
|
|
945
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/int/ int}
|
|
946
|
+
* @graphvizDefault 0
|
|
947
|
+
* @graphvizMinimum 0
|
|
948
|
+
* @graphvizNotes sfdp only
|
|
949
|
+
* @graphvizUsedBy G
|
|
950
|
+
* @category Attribute
|
|
951
|
+
*/
|
|
952
|
+
label_scheme: 'label_scheme';
|
|
953
|
+
/**
|
|
954
|
+
* This, along with {@link labeldistance}, determine where the headlabel (taillabel) are placed with respect to the head (tail) in polar coordinates.
|
|
955
|
+
* The origin in the coordinate system is the point where the edge touches the node.
|
|
956
|
+
* The ray of 0 degrees goes from the origin back along the edge, parallel to the edge at the origin.
|
|
957
|
+
*
|
|
958
|
+
* The angle, in degrees, specifies the rotation from the 0 degree ray, with positive angles moving counterclockwise and negative angles moving clockwise.
|
|
959
|
+
*
|
|
960
|
+
* @see {@link https://graphviz.org/docs/attrs/labelangle/ Node, Edge and Graph Attributes#labelangle}
|
|
961
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/double/ double}
|
|
962
|
+
* @graphvizDefault -25
|
|
963
|
+
* @graphvizMinimum -180
|
|
964
|
+
* @graphvizUsedBy E
|
|
965
|
+
* @category Attribute
|
|
966
|
+
*/
|
|
967
|
+
labelangle: 'labelangle';
|
|
968
|
+
/**
|
|
969
|
+
* Multiplicative scaling factor adjusting the distance that the headlabel(taillabel) is from the head(tail) node.
|
|
970
|
+
* The default distance is 10 points.
|
|
971
|
+
* See {@link labelangle} for more details.
|
|
972
|
+
*
|
|
973
|
+
* @see {@link https://graphviz.org/docs/attrs/labeldistance/ Node, Edge and Graph Attributes#labeldistance}
|
|
974
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/double/ double}
|
|
975
|
+
* @graphvizDefault 1
|
|
976
|
+
* @graphvizMinimum 0
|
|
977
|
+
* @graphvizUsedBy E
|
|
978
|
+
* @category Attribute
|
|
979
|
+
*/
|
|
980
|
+
labeldistance: 'labeldistance';
|
|
981
|
+
/**
|
|
982
|
+
* If true, allows edge labels to be less constrained in position.
|
|
983
|
+
* In particular, it may appear on top of other edges.
|
|
984
|
+
*
|
|
985
|
+
* @see {@link https://graphviz.org/docs/attrs/labelfloat/ Node, Edge and Graph Attributes#labelfloat}
|
|
986
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/bool bool}
|
|
987
|
+
* @graphvizDefault FALSE
|
|
988
|
+
* @graphvizUsedBy E
|
|
989
|
+
* @category Attribute
|
|
990
|
+
*/
|
|
991
|
+
labelfloat: 'labelfloat';
|
|
992
|
+
/**
|
|
993
|
+
* Color used for headlabel and taillabel.
|
|
994
|
+
* If not set, defaults to edge's fontcolor.
|
|
995
|
+
*
|
|
996
|
+
* @see {@link https://graphviz.org/docs/attrs/labelfontcolor/ Node, Edge and Graph Attributes#labelfontcolor}
|
|
997
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/color/ color}
|
|
998
|
+
* @graphvizDefault black
|
|
999
|
+
* @graphvizUsedBy E
|
|
1000
|
+
* @category Attribute
|
|
1001
|
+
*/
|
|
1002
|
+
labelfontcolor: 'labelfontcolor';
|
|
1003
|
+
/**
|
|
1004
|
+
* Font used for headlabel and taillabel.
|
|
1005
|
+
* If not set, defaults to edge's fontname.
|
|
1006
|
+
*
|
|
1007
|
+
* @see {@link https://graphviz.org/docs/attrs/labelfontname/ Node, Edge and Graph Attributes#labelfontname}
|
|
1008
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/string/ string}
|
|
1009
|
+
* @graphvizDefault "Times-Roman"
|
|
1010
|
+
* @graphvizUsedBy E
|
|
1011
|
+
* @category Attribute
|
|
1012
|
+
*/
|
|
1013
|
+
labelfontname: 'labelfontname';
|
|
1014
|
+
/**
|
|
1015
|
+
* Font size, {@link https://graphviz.org/doc/info/attrs.html in points}, used for headlabel and taillabel.
|
|
1016
|
+
* If not set, defaults to edge's fontsize.
|
|
1017
|
+
*
|
|
1018
|
+
* @see {@link https://graphviz.org/docs/attrs/labelfontsize/ Node, Edge and Graph Attributes#labelfontsize}
|
|
1019
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/double/ double}
|
|
1020
|
+
* @graphvizDefault 14
|
|
1021
|
+
* @graphvizMinimum 1
|
|
1022
|
+
* @graphvizUsedBy E
|
|
1023
|
+
* @category Attribute
|
|
1024
|
+
*/
|
|
1025
|
+
labelfontsize: 'labelfontsize';
|
|
1026
|
+
/**
|
|
1027
|
+
* Synonym for {@link labelURL}.
|
|
1028
|
+
*
|
|
1029
|
+
* @see {@link https://graphviz.org/docs/attrs/labelhref/ Node, Edge and Graph Attributes#labelhref}
|
|
1030
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/escString/ escString}
|
|
1031
|
+
* @graphvizDefault ""
|
|
1032
|
+
* @graphvizNotes svg, map only
|
|
1033
|
+
* @graphvizUsedBy E
|
|
1034
|
+
* @category Attribute
|
|
1035
|
+
*/
|
|
1036
|
+
labelhref: 'labelhref';
|
|
1037
|
+
/**
|
|
1038
|
+
* Justification for cluster labels.
|
|
1039
|
+
* If "r", the label is right-justified within bounding rectangle; if "l", left-justified; else the label is centered.
|
|
1040
|
+
* Note that a subgraph inherits attributes from its parent.
|
|
1041
|
+
* Thus, if the root graph sets **labeljust** to "l", the subgraph inherits this value.
|
|
1042
|
+
*
|
|
1043
|
+
* @see {@link https://graphviz.org/docs/attrs/labeljust/ Node, Edge and Graph Attributes#labeljust}
|
|
1044
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/string/ string}
|
|
1045
|
+
* @graphvizDefault "c"
|
|
1046
|
+
* @graphvizUsedBy GC
|
|
1047
|
+
* @category Attribute
|
|
1048
|
+
*/
|
|
1049
|
+
labeljust: 'labeljust';
|
|
1050
|
+
/**
|
|
1051
|
+
* Vertical placement of labels for nodes, root graphs and clusters.
|
|
1052
|
+
*
|
|
1053
|
+
* For graphs and clusters, only "t" and "b" are allowed, corresponding to placement at the top and bottom, respectively.
|
|
1054
|
+
* By default, root graph labels go on the bottom and cluster labels go on the top.
|
|
1055
|
+
* Note that a subgraph inherits attributes from its parent.
|
|
1056
|
+
* Thus, if the root graph sets {@link labelloc} to "b", the subgraph inherits this value.
|
|
1057
|
+
*
|
|
1058
|
+
* For nodes, this attribute is used only when the height of the node is larger than the height of its label.
|
|
1059
|
+
* If labelloc is set to "t", "c", or "b", the label is aligned with the top, centered, or aligned with the bottom of the node, respectively.
|
|
1060
|
+
* In the default case, the label is vertically centered.
|
|
1061
|
+
*
|
|
1062
|
+
* @see {@link https://graphviz.org/docs/attrs/labelloc/ Node, Edge and Graph Attributes#labelloc}
|
|
1063
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/string/ string}
|
|
1064
|
+
* @graphvizDefault
|
|
1065
|
+
* "t"(clusters)
|
|
1066
|
+
* "b"(root graphs)
|
|
1067
|
+
* "c"(nodes)
|
|
1068
|
+
* @graphvizUsedBy NGC
|
|
1069
|
+
* @category Attribute
|
|
1070
|
+
*/
|
|
1071
|
+
labelloc: 'labelloc';
|
|
1072
|
+
/**
|
|
1073
|
+
* If the edge has a {@link URL} or {@link labelURL} attribute, this attribute determines which window of the browser is used for the URL attached to the label.
|
|
1074
|
+
* Setting it to "_graphviz" will open a new window if it doesn't already exist, or reuse it if it does.
|
|
1075
|
+
* If undefined, the value of the {@link target} is used.
|
|
1076
|
+
*
|
|
1077
|
+
* @see {@link https://graphviz.org/docs/attrs/labeltarget/ Node, Edge and Graph Attributes#labeltarget}
|
|
1078
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/escString/ escString}
|
|
1079
|
+
* @graphvizDefault <none>
|
|
1080
|
+
* @graphvizNotes svg, map only
|
|
1081
|
+
* @graphvizUsedBy E
|
|
1082
|
+
* @category Attribute
|
|
1083
|
+
*/
|
|
1084
|
+
labeltarget: 'labeltarget';
|
|
1085
|
+
/**
|
|
1086
|
+
* Tooltip annotation attached to label of an edge.
|
|
1087
|
+
* This is used only if the edge has a {@link URL} or {@link labelURL} attribute.
|
|
1088
|
+
*
|
|
1089
|
+
* @see {@link https://graphviz.org/docs/attrs/labeltooltip/ Node, Edge and Graph Attributes#labeltooltip}
|
|
1090
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/escString/ escString}
|
|
1091
|
+
* @graphvizDefault ""
|
|
1092
|
+
* @graphvizNotes svg, cmap only
|
|
1093
|
+
* @graphvizUsedBy E
|
|
1094
|
+
* @category Attribute
|
|
1095
|
+
*/
|
|
1096
|
+
labeltooltip: 'labeltooltip';
|
|
1097
|
+
/**
|
|
1098
|
+
* If true, the graph is rendered in landscape mode.
|
|
1099
|
+
* Synonymous with {@link rotate rotate=90} or {@link orientation orientation=landscape}.
|
|
1100
|
+
*
|
|
1101
|
+
* @see {@link https://graphviz.org/docs/attrs/landscape/ Node, Edge and Graph Attributes#landscape}
|
|
1102
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/bool bool}
|
|
1103
|
+
* @graphvizDefault FALSE
|
|
1104
|
+
* @graphvizUsedBy G
|
|
1105
|
+
* @category Attribute
|
|
1106
|
+
*/
|
|
1107
|
+
landscape: 'landscape';
|
|
1108
|
+
/**
|
|
1109
|
+
* Specifies layers in which the node, edge or cluster is present.
|
|
1110
|
+
*
|
|
1111
|
+
* @see {@link https://graphviz.org/docs/attrs/layer/ Node, Edge and Graph Attributes#layer}
|
|
1112
|
+
* @graphvizType {@link https://graphviz.org/_pages/doc/info/attrs.html#k:layerRange layerRange}
|
|
1113
|
+
* @graphvizDefault ""
|
|
1114
|
+
* @graphvizUsedBy ENC
|
|
1115
|
+
* @category Attribute
|
|
1116
|
+
*/
|
|
1117
|
+
layer: 'layer';
|
|
1118
|
+
/**
|
|
1119
|
+
* Specifies the separator characters used to split an attribute of type {@link layerRange} into a list of ranges.
|
|
1120
|
+
*
|
|
1121
|
+
* @see {@link https://graphviz.org/docs/attrs/layerlistsep/ Node, Edge and Graph Attributes#layerlistsep}
|
|
1122
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/string/ string}
|
|
1123
|
+
* @graphvizDefault ""
|
|
1124
|
+
* @graphvizUsedBy G
|
|
1125
|
+
* @category Attribute
|
|
1126
|
+
*/
|
|
1127
|
+
layerlistsep: 'layerlistsep';
|
|
1128
|
+
/**
|
|
1129
|
+
* Specifies a linearly ordered list of layer names attached to the graph The graph is then output in separate layers.
|
|
1130
|
+
* Only those components belonging to the current output layer appear.
|
|
1131
|
+
* For more information, see the page {@link https://graphviz.org/faq/#FaqOverlays How to use drawing layers (overlays)}.
|
|
1132
|
+
*
|
|
1133
|
+
* @see {@link https://graphviz.org/docs/attrs/layers/ Node, Edge and Graph Attributes#layers}
|
|
1134
|
+
* @graphvizType {@link https://graphviz.org/_pages/doc/info/attrs.html#k:layerList layerList}
|
|
1135
|
+
* @graphvizDefault ""
|
|
1136
|
+
* @graphvizUsedBy G
|
|
1137
|
+
* @category Attribute
|
|
1138
|
+
*/
|
|
1139
|
+
layers: 'layers';
|
|
1140
|
+
/**
|
|
1141
|
+
* Selects a list of layers to be emitted.
|
|
1142
|
+
*
|
|
1143
|
+
* @see {@link https://graphviz.org/docs/attrs/layerselect/ Node, Edge and Graph Attributes#layerselect}
|
|
1144
|
+
* @graphvizType {@link https://graphviz.org/_pages/doc/info/attrs.html#k:layerRange layerRange}
|
|
1145
|
+
* @graphvizDefault ""
|
|
1146
|
+
* @graphvizUsedBy G
|
|
1147
|
+
* @category Attribute
|
|
1148
|
+
*/
|
|
1149
|
+
layerselect: 'layerselect';
|
|
1150
|
+
/**
|
|
1151
|
+
* Specifies the separator characters used to split the {@link layers} attribute into a list of layer names.
|
|
1152
|
+
*
|
|
1153
|
+
* @see {@link https://graphviz.org/docs/attrs/layersep/ Node, Edge and Graph Attributes#layersep}
|
|
1154
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/string/ string}
|
|
1155
|
+
* @graphvizDefault " :\t"
|
|
1156
|
+
* @graphvizUsedBy G
|
|
1157
|
+
* @category Attribute
|
|
1158
|
+
*/
|
|
1159
|
+
layersep: 'layersep';
|
|
1160
|
+
/**
|
|
1161
|
+
* Specifies the name of the layout algorithm to use, such as "dot" or "neato".
|
|
1162
|
+
* Normally, graphs should be kept independent of a type of layout.
|
|
1163
|
+
* In some cases, however, it can be convenient to embed the type of layout desired within the graph.
|
|
1164
|
+
* For example, a graph containing position information from a layout might want to record what the associated layout algorithm was.
|
|
1165
|
+
*
|
|
1166
|
+
* @see {@link https://graphviz.org/docs/attrs/layout/ Node, Edge and Graph Attributes#layout}
|
|
1167
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/string/ string}
|
|
1168
|
+
* @graphvizDefault ""
|
|
1169
|
+
* @graphvizUsedBy G
|
|
1170
|
+
* @category Attribute
|
|
1171
|
+
*/
|
|
1172
|
+
layout: 'layout';
|
|
1173
|
+
/**
|
|
1174
|
+
* Preferred edge length, in inches.
|
|
1175
|
+
*
|
|
1176
|
+
* @see {@link https://graphviz.org/docs/attrs/len/ Node, Edge and Graph Attributes#len}
|
|
1177
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/double/ double}
|
|
1178
|
+
* @graphvizDefault
|
|
1179
|
+
* 1.0(neato)
|
|
1180
|
+
* 0.3(fdp)
|
|
1181
|
+
* @graphvizNotes fdp, neato only
|
|
1182
|
+
* @graphvizUsedBy E
|
|
1183
|
+
* @category Attribute
|
|
1184
|
+
*/
|
|
1185
|
+
len: 'len';
|
|
1186
|
+
/**
|
|
1187
|
+
* Number of levels allowed in the multilevel scheme.
|
|
1188
|
+
*
|
|
1189
|
+
* @see {@link https://graphviz.org/docs/attrs/levels/ Node, Edge and Graph Attributes#levels}
|
|
1190
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/int/ int}
|
|
1191
|
+
* @graphvizDefault MAXINT
|
|
1192
|
+
* @graphvizMinimum 0
|
|
1193
|
+
* @graphvizNotes sfdp only
|
|
1194
|
+
* @graphvizUsedBy G
|
|
1195
|
+
* @category Attribute
|
|
1196
|
+
*/
|
|
1197
|
+
levels: 'levels';
|
|
1198
|
+
/**
|
|
1199
|
+
* Specifies strictness of level constraints in neato when {@link mode}="ipsep" or "hier".
|
|
1200
|
+
* Larger positive values mean stricter constraints, which demand more separation between levels.
|
|
1201
|
+
* On the other hand, negative values will relax the constraints by allowing some overlap between the levels.
|
|
1202
|
+
*
|
|
1203
|
+
* @see {@link https://graphviz.org/docs/attrs/levelsgap/ Node, Edge and Graph Attributes#levelsgap}
|
|
1204
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/double/ double}
|
|
1205
|
+
* @graphvizDefault 0
|
|
1206
|
+
* @graphvizNotes neato only
|
|
1207
|
+
* @graphvizUsedBy G
|
|
1208
|
+
* @category Attribute
|
|
1209
|
+
*/
|
|
1210
|
+
levelsgap: 'levelsgap';
|
|
1211
|
+
/**
|
|
1212
|
+
* Logical head of an edge.
|
|
1213
|
+
* When {@link compound} is true, if **lhead** is defined and is the name of a cluster containing the real head,
|
|
1214
|
+
* the edge is clipped to the boundary of the cluster.
|
|
1215
|
+
* See the {@link https://graphviz.org/doc/info/attrs.html#undir_note limitation}.
|
|
1216
|
+
*
|
|
1217
|
+
* @see {@link https://graphviz.org/docs/attrs/lhead/ Node, Edge and Graph Attributes#lhead}
|
|
1218
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/string/ string}
|
|
1219
|
+
* @graphvizDefault ""
|
|
1220
|
+
* @graphvizNotes dot only
|
|
1221
|
+
* @graphvizUsedBy E
|
|
1222
|
+
* @category Attribute
|
|
1223
|
+
*/
|
|
1224
|
+
lhead: 'lhead';
|
|
1225
|
+
/**
|
|
1226
|
+
* Height of graph or cluster label, in inches.
|
|
1227
|
+
*
|
|
1228
|
+
* @see {@link https://graphviz.org/docs/attrs/lheight/ Node, Edge and Graph Attributes#lheight}
|
|
1229
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/double/ double}
|
|
1230
|
+
* @graphvizNotes write only
|
|
1231
|
+
* @graphvizUsedBy GC
|
|
1232
|
+
* @category Attribute
|
|
1233
|
+
*/
|
|
1234
|
+
lheight: 'lheight';
|
|
1235
|
+
/**
|
|
1236
|
+
* Label position, {@link https://graphviz.org/doc/info/attrs.html in points}.
|
|
1237
|
+
* The position indicates the center of the label.
|
|
1238
|
+
*
|
|
1239
|
+
* @see {@link https://graphviz.org/docs/attrs/lp/ Node, Edge and Graph Attributes#lp}
|
|
1240
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/point/ point}
|
|
1241
|
+
* @graphvizNotes write only
|
|
1242
|
+
* @graphvizUsedBy EGC
|
|
1243
|
+
* @category Attribute
|
|
1244
|
+
*/
|
|
1245
|
+
lp: 'lp';
|
|
1246
|
+
/**
|
|
1247
|
+
* Logical tail of an edge.
|
|
1248
|
+
* When {@link compound} is true, if **ltail** is defined and is the name of a cluster containing the real tail, the edge is clipped to the boundary of the cluster.
|
|
1249
|
+
* See the {@link https://graphviz.org/doc/info/attrs.html#undir_note limitation}.
|
|
1250
|
+
*
|
|
1251
|
+
* @see {@link https://graphviz.org/docs/attrs/ltail/ Node, Edge and Graph Attributes#ltail}
|
|
1252
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/string/ string}
|
|
1253
|
+
* @graphvizDefault ""
|
|
1254
|
+
* @graphvizNotes dot only
|
|
1255
|
+
* @graphvizUsedBy E
|
|
1256
|
+
* @category Attribute
|
|
1257
|
+
*/
|
|
1258
|
+
ltail: 'ltail';
|
|
1259
|
+
/**
|
|
1260
|
+
* Width of graph or cluster label, in inches.
|
|
1261
|
+
*
|
|
1262
|
+
* @see {@link https://graphviz.org/docs/attrs/lwidth/ Node, Edge and Graph Attributes#lwidth}
|
|
1263
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/double/ double}
|
|
1264
|
+
* @graphvizNotes write only
|
|
1265
|
+
* @graphvizUsedBy GC
|
|
1266
|
+
* @category Attribute
|
|
1267
|
+
*/
|
|
1268
|
+
lwidth: 'lwidth';
|
|
1269
|
+
/**
|
|
1270
|
+
* For graphs, this sets x and y margins of canvas, in inches.
|
|
1271
|
+
* If the margin is a single double, both margins are set equal to the given value.
|
|
1272
|
+
*
|
|
1273
|
+
* Note that the margin is not part of the drawing but just empty space left around the drawing.
|
|
1274
|
+
* It basically corresponds to a translation of drawing, as would be necessary to center a drawing on a page.
|
|
1275
|
+
* Nothing is actually drawn in the margin.
|
|
1276
|
+
* To actually extend the background of a drawing, see the {@link pad} attribute.
|
|
1277
|
+
*
|
|
1278
|
+
* For clusters, this specifies the space between the nodes in the cluster and the cluster bounding box.
|
|
1279
|
+
* By default, this is 8 points.
|
|
1280
|
+
*
|
|
1281
|
+
* For nodes, this attribute specifies space left around the node's label.
|
|
1282
|
+
* By default, the value is 0.11,0.055.
|
|
1283
|
+
*
|
|
1284
|
+
* @see {@link https://graphviz.org/docs/attrs/margin/ Node, Edge and Graph Attributes#margin}
|
|
1285
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/double/ double}/{@link https://graphviz.org/docs/attr-types/point/ point}
|
|
1286
|
+
* @graphvizDefault <device-dependent>
|
|
1287
|
+
* @graphvizUsedBy NCG
|
|
1288
|
+
* @category Attribute
|
|
1289
|
+
*/
|
|
1290
|
+
margin: 'margin';
|
|
1291
|
+
/**
|
|
1292
|
+
* Sets the number of iterations used.
|
|
1293
|
+
*
|
|
1294
|
+
* @see {@link https://graphviz.org/docs/attrs/maxiter/ Node, Edge and Graph Attributes#maxiter}
|
|
1295
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/int/ int}
|
|
1296
|
+
* @graphvizDefault
|
|
1297
|
+
* 100 * # nodes(mode == KK)
|
|
1298
|
+
* 200(mode == major)
|
|
1299
|
+
* 600(fdp)
|
|
1300
|
+
* @graphvizNotes fdp, neato only
|
|
1301
|
+
* @graphvizUsedBy G
|
|
1302
|
+
* @category Attribute
|
|
1303
|
+
*/
|
|
1304
|
+
maxiter: 'maxiter';
|
|
1305
|
+
/**
|
|
1306
|
+
* Multiplicative scale factor used to alter the MinQuit (default = 8) and MaxIter (default = 24) parameters used during crossing minimization.
|
|
1307
|
+
* These correspond to the number of tries without improvement before quitting and the maximum number of iterations in each pass.
|
|
1308
|
+
*
|
|
1309
|
+
* @see {@link https://graphviz.org/docs/attrs/mclimit/ Node, Edge and Graph Attributes#mclimit}
|
|
1310
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/double/ double}
|
|
1311
|
+
* @graphvizDefault 1
|
|
1312
|
+
* @graphvizNotes dot only
|
|
1313
|
+
* @graphvizUsedBy G
|
|
1314
|
+
* @category Attribute
|
|
1315
|
+
*/
|
|
1316
|
+
mclimit: 'mclimit';
|
|
1317
|
+
/**
|
|
1318
|
+
* Specifies the minimum separation between all nodes.
|
|
1319
|
+
*
|
|
1320
|
+
* @see {@link https://graphviz.org/docs/attrs/mindist/ Node, Edge and Graph Attributes#mindist}
|
|
1321
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/double/ double}
|
|
1322
|
+
* @graphvizDefault 1
|
|
1323
|
+
* @graphvizMinimum 0
|
|
1324
|
+
* @graphvizNotes circo only
|
|
1325
|
+
* @graphvizUsedBy G
|
|
1326
|
+
* @category Attribute
|
|
1327
|
+
*/
|
|
1328
|
+
mindist: 'mindist';
|
|
1329
|
+
/**
|
|
1330
|
+
* Minimum edge length (rank difference between head and tail).
|
|
1331
|
+
*
|
|
1332
|
+
* @see {@link https://graphviz.org/docs/attrs/minlen/ Node, Edge and Graph Attributes#minlen}
|
|
1333
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/int/ int}
|
|
1334
|
+
* @graphvizDefault 1
|
|
1335
|
+
* @graphvizMinimum 0
|
|
1336
|
+
* @graphvizNotes dot only
|
|
1337
|
+
* @graphvizUsedBy E
|
|
1338
|
+
* @category Attribute
|
|
1339
|
+
*/
|
|
1340
|
+
minlen: 'minlen';
|
|
1341
|
+
/**
|
|
1342
|
+
* Technique for optimizing the layout.
|
|
1343
|
+
* For neato, if **mode** is "major", neato uses stress majorization.
|
|
1344
|
+
* If **mode** is "KK", neato uses a version of the gradient descent method.
|
|
1345
|
+
* The only advantage to the latter technique is that it is sometimes appreciably faster for small (number of nodes < 100) graphs.
|
|
1346
|
+
* A significant disadvantage is that it may cycle.
|
|
1347
|
+
*
|
|
1348
|
+
* There are two experimental modes in neato, "hier", which adds a top-down directionality similar to the layout used in dot, and "ipsep",
|
|
1349
|
+
* which allows the graph to specify minimum vertical and horizontal distances between nodes. (See the {@link sep} attribute.)
|
|
1350
|
+
*
|
|
1351
|
+
* For sfdp, the default **mode** is "spring", which corresponds to using a spring-electrical model.
|
|
1352
|
+
* Setting **mode** to "maxent" causes a similar model to be run but one that also takes into account edge lengths specified by the "len" attribute.
|
|
1353
|
+
*
|
|
1354
|
+
* @see {@link https://graphviz.org/docs/attrs/mode/ Node, Edge and Graph Attributes#mode}
|
|
1355
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/string/ string}
|
|
1356
|
+
* @graphvizDefault major
|
|
1357
|
+
* @graphvizNotes neato only
|
|
1358
|
+
* @graphvizUsedBy G
|
|
1359
|
+
* @category Attribute
|
|
1360
|
+
*/
|
|
1361
|
+
mode: 'mode';
|
|
1362
|
+
/**
|
|
1363
|
+
* This value specifies how the distance matrix is computed for the input graph.
|
|
1364
|
+
* The distance matrix specifies the ideal distance between every pair of nodes.
|
|
1365
|
+
* neato attemps to find a layout which best achieves these distances.
|
|
1366
|
+
* By default, it uses the length of the shortest path, where the length of each edge is given by its {@link len} attribute.
|
|
1367
|
+
* If **model** is "circuit", neato uses the circuit resistance model to compute the distances.
|
|
1368
|
+
* This tends to emphasize clusters.
|
|
1369
|
+
* If **model** is "subset", neato uses the subset model.
|
|
1370
|
+
* This sets the edge length to be the number of nodes that are neighbors of exactly one of the end points, and then calculates the shortest paths.
|
|
1371
|
+
* This helps to separate nodes with high degree.
|
|
1372
|
+
*
|
|
1373
|
+
* For more control of distances, one can use model=mds.
|
|
1374
|
+
* In this case, the {@link len} of an edge is used as the ideal distance between its vertices.
|
|
1375
|
+
* A shortest path calculation is only used for pairs of nodes not connected by an edge.
|
|
1376
|
+
* Thus, by supplying a complete graph, the input can specify all of the relevant distances.
|
|
1377
|
+
*
|
|
1378
|
+
* @see {@link https://graphviz.org/docs/attrs/model/ Node, Edge and Graph Attributes#model}
|
|
1379
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/string/ string}
|
|
1380
|
+
* @graphvizDefault shortpath
|
|
1381
|
+
* @graphvizNotes neato only
|
|
1382
|
+
* @graphvizUsedBy G
|
|
1383
|
+
* @category Attribute
|
|
1384
|
+
*/
|
|
1385
|
+
model: 'model';
|
|
1386
|
+
/**
|
|
1387
|
+
* If Graphviz is built with MOSEK defined, mode=ipsep and mosek=true, the Mosek software (<www.mosek.com>) is use to solve the ipsep constraints.
|
|
1388
|
+
*
|
|
1389
|
+
* @see {@link https://graphviz.org/docs/attrs/mosek/ Node, Edge and Graph Attributes#mosek}
|
|
1390
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/bool bool}
|
|
1391
|
+
* @graphvizDefault FALSE
|
|
1392
|
+
* @graphvizNotes neato only
|
|
1393
|
+
* @graphvizUsedBy G
|
|
1394
|
+
* @category Attribute
|
|
1395
|
+
*/
|
|
1396
|
+
mosek: 'mosek';
|
|
1397
|
+
/**
|
|
1398
|
+
* The original ranking algorithm in dot is recursive on clusters.
|
|
1399
|
+
* This can produce fewer ranks and a more compact layout, but sometimes at the cost of a head node being place on a higher rank than the tail node.
|
|
1400
|
+
* It also assumes that a node is not constrained in separate, incompatible subgraphs.
|
|
1401
|
+
* For example, a node cannot be in a cluster and also be constrained by rank=same with a node not in the cluster.
|
|
1402
|
+
*
|
|
1403
|
+
* If newrank=true, the ranking algorithm does a single global ranking, ignoring clusters.
|
|
1404
|
+
* This allows nodes to be subject to multiple constraints.
|
|
1405
|
+
* Rank constraints will usually take precedence over edge constraints.
|
|
1406
|
+
*
|
|
1407
|
+
* @see {@link https://graphviz.org/docs/attrs/newrank/ Node, Edge and Graph Attributes#newrank}
|
|
1408
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/bool bool}
|
|
1409
|
+
* @graphvizDefault FALSE
|
|
1410
|
+
* @graphvizNotes dot only
|
|
1411
|
+
* @graphvizUsedBy G
|
|
1412
|
+
* @category Attribute
|
|
1413
|
+
*/
|
|
1414
|
+
newrank: 'newrank';
|
|
1415
|
+
/**
|
|
1416
|
+
* In dot, this specifies the minimum space between two adjacent nodes in the same rank, in inches.
|
|
1417
|
+
*
|
|
1418
|
+
* For other layouts, this affects the spacing between loops on a single node, or multiedges between a pair of nodes.
|
|
1419
|
+
*
|
|
1420
|
+
* @see {@link https://graphviz.org/docs/attrs/nodesep/ Node, Edge and Graph Attributes#nodesep}
|
|
1421
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/double/ double}
|
|
1422
|
+
* @graphvizDefault 0.25
|
|
1423
|
+
* @graphvizMinimum 0.02
|
|
1424
|
+
* @graphvizUsedBy G
|
|
1425
|
+
* @category Attribute
|
|
1426
|
+
*/
|
|
1427
|
+
nodesep: 'nodesep';
|
|
1428
|
+
/**
|
|
1429
|
+
* By default, the justification of multi-line labels is done within the largest context that makes sense.
|
|
1430
|
+
* Thus, in the label of a polygonal node, a left-justified line will align with the left side of the node (shifted by the prescribed {@link margin}).
|
|
1431
|
+
* In record nodes, left-justified line will line up with the left side of the enclosing column of fields.
|
|
1432
|
+
* If **nojustify** is "true", multi-line labels will be justified in the context of itself.
|
|
1433
|
+
* For example, if the attribute is set, the first label line is long, and the second is shorter and left-justified, the second will align with the left-most character in the first line, regardless of how large the node might be.
|
|
1434
|
+
*
|
|
1435
|
+
* @see {@link https://graphviz.org/docs/attrs/nojustify/ Node, Edge and Graph Attributes#nojustify}
|
|
1436
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/bool bool}
|
|
1437
|
+
* @graphvizDefault FALSE
|
|
1438
|
+
* @graphvizUsedBy GCNE
|
|
1439
|
+
* @category Attribute
|
|
1440
|
+
*/
|
|
1441
|
+
nojustify: 'nojustify';
|
|
1442
|
+
/**
|
|
1443
|
+
* If set, normalize coordinates of final layout so that the first point is at the origin, and then rotate the layout so that the angle of the first edge is specified by the value of normalize in degrees.
|
|
1444
|
+
* If normalize is not a number, it is evaluated as a bool, with true corresponding to 0 degrees.
|
|
1445
|
+
* **NOTE**: Since the attribute is evaluated first as a number, 0 and 1 cannot be used for false and true.
|
|
1446
|
+
*
|
|
1447
|
+
* @see {@link https://graphviz.org/docs/attrs/normalize/ Node, Edge and Graph Attributes#normalize}
|
|
1448
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/double/ double}/{@link https://graphviz.org/docs/attr-types/bool bool}
|
|
1449
|
+
* @graphvizDefault FALSE
|
|
1450
|
+
* @graphvizNotes not dot
|
|
1451
|
+
* @graphvizUsedBy G
|
|
1452
|
+
* @category Attribute
|
|
1453
|
+
*/
|
|
1454
|
+
normalize: 'normalize';
|
|
1455
|
+
/**
|
|
1456
|
+
* By default, the final layout is translated so that the lower-left corner of the bounding box is at the origin.
|
|
1457
|
+
* This can be annoying if some nodes are pinned or if the user runs `neato -n`.
|
|
1458
|
+
* To avoid this translation, set notranslate to true.
|
|
1459
|
+
*
|
|
1460
|
+
* @see {@link https://graphviz.org/docs/attrs/notranslate/ Node, Edge and Graph Attributes#notranslate}
|
|
1461
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/bool bool}
|
|
1462
|
+
* @graphvizDefault FALSE
|
|
1463
|
+
* @graphvizNotes neato only
|
|
1464
|
+
* @graphvizUsedBy G
|
|
1465
|
+
* @category Attribute
|
|
1466
|
+
*/
|
|
1467
|
+
notranslate: 'notranslate';
|
|
1468
|
+
/**
|
|
1469
|
+
* Used to set number of iterations in network simplex applications.
|
|
1470
|
+
* **nslimit** is used in computing node x coordinates, **nslimit1** for ranking nodes.
|
|
1471
|
+
* If defined, # iterations = **nslimit(1)** * # nodes; otherwise, # iterations = MAXINT.
|
|
1472
|
+
*
|
|
1473
|
+
* @see {@link https://graphviz.org/docs/attrs/nslimit/ Node, Edge and Graph Attributes#nslimit}
|
|
1474
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/double/ double}
|
|
1475
|
+
* @graphvizNotes dot only
|
|
1476
|
+
* @graphvizUsedBy G
|
|
1477
|
+
* @category Attribute
|
|
1478
|
+
*/
|
|
1479
|
+
nslimit: 'nslimit';
|
|
1480
|
+
/**
|
|
1481
|
+
* Used to set number of iterations in network simplex applications.
|
|
1482
|
+
* **nslimit** is used in computing node x coordinates, **nslimit1** for ranking nodes.
|
|
1483
|
+
* If defined, # iterations = **nslimit(1)** * # nodes; otherwise, # iterations = MAXINT.
|
|
1484
|
+
*
|
|
1485
|
+
* @see {@link https://graphviz.org/docs/attrs/nslimit1/ Node, Edge and Graph Attributes#nslimit1}
|
|
1486
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/double/ double}
|
|
1487
|
+
* @graphvizNotes dot only
|
|
1488
|
+
* @graphvizUsedBy G
|
|
1489
|
+
* @category Attribute
|
|
1490
|
+
*/
|
|
1491
|
+
nslimit1: 'nslimit1';
|
|
1492
|
+
/**
|
|
1493
|
+
* Angle, in degrees, used to rotate polygon node shapes. For any number of polygon sides, 0 degrees rotation results in a flat base.
|
|
1494
|
+
*
|
|
1495
|
+
* @see {@link https://graphviz.org/docs/attrs/ordering/ Node, Edge and Graph Attributes#ordering}
|
|
1496
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/string/ string}
|
|
1497
|
+
* @graphvizDefault ""
|
|
1498
|
+
* @graphvizNotes dot only
|
|
1499
|
+
* @graphvizUsedBy GN
|
|
1500
|
+
* @category Attribute
|
|
1501
|
+
*/
|
|
1502
|
+
ordering: 'ordering';
|
|
1503
|
+
/**
|
|
1504
|
+
* If "[lL]*", set graph orientation to landscape Used only if {@link rotate} is not defined.
|
|
1505
|
+
*
|
|
1506
|
+
* @see {@link https://graphviz.org/docs/attrs/orientation/ Node, Edge and Graph Attributes#orientation}
|
|
1507
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/string/ string}
|
|
1508
|
+
* @graphvizDefault ""
|
|
1509
|
+
* @graphvizUsedBy G
|
|
1510
|
+
* @category Attribute
|
|
1511
|
+
*/
|
|
1512
|
+
orientation: 'orientation';
|
|
1513
|
+
/**
|
|
1514
|
+
* Specify order in which nodes and edges are drawn.
|
|
1515
|
+
*
|
|
1516
|
+
* @see {@link https://graphviz.org/docs/attrs/outputorder/ Node, Edge and Graph Attributes#outputorder}
|
|
1517
|
+
* @graphvizType {@link https://graphviz.org/_pages/doc/info/attrs.html#k:outputMode outputMode}
|
|
1518
|
+
* @graphvizDefault breadthfirst
|
|
1519
|
+
* @graphvizUsedBy G
|
|
1520
|
+
* @category Attribute
|
|
1521
|
+
*/
|
|
1522
|
+
outputorder: 'outputorder';
|
|
1523
|
+
/**
|
|
1524
|
+
* Determines if and how node overlaps should be removed.
|
|
1525
|
+
* Nodes are first enlarged using the {@link sep} attribute.
|
|
1526
|
+
* If "true" , overlaps are retained.
|
|
1527
|
+
* If the value is "scale", overlaps are removed by uniformly scaling in x and y.
|
|
1528
|
+
* If the value converts to "false", and it is available, Prism, a proximity graph-based algorithm, is used to remove node overlaps.
|
|
1529
|
+
* This can also be invoked explicitly with "overlap=prism".
|
|
1530
|
+
* This technique starts with a small scaling up, controlled by the {@link overlap_scaling} attribute, which can remove a significant portion of the overlap.
|
|
1531
|
+
* The prism option also accepts an optional non-negative integer suffix.
|
|
1532
|
+
* This can be used to control the number of attempts made at overlap removal.
|
|
1533
|
+
* By default, overlap="prism" is equivalent to overlap="prism1000".
|
|
1534
|
+
* Setting overlap="prism0" causes only the scaling phase to be run.
|
|
1535
|
+
*
|
|
1536
|
+
* If Prism is not available, or the version of Graphviz is earlier than 2.28, "overlap=false" uses a Voronoi-based technique.
|
|
1537
|
+
* This can always be invoked explicitly with "overlap=voronoi".
|
|
1538
|
+
*
|
|
1539
|
+
* If the value is "scalexy", x and y are separately scaled to remove overlaps.
|
|
1540
|
+
*
|
|
1541
|
+
* If the value is "compress", the layout will be scaled down as much as possible without introducing any overlaps, obviously assuming there are none to begin with.
|
|
1542
|
+
*
|
|
1543
|
+
* **N.B.**The remaining allowed values of overlap correspond to algorithms which, at present, can produce bad aspect ratios.
|
|
1544
|
+
* In addition, we deprecate the use of the "ortho*" and "portho*".
|
|
1545
|
+
*
|
|
1546
|
+
* If the value is "vpsc", overlap removal is done as a quadratic optimization to minimize node displacement while removing node overlaps.
|
|
1547
|
+
*
|
|
1548
|
+
* If the value is "orthoxy" or "orthoyx", overlaps are moved by optimizing two constraint problems, one for the x axis and one for the y.
|
|
1549
|
+
* The suffix indicates which axis is processed first. If the value is "ortho", the technique is similar to "orthoxy" except a heuristic is used to reduce the bias between the two passes.
|
|
1550
|
+
* If the value is "ortho_yx", the technique is the same as "ortho", except the roles of x and y are reversed.
|
|
1551
|
+
* The values "portho", "porthoxy", "porthoxy", and "portho_yx" are similar to the previous four, except only pseudo-orthogonal ordering is enforced.
|
|
1552
|
+
*
|
|
1553
|
+
* If the layout is done by neato with {@link mode}="ipsep", then one can use overlap=ipsep.
|
|
1554
|
+
* In this case, the overlap removal constraints are incorporated into the layout algorithm itself.
|
|
1555
|
+
* N.B. At present, this only supports one level of clustering.
|
|
1556
|
+
*
|
|
1557
|
+
* Except for fdp and sfdp, the layouts assume overlap="true" as the default.
|
|
1558
|
+
* Fdp first uses a number of passes using a built-in, force-directed technique to try to remove overlaps.
|
|
1559
|
+
* Thus, fdp accepts **overlap** with an integer prefix followed by a colon, specifying the number of tries.
|
|
1560
|
+
* If there is no prefix, no initial tries will be performed.
|
|
1561
|
+
* If there is nothing following a colon, none of the above methods will be attempted.
|
|
1562
|
+
* By default, fdp uses overlap="9:prism".
|
|
1563
|
+
* Note that overlap="true", overlap="0:true" and overlap="0:" all turn off all overlap removal.
|
|
1564
|
+
*
|
|
1565
|
+
* By default, sfdp uses `overlap="prism0"`.
|
|
1566
|
+
*
|
|
1567
|
+
* Except for the Voronoi and prism methods, all of these transforms preserve the orthogonal ordering of the original layout.
|
|
1568
|
+
* That is, if the x coordinates of two nodes are originally the same, they will remain the same, and if the x coordinate of one node is originally less than the x coordinate of another, this relation will still hold in the transformed layout.
|
|
1569
|
+
* The similar properties hold for the y coordinates.
|
|
1570
|
+
* This is not quite true for the "porth*" cases.
|
|
1571
|
+
* For these, orthogonal ordering is only preserved among nodes related by an edge.
|
|
1572
|
+
*
|
|
1573
|
+
* @see {@link https://graphviz.org/docs/attrs/overlap/ Node, Edge and Graph Attributes#overlap}
|
|
1574
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/string/ string}/{@link https://graphviz.org/docs/attr-types/bool bool}
|
|
1575
|
+
* @graphvizDefault TRUE
|
|
1576
|
+
* @graphvizNotes not dot
|
|
1577
|
+
* @graphvizUsedBy G
|
|
1578
|
+
* @category Attribute
|
|
1579
|
+
*/
|
|
1580
|
+
overlap: 'overlap';
|
|
1581
|
+
/**
|
|
1582
|
+
* When overlap=prism, the layout is scaled by this factor, thereby removing a fair amount of node overlap,
|
|
1583
|
+
* and making node overlap removal faster and better able to retain the graph's shape.
|
|
1584
|
+
*
|
|
1585
|
+
* If overlap_scaling is negative, the layout is scaled by -1*overlap_scaling times the average label size.
|
|
1586
|
+
* If overlap_scaling is positive, the layout is scaled by overlap_scaling.
|
|
1587
|
+
* If overlap_scaling is zero, no scaling is done.
|
|
1588
|
+
*
|
|
1589
|
+
* @see {@link https://graphviz.org/docs/attrs/overlap_scaling/ Node, Edge and Graph Attributes#overlap_scaling}
|
|
1590
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/double/ double}
|
|
1591
|
+
* @graphvizDefault -4
|
|
1592
|
+
* @graphvizMinimum -1.00E+10
|
|
1593
|
+
* @graphvizNotes prism only
|
|
1594
|
+
* @graphvizUsedBy G
|
|
1595
|
+
* @category Attribute
|
|
1596
|
+
*/
|
|
1597
|
+
overlap_scaling: 'overlap_scaling';
|
|
1598
|
+
/**
|
|
1599
|
+
* If true, the overlap removal algorithm will perform a compression pass to reduce the size of the layout.
|
|
1600
|
+
*
|
|
1601
|
+
* @see {@link https://graphviz.org/docs/attrs/overlap_shrink/ Node, Edge and Graph Attributes#overlap_shrink}
|
|
1602
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/bool bool}
|
|
1603
|
+
* @graphvizDefault TRUE
|
|
1604
|
+
* @graphvizNotes prism only
|
|
1605
|
+
* @graphvizUsedBy G
|
|
1606
|
+
* @category Attribute
|
|
1607
|
+
*/
|
|
1608
|
+
overlap_shrink: 'overlap_shrink';
|
|
1609
|
+
/**
|
|
1610
|
+
* This is true if the value of pack is "true" (case-insensitive) or a non-negative integer.
|
|
1611
|
+
* If true, each connected component of the graph is laid out separately, and then the graphs are packed together.
|
|
1612
|
+
* If pack has an integral value, this is used as the size, in {@link points}, of a margin around each part; otherwise, a default margin of 8 is used.
|
|
1613
|
+
* If pack is interpreted as false, the entire graph is laid out together.
|
|
1614
|
+
* The granularity and method of packing is influenced by the {@link packmode} attribute.
|
|
1615
|
+
*
|
|
1616
|
+
* For layouts which always do packing, such a twopi, the **pack** attribute is just used to set the margin.
|
|
1617
|
+
*
|
|
1618
|
+
* @see {@link https://graphviz.org/docs/attrs/pack/ Node, Edge and Graph Attributes#pack}
|
|
1619
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/bool bool}/int
|
|
1620
|
+
* @graphvizDefault FALSE
|
|
1621
|
+
* @graphvizUsedBy G
|
|
1622
|
+
* @category Attribute
|
|
1623
|
+
*/
|
|
1624
|
+
pack: 'pack';
|
|
1625
|
+
/**
|
|
1626
|
+
* This indicates how connected components should be packed (cf. {@link https://graphviz.org/docs/attrs/packmode/ packMode}).
|
|
1627
|
+
* Note that defining {@link packmode} will automatically turn on packing as though one had set `pack=true`.
|
|
1628
|
+
*
|
|
1629
|
+
* @see {@link https://graphviz.org/docs/attrs/packmode/ Node, Edge and Graph Attributes#packmode}
|
|
1630
|
+
* @graphvizType {@link https://graphviz.org/docs/attrs/packmode/ packMode}
|
|
1631
|
+
* @graphvizDefault node
|
|
1632
|
+
* @graphvizUsedBy G
|
|
1633
|
+
* @category Attribute
|
|
1634
|
+
*/
|
|
1635
|
+
packmode: 'packmode';
|
|
1636
|
+
/**
|
|
1637
|
+
* The pad attribute specifies how much, in inches, to extend the drawing area around the minimal area needed to draw the graph.
|
|
1638
|
+
* If the pad is a single double, both the x and y pad values are set equal to the given value.
|
|
1639
|
+
* This area is part of the drawing and will be filled with the background color, if appropriate.
|
|
1640
|
+
*
|
|
1641
|
+
* Normally, a small pad is used for aesthetic reasons, especially when a background color is used,
|
|
1642
|
+
* to avoid having nodes and edges abutting the boundary of the drawn region.
|
|
1643
|
+
*
|
|
1644
|
+
* @see {@link https://graphviz.org/docs/attrs/pad/ Node, Edge and Graph Attributes#pad}
|
|
1645
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/double/ double}/{@link https://graphviz.org/docs/attr-types/point/ point}
|
|
1646
|
+
* @graphvizDefault 0.0555 (4 points)
|
|
1647
|
+
* @graphvizUsedBy G
|
|
1648
|
+
* @category Attribute
|
|
1649
|
+
*/
|
|
1650
|
+
pad: 'pad';
|
|
1651
|
+
/**
|
|
1652
|
+
* Width and height of output pages, in inches.
|
|
1653
|
+
* If only a single value is given, this is used for both the width and height.
|
|
1654
|
+
*
|
|
1655
|
+
* If this is set and is smaller than the size of the layout,
|
|
1656
|
+
* a rectangular array of pages of the specified page size is overlaid on the layout,
|
|
1657
|
+
* with origins aligned in the lower-left corner, thereby partitioning the layout into pages.
|
|
1658
|
+
* The pages are then produced one at a time, in {@link pagedir} order.
|
|
1659
|
+
*
|
|
1660
|
+
* At present, this only works for PostScript output.
|
|
1661
|
+
* For other types of output, one should use another tool to split the output into multiple output files.
|
|
1662
|
+
* Or use the {@link viewport} to generate multiple files.
|
|
1663
|
+
*
|
|
1664
|
+
* @see {@link https://graphviz.org/docs/attrs/page/ Node, Edge and Graph Attributes#page}
|
|
1665
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/double/ double}/{@link https://graphviz.org/docs/attr-types/point/ point}
|
|
1666
|
+
* @graphvizUsedBy G
|
|
1667
|
+
* @category Attribute
|
|
1668
|
+
*/
|
|
1669
|
+
page: 'page';
|
|
1670
|
+
/**
|
|
1671
|
+
* If the page attribute is set and applicable, this attribute specifies the order in which the pages are emitted. This is limited to one of the 8 row or column major orders.
|
|
1672
|
+
*
|
|
1673
|
+
* @see {@link https://graphviz.org/docs/attrs/pagedir/ Node, Edge and Graph Attributes#pagedir}
|
|
1674
|
+
* @graphvizType {@link https://graphviz.org/_pages/doc/info/attrs.html#k:pagedir pagedir}
|
|
1675
|
+
* @graphvizDefault BL
|
|
1676
|
+
* @graphvizUsedBy G
|
|
1677
|
+
* @category Attribute
|
|
1678
|
+
*/
|
|
1679
|
+
pagedir: 'pagedir';
|
|
1680
|
+
/**
|
|
1681
|
+
* Color used to draw the bounding box around a cluster.
|
|
1682
|
+
* If **pencolor** is not defined, {@link color} is used.
|
|
1683
|
+
* If this is not defined, {@link bgcolor} is used.
|
|
1684
|
+
* If this is not defined, the default is used.
|
|
1685
|
+
*
|
|
1686
|
+
* Note that a cluster inherits the root graph's attributes if defined.
|
|
1687
|
+
* Thus, if the root graph has defined a **pencolor**, this will override a **color** or **bgcolor** attribute set for the cluster.
|
|
1688
|
+
*
|
|
1689
|
+
* @see {@link https://graphviz.org/docs/attrs/pagedir/ Node, Edge and Graph Attributes#pagedir}
|
|
1690
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/color/ color}
|
|
1691
|
+
* @graphvizDefault black
|
|
1692
|
+
* @graphvizUsedBy C
|
|
1693
|
+
* @category Attribute
|
|
1694
|
+
*/
|
|
1695
|
+
pencolor: 'pencolor';
|
|
1696
|
+
/**
|
|
1697
|
+
* Specifies the width of the pen, in points, used to draw lines and curves, including the boundaries of edges and clusters.
|
|
1698
|
+
* The value is inherited by subclusters.
|
|
1699
|
+
* It has no effect on text.
|
|
1700
|
+
*
|
|
1701
|
+
* Previous to 31 January 2008, the effect of penwidth=W was achieved by including setlinewidth(W) as part of a {@link style} specification.
|
|
1702
|
+
* If both are used, penwidth will be used.
|
|
1703
|
+
*
|
|
1704
|
+
* @see {@link https://graphviz.org/docs/attrs/penwidth/ Node, Edge and Graph Attributes#penwidth}
|
|
1705
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/double/ double}
|
|
1706
|
+
* @graphvizDefault 1
|
|
1707
|
+
* @graphvizMinimum 0
|
|
1708
|
+
* @graphvizUsedBy CNE
|
|
1709
|
+
* @category Attribute
|
|
1710
|
+
*/
|
|
1711
|
+
penwidth: 'penwidth';
|
|
1712
|
+
/**
|
|
1713
|
+
* Set number of peripheries used in polygonal shapes and cluster boundaries.
|
|
1714
|
+
* Note that {@link https://graphviz.org/doc/info/shapes.html#epsf user-defined shapes} are treated as a form of box shape, so the default peripheries value is 1 and the user-defined shape will be drawn in a bounding rectangle.
|
|
1715
|
+
* Setting peripheries=0 will turn this off.
|
|
1716
|
+
* Also, 1 is the maximum peripheries value for clusters.
|
|
1717
|
+
*
|
|
1718
|
+
* @see {@link https://graphviz.org/docs/attrs/peripheries/ Node, Edge and Graph Attributes#peripheries}
|
|
1719
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/int/ int}
|
|
1720
|
+
* @graphvizDefault
|
|
1721
|
+
* shape default(nodes)
|
|
1722
|
+
* 1(clusters)
|
|
1723
|
+
* @graphvizMinimum 0
|
|
1724
|
+
* @graphvizUsedBy NC
|
|
1725
|
+
* @category Attribute
|
|
1726
|
+
*/
|
|
1727
|
+
peripheries: 'peripheries';
|
|
1728
|
+
/**
|
|
1729
|
+
* If true and the node has a pos attribute on input, neato or fdp prevents the node from moving from the input position.
|
|
1730
|
+
* This property can also be specified in the pos attribute itself (cf. the {@link https://graphviz.org/docs/attr-types/point/ point} type).
|
|
1731
|
+
*
|
|
1732
|
+
* Note: Due to an artifact of the implementation, previous to 27 Feb 2014, final coordinates are translated to the origin.
|
|
1733
|
+
* Thus, if you look at the output coordinates given in the (x)dot or plain format, pinned nodes will not have the same output coordinates as were given on input.
|
|
1734
|
+
* If this is important, a simple workaround is to maintain the coordinates of a pinned node.
|
|
1735
|
+
* The vector difference between the old and new coordinates will give the translation, which can then be subtracted from all of the appropriate coordinates.
|
|
1736
|
+
*
|
|
1737
|
+
* After 27 Feb 2014, this translation can be avoided in neato by setting the {@link notranslate} to TRUE.
|
|
1738
|
+
* However, if the graph specifies {@link overlap node overlap removal} or a change in {@link ratio aspect ratio}, node coordinates may still change.
|
|
1739
|
+
*
|
|
1740
|
+
* @see {@link https://graphviz.org/docs/attrs/pin/ Node, Edge and Graph Attributes#pin}
|
|
1741
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/bool bool}
|
|
1742
|
+
* @graphvizDefault FALSE
|
|
1743
|
+
* @graphvizNotes fdp, neato only
|
|
1744
|
+
* @graphvizUsedBy N
|
|
1745
|
+
* @category Attribute
|
|
1746
|
+
*/
|
|
1747
|
+
pin: 'pin';
|
|
1748
|
+
/**
|
|
1749
|
+
* Position of node, or spline control points.
|
|
1750
|
+
* For nodes, the position indicates the center of the node.
|
|
1751
|
+
* On output, the coordinates are in {@link https://graphviz.org/doc/info/attrs.html points}.
|
|
1752
|
+
*
|
|
1753
|
+
* In neato and fdp, pos can be used to set the initial position of a node.
|
|
1754
|
+
* By default, the coordinates are assumed to be in inches.
|
|
1755
|
+
* However, the {@link https://graphviz.org/_pages/doc/info/command.html#d:s -s} command line flag can be used to specify different units.
|
|
1756
|
+
* As the output coordinates are in points, feeding the output of a graph laid out by a Graphviz program into neato or fdp will almost always require the -s flag.
|
|
1757
|
+
*
|
|
1758
|
+
* When the {@link https://graphviz.org/_pages/doc/info/command.html#d:n -n} command line flag is used with neato,
|
|
1759
|
+
* it is assumed the positions have been set by one of the layout programs, and are therefore in points.
|
|
1760
|
+
* Thus, neato -n can accept input correctly without requiring a -s flag and, in fact, ignores any such flag.
|
|
1761
|
+
*
|
|
1762
|
+
* @see {@link https://graphviz.org/docs/attrs/pos/ Node, Edge and Graph Attributes#pos}
|
|
1763
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/point/ point}/{@link https://graphviz.org/_pages/doc/info/attrs.html#k:smoothType splineType}
|
|
1764
|
+
* @graphvizUsedBy EN
|
|
1765
|
+
* @category Attribute
|
|
1766
|
+
*/
|
|
1767
|
+
pos: 'pos';
|
|
1768
|
+
/**
|
|
1769
|
+
* Quadtree scheme to use.
|
|
1770
|
+
*
|
|
1771
|
+
* A TRUE bool value corresponds to "normal"; a FALSE bool value corresponds to "none".
|
|
1772
|
+
* As a slight exception to the normal interpretation of bool, a value of "2" corresponds to "fast".
|
|
1773
|
+
*
|
|
1774
|
+
* @see {@link https://graphviz.org/docs/attrs/quadtree/ Node, Edge and Graph Attributes#quadtree}
|
|
1775
|
+
* @graphvizType {@link https://graphviz.org/_pages/doc/info/attrs.html#k:quadType quadType}/{@link https://graphviz.org/docs/attr-types/bool bool}
|
|
1776
|
+
* @graphvizDefault normal
|
|
1777
|
+
* @graphvizNotes sfdp only
|
|
1778
|
+
* @graphvizUsedBy G
|
|
1779
|
+
* @category Attribute
|
|
1780
|
+
*/
|
|
1781
|
+
quadtree: 'quadtree';
|
|
1782
|
+
/**
|
|
1783
|
+
* If **quantum** > 0.0, node label dimensions will be rounded to integral multiples of the quantum.
|
|
1784
|
+
*
|
|
1785
|
+
* @see {@link https://graphviz.org/docs/attrs/quantum/ Node, Edge and Graph Attributes#quantum}
|
|
1786
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/double/ double}
|
|
1787
|
+
* @graphvizDefault 0
|
|
1788
|
+
* @graphvizMinimum 0
|
|
1789
|
+
* @graphvizUsedBy G
|
|
1790
|
+
* @category Attribute
|
|
1791
|
+
*/
|
|
1792
|
+
quantum: 'quantum';
|
|
1793
|
+
/**
|
|
1794
|
+
* Rank constraints on the nodes in a subgraph.
|
|
1795
|
+
* If **rank**="same", all nodes are placed on the same rank.
|
|
1796
|
+
* If **rank**="min", all nodes are placed on the minimum rank.
|
|
1797
|
+
* If **rank**="source", all nodes are placed on the minimum rank, and the only nodes on the minimum rank belong to some subgraph whose rank attribute is "source" or "min".
|
|
1798
|
+
* Analogous criteria hold for rank="max" and rank="sink".
|
|
1799
|
+
* (Note: the minimum rank is topmost or leftmost, and the maximum rank is bottommost or rightmost.)
|
|
1800
|
+
*
|
|
1801
|
+
* @see {@link https://graphviz.org/docs/attrs/rank/ Node, Edge and Graph Attributes#rank}
|
|
1802
|
+
* @graphvizType {@link https://graphviz.org/_pages/doc/info/attrs.html#k:rankType rankType}
|
|
1803
|
+
* @graphvizNotes dot only
|
|
1804
|
+
* @graphvizUsedBy S
|
|
1805
|
+
* @category Attribute
|
|
1806
|
+
*/
|
|
1807
|
+
rank: 'rank';
|
|
1808
|
+
/**
|
|
1809
|
+
* Sets direction of graph layout.
|
|
1810
|
+
* For example, if **rankdir**="LR", and barring cycles, an edge T -> H; will go from left to right.
|
|
1811
|
+
* By default, graphs are laid out from top to bottom.
|
|
1812
|
+
*
|
|
1813
|
+
* This attribute also has a side-effect in determining how record nodes are interpreted.
|
|
1814
|
+
* See {@link https://graphviz.org/doc/info/shapes.html record shapes}.
|
|
1815
|
+
*
|
|
1816
|
+
* @see {@link https://graphviz.org/docs/attrs/rankdir/ Node, Edge and Graph Attributes#rankdir}
|
|
1817
|
+
* @graphvizType {@link https://graphviz.org/_pages/doc/info/attrs.html#k:rankdir rankdir}
|
|
1818
|
+
* @graphvizDefault TB
|
|
1819
|
+
* @graphvizNotes dot only
|
|
1820
|
+
* @graphvizUsedBy G
|
|
1821
|
+
* @category Attribute
|
|
1822
|
+
*/
|
|
1823
|
+
rankdir: 'rankdir';
|
|
1824
|
+
/**
|
|
1825
|
+
* In dot, this gives the desired rank separation, in inches.
|
|
1826
|
+
* This is the minimum vertical distance between the bottom of the nodes in one rank and the tops of nodes in the next.
|
|
1827
|
+
* If the value contains "equally", the centers of all ranks are spaced equally apart.
|
|
1828
|
+
* Note that both settings are possible, e.g., ranksep = "1.2 equally".
|
|
1829
|
+
*
|
|
1830
|
+
* In twopi, this attribute specifies the radial separation of concentric circles.
|
|
1831
|
+
* For twopi, ranksep can also be a list of doubles.
|
|
1832
|
+
* The first double specifies the radius of the inner circle; the second double specifies the increase in radius from the first circle to the second; etc.
|
|
1833
|
+
* If there are more circles than numbers, the last number is used as the increment for the remainder.
|
|
1834
|
+
*
|
|
1835
|
+
* @see {@link https://graphviz.org/docs/attrs/ranksep/ Node, Edge and Graph Attributes#ranksep}
|
|
1836
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/double/ double}/{@link https://graphviz.org/_pages/doc/info/attrs.html#k:doubleList doubleList}
|
|
1837
|
+
* @graphvizDefault
|
|
1838
|
+
* 0.5(dot)
|
|
1839
|
+
* 1.0(twopi)
|
|
1840
|
+
* @graphvizMinimum 0.02
|
|
1841
|
+
* @graphvizNotes twopi, dot only
|
|
1842
|
+
* @graphvizUsedBy G
|
|
1843
|
+
* @category Attribute
|
|
1844
|
+
*/
|
|
1845
|
+
ranksep: 'ranksep';
|
|
1846
|
+
/**
|
|
1847
|
+
* Sets the aspect ratio (drawing height/drawing width) for the drawing.
|
|
1848
|
+
* Note that this is adjusted before the {@link size} attribute constraints are enforced.
|
|
1849
|
+
* In addition, the calculations usually ignore the node sizes, so the final drawing size may only approximate what is desired.
|
|
1850
|
+
*
|
|
1851
|
+
* If **ratio** is numeric, it is taken as the desired aspect ratio.
|
|
1852
|
+
* Then, if the actual aspect ratio is less than the desired ratio, the drawing height is scaled up to achieve the desired ratio;
|
|
1853
|
+
* if the actual ratio is greater than that desired ratio, the drawing width is scaled up.
|
|
1854
|
+
*
|
|
1855
|
+
* If **ratio** = "fill" and the {@link size} attribute is set, node positions are scaled, separately in both x and y, so that the final drawing exactly fills the specified size.
|
|
1856
|
+
* If both {@link size} values exceed the width and height of the drawing, then both coordinate values of each node are scaled up accordingly.
|
|
1857
|
+
* However, if either size dimension is smaller than the corresponding dimension in the drawing, one dimension is scaled up so that the final drawing has the same aspect ratio as specified by {@link size}.
|
|
1858
|
+
* Then, when rendered, the layout will be scaled down uniformly in both dimensions to fit the given {@link size}, which may cause nodes and text to shrink as well.
|
|
1859
|
+
* This may not be what the user wants, but it avoids the hard problem of how to reposition the nodes in an acceptable fashion to reduce the drawing size.
|
|
1860
|
+
*
|
|
1861
|
+
* If **** = "compress" and the {@link size} attribute is set, dot attempts to compress the initial layout to fit in the given size.
|
|
1862
|
+
* This achieves a tighter packing of nodes but reduces the balance and symmetry.
|
|
1863
|
+
* This feature only works in dot.
|
|
1864
|
+
*
|
|
1865
|
+
* If **** = "expand", the {@link size} attribute is set, and both the width and the height of the graph are less than the value in {@link size},
|
|
1866
|
+
* node positions are scaled uniformly until at least one dimension fits {@link size} exactly.
|
|
1867
|
+
* Note that this is distinct from using {@link size} as the desired size, as here the drawing is expanded before edges are generated and all node and text sizes remain unchanged.
|
|
1868
|
+
*
|
|
1869
|
+
* If **** = "auto", the {@link page} attribute is set and the graph cannot be drawn on a single page, then {@link size} is set to an ``ideal'' value.
|
|
1870
|
+
* In particular, the size in a given dimension will be the smallest integral multiple of the page size in that dimension which is at least half the current size.
|
|
1871
|
+
* The two dimensions are then scaled independently to the new size.
|
|
1872
|
+
* This feature only works in dot.
|
|
1873
|
+
*
|
|
1874
|
+
* @see {@link https://graphviz.org/docs/attrs/ratio/ Node, Edge and Graph Attributes#ratio}
|
|
1875
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/double/ double}/string
|
|
1876
|
+
* @graphvizUsedBy G
|
|
1877
|
+
* @category Attribute
|
|
1878
|
+
*/
|
|
1879
|
+
ratio: 'ratio';
|
|
1880
|
+
/**
|
|
1881
|
+
* Rectangles for fields of records,
|
|
1882
|
+
* {@link https://graphviz.org/doc/info/attrs.html in points}.
|
|
1883
|
+
*
|
|
1884
|
+
* @see {@link https://graphviz.org/docs/attrs/rects/ Node, Edge and Graph Attributes#rects}
|
|
1885
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/rect/ rect}
|
|
1886
|
+
* @graphvizNotes write only
|
|
1887
|
+
* @graphvizUsedBy N
|
|
1888
|
+
* @category Attribute
|
|
1889
|
+
*/
|
|
1890
|
+
rects: 'rects';
|
|
1891
|
+
/**
|
|
1892
|
+
* If true, force polygon to be regular, i.e.,
|
|
1893
|
+
* the vertices of the polygon will lie on a circle whose center is the center of the node.
|
|
1894
|
+
*
|
|
1895
|
+
* @see {@link https://graphviz.org/docs/attrs/regular/ Node, Edge and Graph Attributes#regular}
|
|
1896
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/bool bool}
|
|
1897
|
+
* @graphvizDefault FALSE
|
|
1898
|
+
* @graphvizUsedBy N
|
|
1899
|
+
* @category Attribute
|
|
1900
|
+
*/
|
|
1901
|
+
regular: 'regular';
|
|
1902
|
+
/**
|
|
1903
|
+
* If true and there are multiple clusters, run crossing minimization a second time.
|
|
1904
|
+
*
|
|
1905
|
+
* @see {@link https://graphviz.org/docs/attrs/remincross/ Node, Edge and Graph Attributes#remincross}
|
|
1906
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/bool bool}
|
|
1907
|
+
* @graphvizDefault TRUE
|
|
1908
|
+
* @graphvizNotes dot only
|
|
1909
|
+
* @graphvizUsedBy G
|
|
1910
|
+
* @category Attribute
|
|
1911
|
+
*/
|
|
1912
|
+
remincross: 'remincross';
|
|
1913
|
+
/**
|
|
1914
|
+
* The power of the repulsive force used in an extended Fruchterman-Reingold force directed model.
|
|
1915
|
+
* Values larger than 1 tend to reduce the warping effect at the expense of less clustering.
|
|
1916
|
+
*
|
|
1917
|
+
* @see {@link https://graphviz.org/docs/attrs/repulsiveforce/ Node, Edge and Graph Attributes#repulsiveforce}
|
|
1918
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/double/ double}
|
|
1919
|
+
* @graphvizDefault 1
|
|
1920
|
+
* @graphvizMinimum 0
|
|
1921
|
+
* @graphvizNotes sfdp only
|
|
1922
|
+
* @graphvizUsedBy G
|
|
1923
|
+
* @category Attribute
|
|
1924
|
+
*/
|
|
1925
|
+
repulsiveforce: 'repulsiveforce';
|
|
1926
|
+
/**
|
|
1927
|
+
* This is a synonym for the {@link dpi} attribute.
|
|
1928
|
+
*
|
|
1929
|
+
* @see {@link https://graphviz.org/docs/attrs/resolution/ Node, Edge and Graph Attributes#resolution}
|
|
1930
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/double/ double}
|
|
1931
|
+
* @graphvizDefault
|
|
1932
|
+
* 96.0
|
|
1933
|
+
* 0.0"
|
|
1934
|
+
* @graphvizNotes svg, bitmap output only
|
|
1935
|
+
* @graphvizUsedBy G
|
|
1936
|
+
* @category Attribute
|
|
1937
|
+
*/
|
|
1938
|
+
resolution: 'resolution';
|
|
1939
|
+
/**
|
|
1940
|
+
* This specifies nodes to be used as the center of the layout and the root of the generated spanning tree.
|
|
1941
|
+
* As a graph attribute, this gives the name of the node.
|
|
1942
|
+
* As a node attribute, it specifies that the node should be used as a central node.
|
|
1943
|
+
* In twopi, this will actually be the central node.
|
|
1944
|
+
* In circo, the block containing the node will be central in the drawing of its connected component.
|
|
1945
|
+
* If not defined, twopi will pick a most central node, and circo will pick a random node.
|
|
1946
|
+
*
|
|
1947
|
+
* If the root attribute is defined as the empty string, twopi will reset it to name of the node picked as the root node.
|
|
1948
|
+
*
|
|
1949
|
+
* For twopi, it is possible to have multiple roots, presumably one for each component.
|
|
1950
|
+
* If more than one node in a component is marked as the root, twopi will pick one.
|
|
1951
|
+
*
|
|
1952
|
+
* @see {@link https://graphviz.org/docs/attrs/root/ Node, Edge and Graph Attributes#root}
|
|
1953
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/string/ string}/{@link https://graphviz.org/docs/attr-types/bool bool}
|
|
1954
|
+
* @graphvizDefault
|
|
1955
|
+
* <none>(graphs)
|
|
1956
|
+
* false(nodes)
|
|
1957
|
+
* @graphvizMinimum
|
|
1958
|
+
* @graphvizNotes circo, twopi only
|
|
1959
|
+
* @graphvizUsedBy GN
|
|
1960
|
+
* @category Attribute
|
|
1961
|
+
*/
|
|
1962
|
+
root: 'root';
|
|
1963
|
+
/**
|
|
1964
|
+
* If 90, set drawing orientation to landscape.
|
|
1965
|
+
*
|
|
1966
|
+
* @see {@link https://graphviz.org/docs/attrs/rotate/ Node, Edge and Graph Attributes#rotate}
|
|
1967
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/int/ int}
|
|
1968
|
+
* @graphvizDefault 0
|
|
1969
|
+
* @graphvizUsedBy G
|
|
1970
|
+
* @category Attribute
|
|
1971
|
+
*/
|
|
1972
|
+
rotate: 'rotate';
|
|
1973
|
+
/**
|
|
1974
|
+
* Causes the final layout to be rotated counter-clockwise by the specified number of degrees.
|
|
1975
|
+
*
|
|
1976
|
+
* @see {@link https://graphviz.org/docs/attrs/rotation/ Node, Edge and Graph Attributes#rotation}
|
|
1977
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/double/ double}
|
|
1978
|
+
* @graphvizDefault 0
|
|
1979
|
+
* @graphvizNotes sfdp only
|
|
1980
|
+
* @graphvizUsedBy G
|
|
1981
|
+
* @category Attribute
|
|
1982
|
+
*/
|
|
1983
|
+
rotation: 'rotation';
|
|
1984
|
+
/**
|
|
1985
|
+
* Edges with the same head and the same **samehead** value are aimed at the same point on the head.
|
|
1986
|
+
* This has no effect on loops.
|
|
1987
|
+
* Each node can have at most 5 unique samehead values.
|
|
1988
|
+
* See {@link https://graphviz.org/doc/info/attrs.html#undir_note limitation}.
|
|
1989
|
+
*
|
|
1990
|
+
* @see {@link https://graphviz.org/docs/attrs/samehead/ Node, Edge and Graph Attributes#samehead}
|
|
1991
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/string/ string}
|
|
1992
|
+
* @graphvizDefault ""
|
|
1993
|
+
* @graphvizNotes dot only
|
|
1994
|
+
* @graphvizUsedBy E
|
|
1995
|
+
* @category Attribute
|
|
1996
|
+
*/
|
|
1997
|
+
samehead: 'samehead';
|
|
1998
|
+
/**
|
|
1999
|
+
* Edges with the same tail and the same sametail value are aimed at the same point on the tail.
|
|
2000
|
+
* This has no effect on loops.
|
|
2001
|
+
* Each node can have at most 5 unique sametail values.
|
|
2002
|
+
* See {@link https://graphviz.org/doc/info/attrs.html#undir_note limitation}.
|
|
2003
|
+
*
|
|
2004
|
+
* @see {@link https://graphviz.org/docs/attrs/sametail/ Node, Edge and Graph Attributes#sametail}
|
|
2005
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/string/ string}
|
|
2006
|
+
* @graphvizDefault ""
|
|
2007
|
+
* @graphvizNotes dot only
|
|
2008
|
+
* @graphvizUsedBy E
|
|
2009
|
+
* @category Attribute
|
|
2010
|
+
*/
|
|
2011
|
+
sametail: 'sametail';
|
|
2012
|
+
/**
|
|
2013
|
+
* If the input graph defines the {@link vertices} attribute, and output is dot or xdot, this gives the number of points used for a node whose shape is a circle or ellipse.
|
|
2014
|
+
* It plays the same role in neato, when adjusting the layout to avoid overlapping nodes, and in image maps.
|
|
2015
|
+
*
|
|
2016
|
+
* @see {@link https://graphviz.org/docs/attrs/samplepoints/ Node, Edge and Graph Attributes#samplepoints}
|
|
2017
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/int/ int}
|
|
2018
|
+
* @graphvizDefault
|
|
2019
|
+
* 8(output)
|
|
2020
|
+
* 20(overlap and image maps)
|
|
2021
|
+
* @graphvizUsedBy N
|
|
2022
|
+
* @category Attribute
|
|
2023
|
+
*/
|
|
2024
|
+
samplepoints: 'samplepoints';
|
|
2025
|
+
/**
|
|
2026
|
+
* If set, after the initial layout, the layout is scaled by the given factors.
|
|
2027
|
+
* If only a single number is given, this is used for both factors.
|
|
2028
|
+
*
|
|
2029
|
+
* @see {@link https://graphviz.org/docs/attrs/scale/ Node, Edge and Graph Attributes#scale}
|
|
2030
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/double/ double}/{@link https://graphviz.org/docs/attr-types/point/ point}
|
|
2031
|
+
* @graphvizNotes not dot
|
|
2032
|
+
* @graphvizUsedBy G
|
|
2033
|
+
* @category Attribute
|
|
2034
|
+
*/
|
|
2035
|
+
scale: 'scale';
|
|
2036
|
+
/**
|
|
2037
|
+
* During network simplex, maximum number of edges with negative cut values to search when looking for one with minimum cut value.
|
|
2038
|
+
*
|
|
2039
|
+
* @see {@link https://graphviz.org/docs/attrs/searchsize/ Node, Edge and Graph Attributes#searchsize}
|
|
2040
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/int/ int}
|
|
2041
|
+
* @graphvizDefault 30
|
|
2042
|
+
* @graphvizNotes dot only
|
|
2043
|
+
* @graphvizUsedBy G
|
|
2044
|
+
* @category Attribute
|
|
2045
|
+
*/
|
|
2046
|
+
searchsize: 'searchsize';
|
|
2047
|
+
/**
|
|
2048
|
+
* Specifies margin to leave around nodes when removing node overlap.
|
|
2049
|
+
* This guarantees a minimal non-zero distance between nodes.
|
|
2050
|
+
*
|
|
2051
|
+
* If the attribute begins with a plus sign '+', an additive margin is specified.
|
|
2052
|
+
* That is, "+w,h" causes the node's bounding box to be increased by w points on the left and right sides, and by h points on the top and bottom.
|
|
2053
|
+
* Without a plus sign, the node is scaled by 1 + w in the x coordinate and 1 + h in the y coordinate.
|
|
2054
|
+
*
|
|
2055
|
+
* If only a single number is given, this is used for both dimensions.
|
|
2056
|
+
*
|
|
2057
|
+
* If unset but {@link esep} is defined, the sep values will be set to the esep values divided by 0.8. If esep is unset, the default value is used.
|
|
2058
|
+
*
|
|
2059
|
+
* @see {@link https://graphviz.org/docs/attrs/sep/ Node, Edge and Graph Attributes#sep}
|
|
2060
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/addDouble/ addDouble}/{@link https://graphviz.org/_pages/doc/info/attrs.html#k:addPoint addPoint}
|
|
2061
|
+
* @graphvizDefault 4
|
|
2062
|
+
* @graphvizNotes not dot
|
|
2063
|
+
* @graphvizUsedBy G
|
|
2064
|
+
* @category Attribute
|
|
2065
|
+
*/
|
|
2066
|
+
sep: 'sep';
|
|
2067
|
+
/**
|
|
2068
|
+
* Set the shape of a node.
|
|
2069
|
+
*
|
|
2070
|
+
* @see {@link https://graphviz.org/docs/attrs/shape/ Node, Edge and Graph Attributes#shape}
|
|
2071
|
+
* @graphvizType {@link https://graphviz.org/_pages/doc/info/attrs.html#k:shape shape}
|
|
2072
|
+
* @graphvizDefault ellipse
|
|
2073
|
+
* @graphvizUsedBy N
|
|
2074
|
+
* @category Attribute
|
|
2075
|
+
*/
|
|
2076
|
+
shape: 'shape';
|
|
2077
|
+
/**
|
|
2078
|
+
* (Deprecated) If defined, shapefile specifies a file containing user-supplied node content.
|
|
2079
|
+
* The {@link shape} of the node is set to box.
|
|
2080
|
+
* The image in the shapefile must be rectangular.
|
|
2081
|
+
* The image formats supported as well as the precise semantics of how the file is used depends on the {@link https://graphviz.org/_pages/doc/info/output.html output format}.
|
|
2082
|
+
* For further details, see {@link https://graphviz.org/docs/outputs/ Image Formats} and {@link https://graphviz.org/faq/#ext_image External PostScript files}.
|
|
2083
|
+
*
|
|
2084
|
+
* @see {@link https://graphviz.org/docs/attrs/shapefile/ Node, Edge and Graph Attributes#shapefile}
|
|
2085
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/string/ string}
|
|
2086
|
+
* @graphvizDefault ""
|
|
2087
|
+
* @graphvizUsedBy N
|
|
2088
|
+
* @deprecated
|
|
2089
|
+
* @category Attribute
|
|
2090
|
+
*/
|
|
2091
|
+
shapefile: 'shapefile';
|
|
2092
|
+
/**
|
|
2093
|
+
* Print guide boxes in PostScript at the beginning of routesplines if 1, or at the end if 2. (Debugging)
|
|
2094
|
+
*
|
|
2095
|
+
* @see {@link https://graphviz.org/docs/attrs/showboxes/ Node, Edge and Graph Attributes#showboxes}
|
|
2096
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/int/ int}
|
|
2097
|
+
* @graphvizDefault 0
|
|
2098
|
+
* @graphvizMinimum 0
|
|
2099
|
+
* @graphvizNotes dot only
|
|
2100
|
+
* @graphvizUsedBy ENG
|
|
2101
|
+
* @category Attribute
|
|
2102
|
+
*/
|
|
2103
|
+
showboxes: 'showboxes';
|
|
2104
|
+
/**
|
|
2105
|
+
* Number of sides if {@link shape}=polygon.
|
|
2106
|
+
*
|
|
2107
|
+
* @see {@link https://graphviz.org/docs/attrs/sides/ Node, Edge and Graph Attributes#sides}
|
|
2108
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/int/ int}
|
|
2109
|
+
* @graphvizDefault 4
|
|
2110
|
+
* @graphvizMinimum 0
|
|
2111
|
+
* @graphvizUsedBy N
|
|
2112
|
+
* @category Attribute
|
|
2113
|
+
*/
|
|
2114
|
+
sides: 'sides';
|
|
2115
|
+
/**
|
|
2116
|
+
* Maximum width and height of drawing, in inches.
|
|
2117
|
+
* If only a single number is given, this is used for both the width and the height.
|
|
2118
|
+
*
|
|
2119
|
+
* If defined and the drawing is larger than the given size, the drawing is uniformly scaled down so that it fits within the given size.
|
|
2120
|
+
*
|
|
2121
|
+
* If size ends in an exclamation point (!), then it is taken to be the desired size. In this case, if both dimensions of the drawing are less than size, the drawing is scaled up uniformly until at least one dimension equals its dimension in size.
|
|
2122
|
+
*
|
|
2123
|
+
* Note that there is some interaction between the **size** and {@link ratio} attributes.
|
|
2124
|
+
*
|
|
2125
|
+
* @see {@link https://graphviz.org/docs/attrs/size/ Node, Edge and Graph Attributes#size}
|
|
2126
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/double/ double}/{@link https://graphviz.org/docs/attr-types/point/ point}
|
|
2127
|
+
* @graphvizUsedBy G
|
|
2128
|
+
* @category Attribute
|
|
2129
|
+
*/
|
|
2130
|
+
size: 'size';
|
|
2131
|
+
/**
|
|
2132
|
+
* Skew factor for {@link shape}=polygon. Positive values skew top of polygon to right; negative to left.
|
|
2133
|
+
*
|
|
2134
|
+
* @see {@link https://graphviz.org/docs/attrs/skew/ Node, Edge and Graph Attributes#skew}
|
|
2135
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/double/ double}
|
|
2136
|
+
* @graphvizDefault 0
|
|
2137
|
+
* @graphvizMinimum -100
|
|
2138
|
+
* @graphvizUsedBy N
|
|
2139
|
+
* @category Attribute
|
|
2140
|
+
*/
|
|
2141
|
+
skew: 'skew';
|
|
2142
|
+
/**
|
|
2143
|
+
* Specifies a post-processing step used to smooth out an uneven distribution of nodes.
|
|
2144
|
+
*
|
|
2145
|
+
* @see {@link https://graphviz.org/docs/attrs/smoothing/ Node, Edge and Graph Attributes#smoothing}
|
|
2146
|
+
* @graphvizType {@link https://graphviz.org/_pages/doc/info/attrs.html#k:smoothType smoothType}
|
|
2147
|
+
* @graphvizDefault "none"
|
|
2148
|
+
* @graphvizNotes sfdp only
|
|
2149
|
+
* @graphvizUsedBy G
|
|
2150
|
+
* @category Attribute
|
|
2151
|
+
*/
|
|
2152
|
+
smoothing: 'smoothing';
|
|
2153
|
+
/**
|
|
2154
|
+
* If {@link packmode} indicates an array packing, this attribute specifies an insertion order among the components,
|
|
2155
|
+
* with smaller values inserted first.
|
|
2156
|
+
*
|
|
2157
|
+
* @see {@link https://graphviz.org/docs/attrs/sortv/ Node, Edge and Graph Attributes#sortv}
|
|
2158
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/int/ int}
|
|
2159
|
+
* @graphvizDefault 0
|
|
2160
|
+
* @graphvizMinimum 0
|
|
2161
|
+
* @graphvizUsedBy GCN
|
|
2162
|
+
* @category Attribute
|
|
2163
|
+
*/
|
|
2164
|
+
sortv: 'sortv';
|
|
2165
|
+
/**
|
|
2166
|
+
* Controls how, and if, edges are represented.
|
|
2167
|
+
* If true, edges are drawn as splines routed around nodes; if false, edges are drawn as line segments.
|
|
2168
|
+
* If set to none or "", no edges are drawn at all.
|
|
2169
|
+
*
|
|
2170
|
+
* (1 March 2007) The values line and spline can be used as synonyms for false and true, respectively. In addition, the value polyline specifies that edges should be drawn as polylines.
|
|
2171
|
+
*
|
|
2172
|
+
* (28 Sep 2010) The value ortho specifies edges should be routed as polylines of axis-aligned segments. Currently, the routing does not handle ports or, in dot, edge labels.
|
|
2173
|
+
*
|
|
2174
|
+
* (25 Sep 2012) The value curved specifies edges should be drawn as curved arcs.
|
|
2175
|
+
*
|
|
2176
|
+
* | | |
|
|
2177
|
+
* |------------------------------------------------------------------------------------|--------------------------------------------------------------------------------|
|
|
2178
|
+
* |  |  |
|
|
2179
|
+
* | `splines=none` | `splines=line` |
|
|
2180
|
+
* | `splines=""` | `splines=false` |
|
|
2181
|
+
* |  |  |
|
|
2182
|
+
* | `splines=polyline` | `splines=curved` |
|
|
2183
|
+
* |  |  |
|
|
2184
|
+
* | `splines=ortho` | `splines=spline` |
|
|
2185
|
+
* | | `splines=true` |
|
|
2186
|
+
*
|
|
2187
|
+
* By default, the attribute is unset. How this is interpreted depends on the layout. For dot,
|
|
2188
|
+
* the default is to draw edges as splines. For all other layouts,
|
|
2189
|
+
* the default is to draw edges as line segments.
|
|
2190
|
+
* Note that for these latter layouts, if splines="true", this requires non-overlapping nodes (cf. {@link overlap}). If fdp is used for layout and splines="compound",
|
|
2191
|
+
* then the edges are drawn to avoid clusters as well as nodes.
|
|
2192
|
+
*
|
|
2193
|
+
* @see {@link https://graphviz.org/docs/attrs/splines/ Node, Edge and Graph Attributes#splines}
|
|
2194
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/bool bool}/string
|
|
2195
|
+
* @graphvizUsedBy G
|
|
2196
|
+
* @category Attribute
|
|
2197
|
+
*/
|
|
2198
|
+
splines: 'splines';
|
|
2199
|
+
/**
|
|
2200
|
+
* Parameter used to determine the initial layout of nodes.
|
|
2201
|
+
* If unset, the nodes are randomly placed in a unit square with the same seed is always used for the random number generator, so the initial placement is repeatable.
|
|
2202
|
+
*
|
|
2203
|
+
* @see {@link https://graphviz.org/docs/attrs/start/ Node, Edge and Graph Attributes#start}
|
|
2204
|
+
* @graphvizType {@link https://graphviz.org/_pages/doc/info/attrs.html#k:startType startType}
|
|
2205
|
+
* @graphvizDefault ""
|
|
2206
|
+
* @graphvizNotes fdp, neato only
|
|
2207
|
+
* @graphvizUsedBy G
|
|
2208
|
+
* @category Attribute
|
|
2209
|
+
*/
|
|
2210
|
+
start: 'start';
|
|
2211
|
+
/**
|
|
2212
|
+
* Set style information for components of the graph.
|
|
2213
|
+
* For cluster subgraphs, if style="filled", the cluster box's background is filled.
|
|
2214
|
+
*
|
|
2215
|
+
* If the default style attribute has been set for a component, an individual component can use style="" to revert to the normal default.
|
|
2216
|
+
* For example, if the graph has
|
|
2217
|
+
*
|
|
2218
|
+
* ```
|
|
2219
|
+
* edge [style="invis"]
|
|
2220
|
+
* ```
|
|
2221
|
+
*
|
|
2222
|
+
* making all edges invisible, a specific edge can overrride this via:
|
|
2223
|
+
*
|
|
2224
|
+
* ```
|
|
2225
|
+
* a -> b [style=""]
|
|
2226
|
+
* ```
|
|
2227
|
+
*
|
|
2228
|
+
* Of course, the component can also explicitly set its style attribute to the desired value.
|
|
2229
|
+
*
|
|
2230
|
+
* @see {@link https://graphviz.org/docs/attrs/style/ Node, Edge and Graph Attributes#style}
|
|
2231
|
+
* @graphvizType {@link https://graphviz.org/_pages/doc/info/attrs.html#k:style style}
|
|
2232
|
+
* @graphvizDefault ""
|
|
2233
|
+
* @graphvizUsedBy ENCG
|
|
2234
|
+
* @category Attribute
|
|
2235
|
+
*/
|
|
2236
|
+
style: 'style';
|
|
2237
|
+
/**
|
|
2238
|
+
* A URL or pathname specifying an XML style sheet, used in SVG output.
|
|
2239
|
+
*
|
|
2240
|
+
* @see {@link https://graphviz.org/docs/attrs/stylesheet/ Node, Edge and Graph Attributes#stylesheet}
|
|
2241
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/string/ string}
|
|
2242
|
+
* @graphvizDefault ""
|
|
2243
|
+
* @graphvizNotes svg only
|
|
2244
|
+
* @graphvizUsedBy G
|
|
2245
|
+
* @category Attribute
|
|
2246
|
+
*/
|
|
2247
|
+
stylesheet: 'stylesheet';
|
|
2248
|
+
/**
|
|
2249
|
+
* If **tailURL** is defined, it is output as part of the tail label of the edge.
|
|
2250
|
+
* Also, this value is used near the tail node, overriding any {@link URL} value.
|
|
2251
|
+
* See {@link https://graphviz.org/doc/info/attrs.html#undir_note limitation}.
|
|
2252
|
+
*
|
|
2253
|
+
* @see {@link https://graphviz.org/docs/attrs/tailURL/ Node, Edge and Graph Attributes#tailURL}
|
|
2254
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/escString/ escString}
|
|
2255
|
+
* @graphvizDefault ""
|
|
2256
|
+
* @graphvizNotes svg, map only
|
|
2257
|
+
* @graphvizUsedBy E
|
|
2258
|
+
* @category Attribute
|
|
2259
|
+
*/
|
|
2260
|
+
tailURL: 'tailURL';
|
|
2261
|
+
/**
|
|
2262
|
+
* Position of an edge's tail label, {@link https://graphviz.org/doc/info/attrs.html in points}.
|
|
2263
|
+
* The position indicates the center of the label.
|
|
2264
|
+
*
|
|
2265
|
+
* @see {@link https://graphviz.org/docs/attrs/tail_lp/ Node, Edge and Graph Attributes#tail_lp}
|
|
2266
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/point/ point}
|
|
2267
|
+
* @graphvizNotes write only
|
|
2268
|
+
* @graphvizUsedBy E
|
|
2269
|
+
* @category Attribute
|
|
2270
|
+
*/
|
|
2271
|
+
tail_lp: 'tail_lp';
|
|
2272
|
+
/**
|
|
2273
|
+
* If true, the tail of an edge is clipped to the boundary of the tail node; otherwise,
|
|
2274
|
+
* the end of the edge goes to the center of the node, or the center of a port, if applicable.
|
|
2275
|
+
*
|
|
2276
|
+
* @see {@link https://graphviz.org/docs/attrs/tailclip/ Node, Edge and Graph Attributes#tailclip}
|
|
2277
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/bool bool}
|
|
2278
|
+
* @graphvizDefault TRUE
|
|
2279
|
+
* @graphvizUsedBy E
|
|
2280
|
+
* @category Attribute
|
|
2281
|
+
*/
|
|
2282
|
+
tailclip: 'tailclip';
|
|
2283
|
+
/**
|
|
2284
|
+
* Synonym for {@link tailURL}.
|
|
2285
|
+
*
|
|
2286
|
+
* @see {@link https://graphviz.org/docs/attrs/tailhref/ Node, Edge and Graph Attributes#tailhref}
|
|
2287
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/escString/ escString}
|
|
2288
|
+
* @graphvizDefault ""
|
|
2289
|
+
* @graphvizNotes svg, map only
|
|
2290
|
+
* @graphvizUsedBy E
|
|
2291
|
+
* @category Attribute
|
|
2292
|
+
*/
|
|
2293
|
+
tailhref: 'tailhref';
|
|
2294
|
+
/**
|
|
2295
|
+
* Text label to be placed near tail of edge.
|
|
2296
|
+
* See {@link https://graphviz.org/doc/info/attrs.html#undir_note limitation}.
|
|
2297
|
+
*
|
|
2298
|
+
* @see {@link https://graphviz.org/docs/attrs/taillabel/ Node, Edge and Graph Attributes#taillabel}
|
|
2299
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/lblString/ lblString}
|
|
2300
|
+
* @graphvizDefault ""
|
|
2301
|
+
* @graphvizUsedBy E
|
|
2302
|
+
* @category Attribute
|
|
2303
|
+
*/
|
|
2304
|
+
taillabel: 'taillabel';
|
|
2305
|
+
/**
|
|
2306
|
+
* Indicates where on the tail node to attach the tail of the edge.
|
|
2307
|
+
* See {@link https://graphviz.org/doc/info/attrs.html#undir_note limitation}.
|
|
2308
|
+
*
|
|
2309
|
+
* @see {@link https://graphviz.org/docs/attrs/tailport/ Node, Edge and Graph Attributes#tailport}
|
|
2310
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/portPos/ portPos}
|
|
2311
|
+
* @graphvizDefault center
|
|
2312
|
+
* @graphvizUsedBy E
|
|
2313
|
+
* @category Attribute
|
|
2314
|
+
*/
|
|
2315
|
+
tailport: 'tailport';
|
|
2316
|
+
/**
|
|
2317
|
+
* If the edge has a {@link tailURL}, this attribute determines which window of the browser is used for the URL.
|
|
2318
|
+
* Setting it to "_graphviz" will open a new window if it doesn't already exist, or reuse it if it does.
|
|
2319
|
+
* If undefined, the value of the {@link target} is used.
|
|
2320
|
+
*
|
|
2321
|
+
* @see {@link https://graphviz.org/docs/attrs/tailtarget/ Node, Edge and Graph Attributes#tailtarget}
|
|
2322
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/escString/ escString}
|
|
2323
|
+
* @graphvizDefault <none>
|
|
2324
|
+
* @graphvizNotes svg, map only
|
|
2325
|
+
* @graphvizUsedBy E
|
|
2326
|
+
* @category Attribute
|
|
2327
|
+
*/
|
|
2328
|
+
tailtarget: 'tailtarget';
|
|
2329
|
+
/**
|
|
2330
|
+
* Tooltip annotation attached to the tail of an edge.
|
|
2331
|
+
* This is used only if the edge has a {@link tailURL} attribute.
|
|
2332
|
+
*
|
|
2333
|
+
* @see {@link https://graphviz.org/docs/attrs/tailtooltip/ Node, Edge and Graph Attributes#tailtooltip}
|
|
2334
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/escString/ escString}
|
|
2335
|
+
* @graphvizDefault ""
|
|
2336
|
+
* @graphvizNotes svg, cmap only
|
|
2337
|
+
* @graphvizUsedBy E
|
|
2338
|
+
* @category Attribute
|
|
2339
|
+
*/
|
|
2340
|
+
tailtooltip: 'tailtooltip';
|
|
2341
|
+
/**
|
|
2342
|
+
* If the object has a URL, this attribute determines which window of the browser is used for the URL.
|
|
2343
|
+
* See {@link http://www.w3.org/TR/html401/present/frames.html#adef-target W3C documentation}.
|
|
2344
|
+
*
|
|
2345
|
+
* @see {@link https://graphviz.org/docs/attrs/target/ Node, Edge and Graph Attributes#target}
|
|
2346
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/escString/ escString}/string
|
|
2347
|
+
* @graphvizDefault <none>
|
|
2348
|
+
* @graphvizNotes svg, map only
|
|
2349
|
+
* @graphvizUsedBy ENGC
|
|
2350
|
+
* @category Attribute
|
|
2351
|
+
*/
|
|
2352
|
+
target: 'target';
|
|
2353
|
+
/**
|
|
2354
|
+
* Tooltip annotation attached to the node or edge.
|
|
2355
|
+
* If unset, Graphviz will use the object's {@link label} if defined.
|
|
2356
|
+
* Note that if the label is a record specification or an HTML-like label, the resulting tooltip may be unhelpful.
|
|
2357
|
+
* In this case, if tooltips will be generated, the user should set a tooltip attribute explicitly.
|
|
2358
|
+
*
|
|
2359
|
+
* @see {@link https://graphviz.org/docs/attrs/tooltip/ Node, Edge and Graph Attributes#tooltip}
|
|
2360
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/escString/ escString}
|
|
2361
|
+
* @graphvizDefault ""
|
|
2362
|
+
* @graphvizNotes svg, cmap only
|
|
2363
|
+
* @graphvizUsedBy NEC
|
|
2364
|
+
* @category Attribute
|
|
2365
|
+
*/
|
|
2366
|
+
tooltip: 'tooltip';
|
|
2367
|
+
/**
|
|
2368
|
+
* If set explicitly to true or false, the value determines whether or not internal bitmap rendering relies on a truecolor color model or uses a color palette.
|
|
2369
|
+
* If the attribute is unset, truecolor is not used unless there is a {@link shapefile} property for some node in the graph.
|
|
2370
|
+
* The output model will use the input model when possible.
|
|
2371
|
+
*
|
|
2372
|
+
* Use of color palettes results in less memory usage during creation of the bitmaps and smaller output files.
|
|
2373
|
+
*
|
|
2374
|
+
* Usually, the only time it is necessary to specify the truecolor model is if the graph uses more than 256 colors.
|
|
2375
|
+
* However, if one uses bgcolor=transparent with a color palette, font antialiasing can show up as a fuzzy white area around characters.
|
|
2376
|
+
* Using **truecolor**=true avoids this problem.
|
|
2377
|
+
*
|
|
2378
|
+
* @see {@link https://graphviz.org/docs/attrs/truecolor/ Node, Edge and Graph Attributes#truecolor}
|
|
2379
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/bool bool}
|
|
2380
|
+
* @graphvizNotes bitmap output only
|
|
2381
|
+
* @graphvizUsedBy G
|
|
2382
|
+
* @category Attribute
|
|
2383
|
+
*/
|
|
2384
|
+
truecolor: 'truecolor';
|
|
2385
|
+
/**
|
|
2386
|
+
* If the input graph defines this attribute, the node is polygonal, and output is dot or xdot, this attribute provides the coordinates of the vertices of the node's polygon, in inches.
|
|
2387
|
+
* If the node is an ellipse or circle, the {@link samplepoints} attribute affects the output.
|
|
2388
|
+
*
|
|
2389
|
+
* @see {@link https://graphviz.org/docs/attrs/vertices/ Node, Edge and Graph Attributes#vertices}
|
|
2390
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/pointList pointList}
|
|
2391
|
+
* @graphvizNotes write only
|
|
2392
|
+
* @graphvizUsedBy N
|
|
2393
|
+
* @category Attribute
|
|
2394
|
+
*/
|
|
2395
|
+
vertices: 'vertices';
|
|
2396
|
+
/**
|
|
2397
|
+
* Clipping window on final drawing.
|
|
2398
|
+
* Note that this attribute supersedes any {@link size} attribute.
|
|
2399
|
+
* The width and height of the viewport specify precisely the final size of the output.
|
|
2400
|
+
*
|
|
2401
|
+
* @see {@link https://graphviz.org/docs/attrs/viewport/ Node, Edge and Graph Attributes#viewport}
|
|
2402
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/viewPort/ viewPort}
|
|
2403
|
+
* @graphvizDefault ""
|
|
2404
|
+
* @graphvizUsedBy G
|
|
2405
|
+
* @category Attribute
|
|
2406
|
+
*/
|
|
2407
|
+
viewport: 'viewport';
|
|
2408
|
+
/**
|
|
2409
|
+
* Factor to scale up drawing to allow margin for expansion in Voronoi technique.
|
|
2410
|
+
* dim' = (1+2*margin)*dim.
|
|
2411
|
+
*
|
|
2412
|
+
* @see {@link https://graphviz.org/docs/attrs/voro_margin/ Node, Edge and Graph Attributes#voro_margin}
|
|
2413
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/double/ double}
|
|
2414
|
+
* @graphvizDefault 0.05
|
|
2415
|
+
* @graphvizMinimum 0
|
|
2416
|
+
* @graphvizNotes not dot
|
|
2417
|
+
* @graphvizUsedBy G
|
|
2418
|
+
* @category Attribute
|
|
2419
|
+
*/
|
|
2420
|
+
voro_margin: 'voro_margin';
|
|
2421
|
+
/**
|
|
2422
|
+
* Weight of edge.
|
|
2423
|
+
* In dot, the heavier the weight, the shorter, straighter and more vertical the edge is. **N.B.** Weights in dot must be integers.
|
|
2424
|
+
* For twopi, a weight of 0 indicates the edge should not be used in constructing a spanning tree from the root.
|
|
2425
|
+
* For other layouts, a larger weight encourages the layout to make the edge length closer to that specified by the len attribute.
|
|
2426
|
+
*
|
|
2427
|
+
* @see {@link https://graphviz.org/docs/attrs/weight/ Node, Edge and Graph Attributes#weight}
|
|
2428
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/int/ int}/{@link https://graphviz.org/docs/attr-types/double/ double}
|
|
2429
|
+
* @graphvizDefault 1
|
|
2430
|
+
* @graphvizMinimum
|
|
2431
|
+
* 0(dot,twopi)
|
|
2432
|
+
* 1(neato,fdp)
|
|
2433
|
+
* @graphvizUsedBy E
|
|
2434
|
+
* @category Attribute
|
|
2435
|
+
*/
|
|
2436
|
+
weight: 'weight';
|
|
2437
|
+
/**
|
|
2438
|
+
* Width of node, in inches.
|
|
2439
|
+
* This is taken as the initial, minimum width of the node.
|
|
2440
|
+
* If {@link fixedsize} is true, this will be the final width of the node.
|
|
2441
|
+
* Otherwise, if the node label requires more width to fit, the node's width will be increased to contain the label.
|
|
2442
|
+
* Note also that, if the output format is dot, the value given to width will be the final value.
|
|
2443
|
+
*
|
|
2444
|
+
* @see {@link https://graphviz.org/docs/attrs/width/ Node, Edge and Graph Attributes#width}
|
|
2445
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/double/ double}
|
|
2446
|
+
* @graphvizDefault 0.75
|
|
2447
|
+
* @graphvizMinimum 0.01
|
|
2448
|
+
* @graphvizUsedBy N
|
|
2449
|
+
* @category Attribute
|
|
2450
|
+
*/
|
|
2451
|
+
width: 'width';
|
|
2452
|
+
/**
|
|
2453
|
+
* For xdot output, if this attribute is set, this determines the version of xdot used in output.
|
|
2454
|
+
* If not set, the attribute will be set to the xdot version used for output.
|
|
2455
|
+
*
|
|
2456
|
+
* @see {@link https://graphviz.org/docs/attrs/xdotversion/ Node, Edge and Graph Attributes#xdotversion}
|
|
2457
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/string/ string}
|
|
2458
|
+
* @graphvizNotes xdot only
|
|
2459
|
+
* @graphvizUsedBy G
|
|
2460
|
+
* @category Attribute
|
|
2461
|
+
*/
|
|
2462
|
+
xdotversion: 'xdotversion';
|
|
2463
|
+
/**
|
|
2464
|
+
* External label for a node or edge.
|
|
2465
|
+
* For nodes, the label will be placed outside of the node but near it.
|
|
2466
|
+
* For edges, the label will be placed near the center of the edge.
|
|
2467
|
+
* This can be useful in dot to avoid the occasional problem when the use of edge labels distorts the layout.
|
|
2468
|
+
* For other layouts, the xlabel attribute can be viewed as a synonym for the {@link label} attribute.
|
|
2469
|
+
*
|
|
2470
|
+
* These labels are added after all nodes and edges have been placed.
|
|
2471
|
+
* The labels will be placed so that they do not overlap any node or label.
|
|
2472
|
+
* This means it may not be possible to place all of them.
|
|
2473
|
+
* To force placing all of them, use the {@link forcelabels} attribute.
|
|
2474
|
+
*
|
|
2475
|
+
* @see {@link https://graphviz.org/docs/attrs/xlabel/ Node, Edge and Graph Attributes#xlabel}
|
|
2476
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/lblString/ lblString}
|
|
2477
|
+
* @graphvizDefault ""
|
|
2478
|
+
* @graphvizUsedBy EN
|
|
2479
|
+
* @category Attribute
|
|
2480
|
+
*/
|
|
2481
|
+
xlabel: 'xlabel';
|
|
2482
|
+
/**
|
|
2483
|
+
* Position of an exterior label, {@link https://graphviz.org/doc/info/attrs.html in points}.
|
|
2484
|
+
* The position indicates the center of the label.
|
|
2485
|
+
*
|
|
2486
|
+
* @see {@link https://graphviz.org/docs/attrs/xlp/ Node, Edge and Graph Attributes#xlp}
|
|
2487
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/point/ point}
|
|
2488
|
+
* @graphvizNotes write only
|
|
2489
|
+
* @graphvizUsedBy NE
|
|
2490
|
+
* @category Attribute
|
|
2491
|
+
*/
|
|
2492
|
+
xlp: 'xlp';
|
|
2493
|
+
/**
|
|
2494
|
+
* Deprecated:Use {@link pos} attribute, along with {@link dimen} and/or {@link dim} to specify dimensions.
|
|
2495
|
+
*
|
|
2496
|
+
* Provides z coordinate value for 3D layouts and displays.
|
|
2497
|
+
* If the graph has {@link dim} set to 3 (or more), neato will use a node's **z** value for the z coordinate of its initial position if its {@link pos} attribute is also defined.
|
|
2498
|
+
*
|
|
2499
|
+
* Even if no **z** values are specified in the input, it is necessary to declare a **z** attribute for nodes, e.g,
|
|
2500
|
+
* using node[z=""] in order to get z values on output.
|
|
2501
|
+
* Thus, setting dim=3 but not declaring **z** will cause neato -Tvrml to layout the graph in 3D but project the layout onto the xy-plane for the rendering.
|
|
2502
|
+
* If the **z** attribute is declared, the final rendering will be in 3D.
|
|
2503
|
+
*
|
|
2504
|
+
*
|
|
2505
|
+
* @see {@link https://graphviz.org/docs/attrs/z/ Node, Edge and Graph Attributes#z}
|
|
2506
|
+
* @graphvizType {@link https://graphviz.org/docs/attr-types/double/ double}
|
|
2507
|
+
* @graphvizDefault 0
|
|
2508
|
+
* @graphvizMinimum
|
|
2509
|
+
* -MAXFLOAT
|
|
2510
|
+
* -1000
|
|
2511
|
+
* @graphvizUsedBy N
|
|
2512
|
+
* @deprecated
|
|
2513
|
+
* @category Attribute
|
|
2514
|
+
*/
|
|
2515
|
+
z: 'z';
|
|
2516
|
+
}
|
|
40
2517
|
/**
|
|
41
2518
|
* @group Attribute
|
|
42
2519
|
*/
|
|
43
|
-
declare const attribute:
|
|
2520
|
+
declare const attribute: AttributeKeyDict;
|
|
44
2521
|
|
|
45
2522
|
/**
|
|
46
2523
|
* Base class for DOT objects.
|