This repository has been archived by the owner on Dec 12, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
attribute.ts
2748 lines (2748 loc) · 132 KB
/
attribute.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/**
* Package that defines the attribute type and attribute settings.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html}
* @packageDocumentation
*/
/**
* Module defining attributes.
*/
export namespace attribute {
/**
* Factor damping force motions.
* On each iteration, a nodes movement is limited to this factor of its potential motion.
* By being less than 1.0, the system tends to ``cool'', thereby preventing cycling.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:Damping Node, Edge and Graph Attributes#Damping}
* @graphvizType double
* @graphvizDefault 0.99
* @graphvizMinimum 0
* @graphvizNotes neato only
* @graphvizUsedBy G
* @category Attribute
*/
export const Damping = "Damping";
/**
* Spring constant used in virtual physical model.
* It roughly corresponds to an ideal edge length (in inches), in that increasing K tends to increase the distance between nodes.
* Note that the edge attribute {@link len} can be used to override this value for adjacent nodes.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:K Node, Edge and Graph Attributes#K}
* @graphvizType double
* @graphvizDefault 0.3
* @graphvizMinimum 0
* @graphvizNotes sfdp, fdp only
* @graphvizUsedBy GC
* @category Attribute
*/
export const K = "K";
/**
* Hyperlinks incorporated into device-dependent output.
* At present, used in ps2, cmap, i*map and svg formats.
* For all these formats, URLs can be attached to nodes, edges and clusters.
* URL attributes can also be attached to the root graph in ps2, cmap and i*map formats.
* This serves as the base URL for relative URLs in the former, and as the default image map file in the latter.
*
* For svg, cmapx and imap output, the active area for a node is its visible image.
* For example, an unfilled node with no drawn boundary will only be active on its label.
* For other output, the active area is its bounding box.
* The active area for a cluster is its bounding box.
* For edges, the active areas are small circles where the edge contacts its head and tail nodes.
* In addition, for svg, cmapx and imap, the active area includes a thin polygon approximating the edge.
* The circles may overlap the related node, and the edge URL dominates.
* 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.
*
* Note that, for edges, the attributes {@link headURL}, {@link tailURL}, {@link labelURL} and {@link edgeURL} allow control of various parts of an edge.
* Also note that, if active areas of two edges overlap, it is unspecified which area dominates.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:URL Node, Edge and Graph Attributes#URL}
* @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:escString escString}
* @graphvizDefault <none>
* @graphvizNotes svg, postscript, map only
* @graphvizUsedBy ENGC
* @category Attribute
*/
export const URL = "URL";
/**
* A string in the {@link https://graphviz.gitlab.io/_pages/doc/info/output.html#d:xdot xdot format} specifying an arbitrary background.
* During rendering, the canvas is first filled as described in the {@link bgcolor} attribute.
* Then, if _background is defined, the graphics operations described in the string are performed on the canvas.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:_background Node, Edge and Graph Attributes#_background}
* @graphvizType string
* @graphvizDefault <none>
* @graphvizUsedBy G
* @category Attribute
*/
export const _background = "_background";
/**
* Indicates the preferred area for a node or empty cluster when laid out by patchwork.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:area Node, Edge and Graph Attributes#area}
* @graphvizType double
* @graphvizDefault 1
* @graphvizMinimum >0
* @graphvizNotes patchwork only
* @graphvizUsedBy NC
* @category Attribute
*/
export const area = "area";
/**
* Style of arrowhead on the head node of an edge.
* This will only appear if the {@link dir} attribute is "forward" or "both".
*
* See the {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#h:undir_note limitation}.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:arrowhead Node, Edge and Graph Attributes#arrowhead}
* @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:arrowType arrowType}
* @graphvizDefault normal
* @graphvizUsedBy E
* @category Attribute
*/
export const arrowhead = "arrowhead";
/**
* Multiplicative scale factor for arrowheads.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:arrowsize Node, Edge and Graph Attributes#arrowsize}
* @graphvizType double
* @graphvizDefault 1
* @graphvizMinimum 0
* @graphvizUsedBy E
* @category Attribute
*/
export const arrowsize = "arrowsize";
/**
* Style of arrowhead on the tail node of an edge.
* This will only appear if the {@link dir} attribute is "back" or "both".
*
* See the {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#h:undir_note limitation}.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:arrowtail Node, Edge and Graph Attributes#arrowtail}
* @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:arrowType arrowType}
* @graphvizDefault normal
* @graphvizUsedBy E
* @category Attribute
*/
export const arrowtail = "arrowtail";
/**
* Bounding box of drawing in points.
*
* @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:rect rect}
* @graphvizNotes write only
* @graphvizUsedBy G
* @category Attribute
*/
export const bb = "bb";
/**
* When attached to the root graph, this color is used as the background for entire canvas.
* When a cluster attribute, it is used as the initial background for the cluster.
* If a cluster has a filled {@link style}, the cluster's {@link fillcolor} will overlay the background color.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:bgcolor Node, Edge and Graph Attributes#bgcolor}
* @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:color color}/{@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:colorList colorList}
* @graphvizDefault <none>
* @graphvizUsedBy GC
* @category Attribute
*/
export const bgcolor = "bgcolor";
/**
* If true, the drawing is centered in the output canvas.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:center Node, Edge and Graph Attributes#center}
* @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:bool bool}
* @graphvizDefault FALSE
* @graphvizUsedBy G
* @category Attribute
*/
export const center = "center";
/**
* Specifies the character encoding used when interpreting string input as a text label.
* The default value is "UTF-8". The other legal value is "iso-8859-1" or, equivalently, "Latin1".
* The charset attribute is case-insensitive.
* Note that if the character encoding used in the input does not match the charset value, the resulting output may be very strange.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:charset Node, Edge and Graph Attributes#charset}
* @graphvizType string
* @graphvizDefault "UTF-8"
* @graphvizUsedBy G
*
* @category Attribute
*/
export const charset = "charset";
/**
* Mode used for handling clusters.
* If clusterrank is "local", a subgraph whose name begins with "cluster" is given special treatment.
* The subgraph is laid out separately, and then integrated as a unit into its parent graph, with a bounding rectangle drawn about it.
* If the cluster has a label parameter, this label is displayed within the rectangle.
* Note also that there can be clusters within clusters.
* At present, the modes "global" and "none" appear to be identical, both turning off the special cluster processing.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:clusterrank Node, Edge and Graph Attributes#clusterrank}
* @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:clusterMode clusterMode}
* @graphvizDefault local
* @graphvizNotes dot only
* @graphvizUsedBy G
* @category Attribute
*/
export const clusterrank = "clusterrank";
/**
* Basic drawing color for graphics, not text.
* For the latter, use the fontcolor attribute.
*
* For edges, the value can either be a single color or a colorList.
* 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.
* The head arrow, if any, is drawn using the first color in the list, and the tail arrow, if any, the second color.
* This supports the common case of drawing opposing edges, but using parallel splines instead of separately routed multiedges.
* If any fraction is used, the colors are drawn in series, with each color being given roughly its specified fraction of the edge.
* For example, the graph
*
* ```dot
* digraph G {
* a -> b [dir=both color="red:blue"]
* c -> d [dir=none color="green:red;0.25:blue"]
* }
* ```
*
* yields
*
* ![colorlist](https://graphviz.gitlab.io/_pages/doc/info/colorlist.gif)
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:color Node, Edge and Graph Attributes#color}
* @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:color color}/{@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:colorList colorList}
* @graphvizDefault black
* @graphvizUsedBy ENC
* @category Attribute
*/
export const color = "color";
/**
* This attribute specifies a color scheme namespace.
* If defined, it specifies the context for interpreting color names.
* In particular, if a color value has form "xxx" or "//xxx", then the color xxx will be evaluated according to the current color scheme.
* If no color scheme is set, the standard X11 naming is used.
* For example, if colorscheme=bugn9, then color=7 is interpreted as "/bugn9/7".
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:colorscheme Node, Edge and Graph Attributes#colorscheme}
* @graphvizType string
* @graphvizDefault ""
* @graphvizUsedBy ENCG
* @category Attribute
*/
export const colorscheme = "colorscheme";
/**
* Comments are inserted into output.
* Device-dependent
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:comment Node, Edge and Graph Attributes#comment}
* @graphvizType string
* @graphvizDefault ""
* @graphvizUsedBy ENG
* @category Attribute
*/
export const comment = "comment";
/**
* If true, allow edges between clusters. (See {@link lhead} and {@link ltail} below.)
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:compound Node, Edge and Graph Attributes#compound}
* @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:bool bool}
* @graphvizDefault FALSE
* @graphvizNotes dot only
* @graphvizUsedBy G
* @category Attribute
*/
export const compound = "compound";
/**
* If true, use edge concentrators.
* This merges multiedges into a single edge and causes partially parallel edges to share part of their paths.
* The latter feature is not yet available outside of dot.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:concentrate Node, Edge and Graph Attributes#concentrate}
* @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:bool bool}
* @graphvizDefault FALSE
* @graphvizUsedBy G
* @category Attribute
*/
export const concentrate = "concentrate";
/**
* If false, the edge is not used in ranking the nodes.
* For example, in the graph
*
* ```graphviz
* digraph G {
* a -> c;
* a -> b;
* b -> c [constraint=false];
* }
* ```
*
* 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:
*
* ![constraint](https://graphviz.gitlab.io/_pages/doc/info/constraint.gif)
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:constraint Node, Edge and Graph Attributes#constraint}
* @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:bool bool}
* @graphvizDefault TRUE
* @graphvizNotes dot only
* @graphvizUsedBy E
* @category Attribute
*/
export const constraint = "constraint";
/**
* If true, attach edge label to edge by a 2-segment polyline, underlining the label, then going to the closest point of spline.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:decorate Node, Edge and Graph Attributes#decorate}
* @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:bool bool}
* @graphvizDefault FALSE
* @graphvizUsedBy E
* @category Attribute
*/
export const decorate = "decorate";
/**
* This specifies the distance between nodes in separate connected components.
* If set too small, connected components may overlap. Only applicable if {@link pack}=false.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:defaultdist Node, Edge and Graph Attributes#defaultdist}
* @graphvizType double
* @graphvizDefault 1+(avg. len)*sqrt(|V|)
* @graphvizMinimum epsilon
* @graphvizNotes neato only
* @graphvizUsedBy G
* @category Attribute
*/
export const defaultdist = "defaultdist";
/**
* Set the number of dimensions used for the layout.
* The maximum value allowed is 10.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:dim Node, Edge and Graph Attributes#dim}
* @graphvizType int
* @graphvizDefault 2
* @graphvizMinimum 2
* @graphvizNotes sfdp, fdp, neato only
* @graphvizUsedBy G
* @category Attribute
*/
export const dim = "dim";
/**
* Set the number of dimensions used for rendering.
* The maximum value allowed is 10.
* If both dimen and dim are set, the latter specifies the dimension used for layout, and the former for rendering.
* If only dimen is set, this is used for both layout and rendering dimensions.
*
* Note that, at present, all aspects of rendering are 2D.
* This includes the shape and size of nodes, overlap removal, and edge routing.
* Thus, for dimen > 2, the only valid information is the pos attribute of the nodes.
* All other coordinates will be 2D and, at best, will reflect a projection of a higher-dimensional point onto the plane.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:dimen Node, Edge and Graph Attributes#dimen}
* @graphvizType int
* @graphvizDefault 2
* @graphvizMinimum 2
* @graphvizNotes sfdp, fdp, neato only
* @graphvizUsedBy G
* @category Attribute
*/
export const dimen = "dimen";
/**
* Set edge type for drawing arrowheads.
* This indicates which ends of the edge should be decorated with an arrowhead.
* The actual style of the arrowhead can be specified using the {@link arrowhead} and {@link arrowtail} attributes.
* See {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#h:undir_note limitation}.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:dir Node, Edge and Graph Attributes#dir}
* @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:dirType dirType}
* @graphvizDefault "forward(directed) none(undirected)"
* @graphvizUsedBy E
* @category Attribute
*/
export const dir = "dir";
/**
* Only valid when {@link mode}="ipsep".
* If true, constraints are generated for each edge in the largest (heuristic) directed acyclic subgraph such that the edge must point downwards.
* If "hier", generates level constraints similar to those used with {@link mode}="hier".
* The main difference is that, in the latter case, only these constraints are involved, so a faster solver can be used.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:diredgeconstraints Node, Edge and Graph Attributes#diredgeconstraints}
* @graphvizType string/{@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:bool bool}
* @graphvizDefault FALSE
* @graphvizNotes neato only
* @graphvizUsedBy G
* @category Attribute
*/
export const diredgeconstraints = "diredgeconstraints";
/**
* Distortion factor for {@link shape}=polygon.
* Positive values cause top part to be larger than bottom; negative values do the opposite.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:distortion Node, Edge and Graph Attributes#distortion}
* @graphvizType double
* @graphvizDefault -100
* @graphvizUsedBy N
* @category Attribute
*/
export const distortion = "distortion";
/**
* This specifies the expected number of pixels per inch on a display device.
* For bitmap output, this guarantees that text rendering will be done more accurately, both in size and in placement.
* For SVG output, it is used to guarantee that the dimensions in the output correspond to the correct number of points or inches.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:dpi Node, Edge and Graph Attributes#dpi}
* @graphvizType double
* @graphvizDefault "96.0 0.0"
* @graphvizNotes svg, bitmap output only
* @graphvizUsedBy G
* @category Attribute
*/
export const dpi = "dpi";
/**
* If **edgeURL** is defined, this is the link used for the non-label parts of an edge.
* This value overrides any {@link URL} defined for the edge.
* Also, this value is used near the head or tail node unless overridden by a {@link headURL} or {@link tailURL} value, respectively.
* See {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#h:undir_note limitation}.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:edgeURL Node, Edge and Graph Attributes#edgeURL}
* @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:escString escString}
* @graphvizDefault ""
* @graphvizNotes svg, map only
* @graphvizUsedBy E
* @category Attribute
*/
export const edgeURL = "edgeURL";
/**
* Synonym for {@link edgeURL}.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:edgehref Node, Edge and Graph Attributes#edgehref}
* @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:escString escString}
* @graphvizDefault ""
* @graphvizNotes svg, map only
* @graphvizUsedBy E
* @category Attribute
*/
export const edgehref = "edgehref";
/**
* 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.
* Setting it to "_graphviz" will open a new window if it doesn't already exist, or reuse it if it does.
* If undefined, the value of the {@link target} is used.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:edgetarget Node, Edge and Graph Attributes#edgetarget}
* @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:escString escString}
* @graphvizDefault <none>
* @graphvizNotes svg, map only
* @graphvizUsedBy E
* @category Attribute
*/
export const edgetarget = "edgetarget";
/**
* Tooltip annotation attached to the non-label part of an edge.
* This is used only if the edge has a {@link URL} or {@link edgeURL} attribute.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:edgetooltip Node, Edge and Graph Attributes#edgetooltip}
* @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:escString escString}
* @graphvizDefault ""
* @graphvizNotes svg, cmap only
* @graphvizUsedBy E
* @category Attribute
*/
export const edgetooltip = "edgetooltip";
/**
* Terminating condition. If the length squared of all energy gradients are < **epsilon**, the algorithm stops.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:epsilon Node, Edge and Graph Attributes#epsilon}
* @graphvizType double
* @graphvizDefault .0001 * # nodes(mode == KK) .0001(mode == major)
* @graphvizNotes neato only
* @graphvizUsedBy G
* @category Attribute
*/
export const epsilon = "epsilon";
/**
* Margin used around polygons for purposes of spline edge routing.
* The interpretation is the same as given for {@link sep}.
* This should normally be strictly less than {@link sep}.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:esep Node, Edge and Graph Attributes#esep}
* @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:addDouble addDouble}/{@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:addPoint addPoint}
* @graphvizDefault 3
* @graphvizNotes not dot
* @graphvizUsedBy G
* @category Attribute
*/
export const esep = "esep";
/**
* Color used to fill the background of a node or cluster assuming {@link style}=filled, or a filled arrowhead.
* If fillcolor is not defined, {@link color} is used. (For clusters, if color is not defined, {@link bgcolor} is used.)
* 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.
*
* If the value is a {@link colorList}, a gradient fill is used.
* By default, this is a linear fill; setting style=radial will cause a radial fill.
* At present, only two colors are used. If the second color (after a colon) is missing, the default color is used for it.
* See also the {@link gradientangle} attribute for setting the gradient angle.
*
* Note that a cluster inherits the root graph's attributes if defined.
* Thus, if the root graph has defined a **fillcolor**, this will override a **color** or **bgcolor** attribute set for the cluster.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:fillcolor Node, Edge and Graph Attributes#fillcolor}
* @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:color color}/{@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:colorList colorList}
* @graphvizDefault "lightgrey(nodes) black(clusters)"
* @graphvizUsedBy NEC
* @category Attribute
*/
export const fillcolor = "fillcolor";
/**
* If `false`, the size of a node is determined by smallest width and height needed to contain its label and image,
* if any, with a {@link margin} specified by the margin attribute.
* The width and height must also be at least as large as the sizes specified by the {@link width} and {@link height} attributes,
* which specify the minimum values for these parameters.
*
* 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.
* There will be a warning if the label (with margin) cannot fit within these limits.
*
* If the {@link fixedsize} attribute is set to shape, the {@link width} and {@link height} attributes also determine the size of the node shape,
* but the label can be much larger. Both the label and shape sizes are used when avoiding node overlap,
* 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.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:fixedsize Node, Edge and Graph Attributes#fixedsize}
* @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:bool bool}/string
* @graphvizDefault FALSE
* @graphvizUsedBy N
* @category Attribute
*/
export const fixedsize = "fixedsize";
/**
* Color used for text.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:fontcolor Node, Edge and Graph Attributes#fontcolor}
* @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:color color}
* @graphvizDefault black
* @graphvizUsedBy ENGC
* @category Attribute
*/
export const fontcolor = "fontcolor";
/**
* Font used for text.
* This very much depends on the output format and, for non-bitmap output such as PostScript or SVG,
* the availability of the font when the graph is displayed or printed.
* As such, it is best to rely on font faces that are generally available,
* such as Times-Roman, Helvetica or Courier.
*
* How font names are resolved also depends on the underlying library that handles font name resolution.
* If Graphviz was built using the fontconfig library, the latter library will be used to search for the font.
* See the commands **fc-list**, **fc-match** and the other fontconfig commands for how names are resolved and which fonts are available.
* Other systems may provide their own font package, such as Quartz for OS X.
*
* Note that various font attributes, such as weight and slant, can be built into the font name.
* 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.
* Alternatively, fontname="times:italic" will produce a slanted Times font from fontconfig, while fontname="times-bold" will resolve to a bold Times using Quartz.
* You will need to ascertain which package is used by your Graphviz system and refer to the relevant documentation.
*
* 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.
* 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.
* The lookup does support various aliases for the common fonts.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:fontname Node, Edge and Graph Attributes#fontname}
* @graphvizType string
* @graphvizDefault "Times-Roman"
* @graphvizUsedBy ENGC
* @category Attribute
*/
export const fontname = "fontname";
/**
* Allows user control of how basic fontnames are represented in SVG output.
* If fontnames is undefined or "svg", the output will try to use known SVG fontnames.
* For example, the default font "Times-Roman" will be mapped to the basic SVG font "serif".
* 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.
* In the latter case, the fontconfig font conventions are used. Thus, "Times-Roman" would be treated as "Nimbus Roman No9 L".
* These last two options are useful with SVG viewers that support these richer fontname spaces.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:fontnames Node, Edge and Graph Attributes#fontnames}
* @graphvizType string
* @graphvizDefault ""
* @graphvizNotes svg only
* @graphvizUsedBy G
* @category Attribute
*/
export const fontnames = "fontnames";
/**
* Directory list used by libgd to search for bitmap fonts if Graphviz was not built with the fontconfig library.
* If **fontpath** is not set, the environment variable DOTFONTPATH is checked.
* If that is not set, GDFONTPATH is checked.
* If not set, libgd uses its compiled-in font path.
* Note that fontpath is an attribute of the root graph.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:fontpath Node, Edge and Graph Attributes#fontpath}
* @graphvizType string
* @graphvizDefault system-dependent
* @graphvizUsedBy G
* @category Attribute
*/
export const fontpath = "fontpath";
/**
* Font size, {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#points in points}, used for text.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:fontsize Node, Edge and Graph Attributes#fontsize}
* @graphvizType double
* @graphvizDefault 14
* @graphvizMinimum 1
* @graphvizUsedBy ENGC
* @category Attribute
*/
export const fontsize = "fontsize";
/**
* If true, all {@link xlabel} attributes are placed,
* even if there is some overlap with nodes or other labels.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:forcelabels Node, Edge and Graph Attributes#forcelabels}
* @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:bool bool}
* @graphvizDefault TRUE
* @graphvizUsedBy G
* @category Attribute
*/
export const forcelabels = "forcelabels";
/**
* If a gradient fill is being used, this determines the angle of the fill.
* For linear fills, the colors transform along a line specified by the angle and the center of the object.
* For radial fills, a value of zero causes the colors to transform radially from the center; for non-zero values,
* the colors transform from a point near the object's periphery as specified by the value.
*
* If unset, the default angle is 0.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:gradientangle Node, Edge and Graph Attributes#gradientangle}
* @graphvizType int
* @graphvizDefault ""
* @graphvizUsedBy NCG
* @category Attribute
*/
export const gradientangle = "gradientangle";
/**
* If the end points of an edge belong to the same group, i.e.,
* have the same group attribute, parameters are set to avoid crossings and keep the edges straight.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:group Node, Edge and Graph Attributes#group}
* @graphvizType string
* @graphvizDefault ""
* @graphvizNotes dot only
* @graphvizUsedBy N
* @category Attribute
*/
export const group = "group";
/**
* If **headURL** is defined, it is output as part of the head label of the edge.
* Also, this value is used near the head node, overriding any {@link URL} value.
* See {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#h:undir_note limitation}.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:headURL Node, Edge and Graph Attributes#headURL}
* @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:escString escString}
* @graphvizDefault ""
* @graphvizNotes svg, map only
* @graphvizUsedBy E
* @category Attribute
*/
export const headURL = "headURL";
/**
* Position of an edge's head label, {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#points in points}.
* The position indicates the center of the label.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:head_lp Node, Edge and Graph Attributes#head_lp}
* @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:point point}
* @graphvizNotes write only
* @graphvizUsedBy E
* @category Attribute
*/
export const head_lp = "head_lp";
/**
* If true, the head of an edge is clipped to the boundary of the head node; otherwise,
* the end of the edge goes to the center of the node, or the center of a port, if applicable.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:headclip Node, Edge and Graph Attributes#headclip}
* @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:bool bool}
* @graphvizDefault TRUE
* @graphvizUsedBy E
* @category Attribute
*/
export const headclip = "headclip";
/**
* Synonym for {@link headURL}.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:headhref Node, Edge and Graph Attributes#headhref}
* @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:escString escString}
* @graphvizDefault ""
* @graphvizNotes svg, map only
* @graphvizUsedBy E
* @category Attribute
*/
export const headhref = "headhref";
/**
* Text label to be placed near head of edge.
* See {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#h:undir_note limitation}.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:headlabel Node, Edge and Graph Attributes#headlabel}
* @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:lblString lblString}
* @graphvizDefault center
* @graphvizUsedBy E
* @category Attribute
*/
export const headlabel = "headlabel";
/**
* Indicates where on the head node to attach the head of the edge.
* In the default case, the edge is aimed towards the center of the node, and then clipped at the node boundary.
* See {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#h:undir_note limitation}.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:headport Node, Edge and Graph Attributes#headport}
* @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:portPos portPos}
* @graphvizDefault <none>
* @graphvizNotes svg, map only
* @graphvizUsedBy E
* @category Attribute
*/
export const headport = "headport";
/**
* If the edge has a {@link headURL}, this attribute determines which window of the browser is used for the URL.
* Setting it to "_graphviz" will open a new window if it doesn't already exist, or reuse it if it does.
* If undefined, the value of the {@link target} is used.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:headtarget Node, Edge and Graph Attributes#headtarget}
* @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:escString escString}
* @graphvizDefault ""
* @graphvizNotes svg, cmap only
* @graphvizUsedBy E
* @category Attribute
*/
export const headtarget = "headtarget";
/**
* Tooltip annotation attached to the head of an edge.
* This is used only if the edge has a {@link headURL} attribute.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:headtooltip Node, Edge and Graph Attributes#headtooltip}
* @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:escString escString}
* @graphvizDefault 0.5
* @graphvizMinimum 0.02
* @graphvizUsedBy N
* @category Attribute
*/
export const headtooltip = "headtooltip";
/**
* Height of node, in inches.
* This is taken as the initial, minimum height of the node.
* If {@link fixedsize} is true, this will be the final height of the node.
* Otherwise, if the node label requires more height to fit, the node's **height** will be increased to contain the label.
* Note also that, if the output format is dot, the value given to height will be the final value.
*
* If the node shape is regular, the width and height are made identical.
* In this case, if either the width or the height is set explicitly, that value is used.
* In this case, if both the width or the height are set explicitly, the maximum of the two values is used.
* If neither is set explicitly, the minimum of the two default values is used.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:height Node, Edge and Graph Attributes#height}
* @graphvizType double
* @graphvizDefault ""
* @graphvizNotes svg, postscript, map only
* @graphvizUsedBy GCNE
* @category Attribute
*/
export const height = "height";
/**
* Synonym for {@link URL}.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:href Node, Edge and Graph Attributes#href}
* @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:escString escString}
* @graphvizDefault ""
* @graphvizNotes svg, postscript, map only
* @graphvizUsedBy GCNE
* @category Attribute
*/
export const href = "href";
/**
* Allows the graph author to provide an id for graph objects which is to be included in the output.
* Normal "\N", "\E", "\G" substitutions are applied.
* If provided, it is the responsibility of the provider to keep its values sufficiently unique for its intended downstream use.
* Note, in particular, that "\E" does not provide a unique id for multi-edges.
* If no id attribute is provided, then a unique internal id is used.
* However, this value is unpredictable by the graph writer.
* An externally provided id is not used internally.
*
* If the graph provides an id attribute, this will be used as a prefix for internally generated attributes.
* By making these distinct, the user can include multiple image maps in the same document.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:id Node, Edge and Graph Attributes#id}
* @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:escString escString}
* @graphvizDefault ""
* @graphvizUsedBy N
* @category Attribute
*/
export const id = "id";
/**
* Gives the name of a file containing an image to be displayed inside a node.
* The image file must be in one of the recognized {@link https://graphviz.gitlab.io/_pages/doc/info/output.html#d:image_fmts formats},
* typically JPEG, PNG, GIF, BMP, SVG or Postscript, and be able to be converted into the desired output format.
*
* The file must contain the image size information.
* This is usually trivially true for the bitmap formats.
* 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.
* An SVG image file must contain width and height attributes, typically as part of the svg element.
* The values for these should have the form of a floating point number, followed by optional units, e.g.,
* width="76pt". Recognized units are in, px, pc, pt, cm and mm for inches, pixels, picas, points, centimeters and millimeters, respectively.
* The default unit is points.
*
* 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.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:image Node, Edge and Graph Attributes#image}
* @graphvizType string
* @graphvizDefault ""
* @graphvizUsedBy G
* @category Attribute
*/
export const image = "image";
/**
* 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.gitlab.io/_pages/doc/info/shapes.html#html HTML-like labels}.
* The string should be a list of (absolute or relative) pathnames, each separated by a semicolon (for Windows) or a colon (all other OS).
* The first directory in which a file of the given name is found will be used to load the image.
* If imagepath is not set, relative pathnames for the image file will be interpreted with respect to the current working directory.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:imagepath Node, Edge and Graph Attributes#imagepath}
* @graphvizType string
* @graphvizDefault ""
* @graphvizUsedBy G
* @category Attribute
*/
export const imagepath = "imagepath";
/**
* Attribute controlling how an image is positioned within its containing node.
* This only has an effect when the image is smaller than the containing node.
* The default is to be centered both horizontally and vertically.
* Valid values:
*
* | | |
* |----|-------------------------------|
* | tl | Top Left |
* | tc | Top Centered |
* | tr | Top Right |
* | ml | Middle Left |
* | mc | Middle Centered (the default) |
* | mr | Middle Right |
* | bl | Bottom Left |
* | bc | Bottom Centered |
* | br | Bottom Right |
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:imagepos Node, Edge and Graph Attributes#imagepos}
* @graphvizType string
* @graphvizDefault "mc"
* @graphvizUsedBy N
* @category Attribute
*/
export const imagepos = "imagepos";
/**
* Attribute controlling how an image fills its containing node.
* 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.
* Its width and height will also be at least as large as its minimum {@link width} and {@link height}.
* If, however, fixedsize=true, the width and height attributes specify the exact size of the node.
*
* 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.
*
* In all cases, if a dimension of the image is larger than the corresponding dimension of the node,
* that dimension of the image is scaled down to fit the node.
* As with the case of expansion, if imagescale=true, width and height are scaled uniformly.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:imagescale Node, Edge and Graph Attributes#imagescale}
* @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:bool bool}/string
* @graphvizDefault FALSE
* @graphvizUsedBy N
* @category Attribute
*/
export const imagescale = "imagescale";
/**
* For layout algorithms that support initial input positions (specified by the pos attribute),
* this attribute can be used to appropriately scale the values.
* By default, fdp and neato interpret the x and y values of pos as being in inches.
* (**NOTE**: neato -n(2) treats the coordinates as being in points, being the unit used by the layout algorithms for the pos attribute.)
* Thus, if the graph has pos attributes in points, one should set inputscale=72.
* This can also be set on the command line using the {@link https://graphviz.gitlab.io/_pages/doc/info/command.html#minusK -s flag} flag.
*
* If not set, no scaling is done and the units on input are treated as inches.
* A value of 0 is equivalent to inputscale=72.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:inputscale Node, Edge and Graph Attributes#inputscale}
* @graphvizType double
* @graphvizDefault <none>
* @graphvizNotes fdp, neato only
* @graphvizUsedBy G
* @category Attribute
*/
export const inputscale = "inputscale";
/**
* Text label attached to objects.
* If a node's {@link shape} is record, then the label can have a {@link https://graphviz.gitlab.io/_pages/doc/info/shapes.html#record special format} which describes the record layout.
*
* Note that a node's default label is "\N", so the node's name or ID becomes its label.
* 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.gitlab.io/_pages/doc/info/shapes.html#html HTML-like} label.
* 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.
* To get an HTML-like label, the label attribute value itself must be an HTML string.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:label Node, Edge and Graph Attributes#label}
* @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:lblString lblString}
* @graphvizDefaultValu
* "\N" (nodes)
* "" (otherwise)
* @graphvizUsedBy ENGC
* @category Attribute
*/
export const label = "label";
/**
* If **labelURL** is defined, this is the link used for the label of an edge.
* This value overrides any {@link URL} defined for the edge.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:labelURL Node, Edge and Graph Attributes#labelURL}
* @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:escString escString}
* @graphvizDefault ""
* @graphvizNotes svg, map only
* @graphvizUsedBy E
* @category Attribute
*/
export const labelURL = "labelURL";
/**
* The value indicates whether to treat a node whose name has the form |edgelabel|* as a special node representing an edge label.
* The default (0) produces no effect.
* 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.
* 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.
* Finally, a value of 3 invokes a two-step process of overlap removal and straightening.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:label_scheme Node, Edge and Graph Attributes#label_scheme}
* @graphvizType int
* @graphvizDefault 0
* @graphvizMinimum 0
* @graphvizNotes sfdp only
* @graphvizUsedBy G
* @category Attribute
*/
export const label_scheme = "label_scheme";
/**
* This, along with {@link labeldistance}, determine where the headlabel (taillabel) are placed with respect to the head (tail) in polar coordinates.
* The origin in the coordinate system is the point where the edge touches the node.
* The ray of 0 degrees goes from the origin back along the edge, parallel to the edge at the origin.
*
* The angle, in degrees, specifies the rotation from the 0 degree ray, with positive angles moving counterclockwise and negative angles moving clockwise.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:labelangle Node, Edge and Graph Attributes#labelangle}
* @graphvizType double
* @graphvizDefault -25
* @graphvizMinimum -180
* @graphvizUsedBy E
* @category Attribute
*/
export const labelangle = "labelangle";
/**
* Multiplicative scaling factor adjusting the distance that the headlabel(taillabel) is from the head(tail) node.
* The default distance is 10 points.
* See {@link labelangle} for more details.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:labeldistance Node, Edge and Graph Attributes#labeldistance}
* @graphvizType double
* @graphvizDefault 1
* @graphvizMinimum 0
* @graphvizUsedBy E
* @category Attribute
*/
export const labeldistance = "labeldistance";
/**
* If true, allows edge labels to be less constrained in position.
* In particular, it may appear on top of other edges.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:labelfloat Node, Edge and Graph Attributes#labelfloat}
* @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:bool bool}
* @graphvizDefault FALSE
* @graphvizUsedBy E
* @category Attribute
*/
export const labelfloat = "labelfloat";
/**
* Color used for headlabel and taillabel.
* If not set, defaults to edge's fontcolor.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:labelfontcolor Node, Edge and Graph Attributes#labelfontcolor}
* @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:color color}
* @graphvizDefault black
* @graphvizUsedBy E
* @category Attribute
*/
export const labelfontcolor = "labelfontcolor";
/**
* Font used for headlabel and taillabel.
* If not set, defaults to edge's fontname.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:labelfontname Node, Edge and Graph Attributes#labelfontname}
* @graphvizType string
* @graphvizDefault "Times-Roman"
* @graphvizUsedBy E
* @category Attribute
*/
export const labelfontname = "labelfontname";
/**
* Font size, {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#points in points}, used for headlabel and taillabel.
* If not set, defaults to edge's fontsize.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:labelfontsize Node, Edge and Graph Attributes#labelfontsize}
* @graphvizType double
* @graphvizDefault 14
* @graphvizMinimum 1
* @graphvizUsedBy E
* @category Attribute
*/
export const labelfontsize = "labelfontsize";
/**
* Synonym for {@link labelURL}.
*
* @see {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:labelhref Node, Edge and Graph Attributes#labelhref}
* @graphvizType {@link https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:escString escString}
* @graphvizDefault ""
* @graphvizNotes svg, map only
* @graphvizUsedBy E
* @category Attribute
*/
export const labelhref = "labelhref";
/**