From: Mark Hansen Date: Sun, 28 Feb 2021 03:15:05 +0000 (+1100) Subject: Redirect more duplicate docs to graphviz site X-Git-Tag: 2.47.0~33^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=33a0452c8129b73e402a739dbcd462e0ed4eff64;p=graphviz Redirect more duplicate docs to graphviz site I've deleted schema.html instead of redirecting because it's not intended to be shown as a top-level page on its own, but rather included in another page as a subtree. Towards https://gitlab.com/graphviz/graphviz.gitlab.io/-/issues/39 --- diff --git a/doc/info/arrows.html b/doc/info/arrows.html index 46cf57837..31ef15e4e 100644 --- a/doc/info/arrows.html +++ b/doc/info/arrows.html @@ -1,316 +1,2 @@ - - - - -Arrow Shapes - - - -

Arrow Shapes

-
-Arrow shapes can be specified and named using the following simple -grammar. -Terminals are shown in bold font and nonterminals in italics. -Literal characters are given in single quotes. -Square brackets [ and ] enclose optional items. -Vertical bars | separate alternatives. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
arrowname:aname [ aname [ aname [ aname ] ] ]
aname:[ modifiers ] shape
modifiers:[ 'o' ] [ side ]
side:'l'
|'r'
shape:box
|crow
|curve
|icurve
|diamond
|dot
|inv
|none
|normal
|tee
|vee
-

-The primitive shapes are: -

- - - - - - - - - - - -
"box" - "crow" - "curve" - "diamond" -
"dot" - "icurve" - "inv" - "none" -
"normal" - "tee" - "vee" -
-
-

-As for the modifiers: -

-
'l' -
Clip the shape, leaving only the part to the left of the edge. -
'r' -
Clip the shape, leaving only the part to the right of the edge. -
'o' -
Use an open (non-filled) version of the shape. -
-Left and right are defined as those directions determined by looking -from the edge towards the point where the arrow "touches" the node. -

-As an example, the arrow shape lteeoldiamond is parsed as -'l' 'tee' 'o' 'l' 'diamond' and corresponds to the shape -

- -
-Note that the first arrow shape specified occurs closest to the node. -Subsequent arrow shapes, if specified, occur further from the node. -Also, a shape of none uses space, so, for example, the arrowhead nonenormal -is not the same as normal. -

-Not all syntactically legal combinations of modifiers are meaningful -or semantically valid. -For example, none of the modifiers make any sense with none. -The following table indicates which modifiers are allowed with which shapes. -

-

- - - - - - -
Modifierbox - crow - curve - diamond - dot - icurve - inv - none - normal - tee - vee -
'l'/'r'XXXX X XXX
'o' X  XXX X  
-
-

-This yields 42 different arrow shapes. The optional second, third, fourth shapes -can independently be any of the 42, except the last cannot be none as -this would create a redundant shape. -Thus, there are 41 · 423 + 41 · 422 + 41 · 42 + 42 = 3,111,696 different combinations. - -

-The following display contains the 42 combinations possible with a single -arrow shape. The node attached to the arrow is not drawn but would appear -on the right side of the edge. -

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - -
box - lbox - rbox - obox - olbox - orbox -
- - -
crow - lcrow - rcrow -
- - - - - -
diamond - ldiamond - rdiamond - odiamond - oldiamond - ordiamond -
- -
dot - odot -
- - - - - -
inv - linv - rinv - oinv - olinv - orinv -
-
none -
- - - - - -
normal - lnormal - rnormal - onormal - olnormal - ornormal -
- - -
tee - ltee - rtee -
- - -
vee - lvee - rvee -
- - - - - -
curve - lcurve - rcurve - icurve - licurve - ricurve -
-
- - + +Moved to https://graphviz.org/doc/info/arrows.html. Redirecting... diff --git a/doc/info/colors.html b/doc/info/colors.html index 07da5b7c2..ebbc70c49 100644 --- a/doc/info/colors.html +++ b/doc/info/colors.html @@ -1,3939 +1,2 @@ - - - - -Color Names - - - -

Color Names

-Color names are resolved in the context of a -color scheme. Graphviz currently -supports the X11 scheme, -the SVG scheme, and the Brewer schemes, -with X11 being the default. -

-Color names are case-insensitive. -

-The Brewer color schemes below are covered by this license. -


-

The X11 color scheme

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
aliceblueantiquewhiteantiquewhite1antiquewhite2antiquewhite3
antiquewhite4aquamarineaquamarine1aquamarine2aquamarine3
aquamarine4azureazure1azure2azure3
azure4beigebisquebisque1bisque2
bisque3bisque4blackblanchedalmond   blue   
blue1blue2blue3blue4blueviolet
brownbrown1brown2brown3brown4
burlywoodburlywood1burlywood2burlywood3burlywood4
cadetbluecadetblue1cadetblue2cadetblue3cadetblue4
chartreusechartreuse1chartreuse2chartreuse3chartreuse4
chocolatechocolate1chocolate2chocolate3chocolate4
coralcoral1coral2coral3coral4
cornflowerbluecornsilkcornsilk1cornsilk2cornsilk3
cornsilk4crimson   cyan   cyan1cyan2
cyan3cyan4darkgoldenroddarkgoldenrod1darkgoldenrod2
darkgoldenrod3darkgoldenrod4darkgreendarkkhakidarkolivegreen
darkolivegreen1darkolivegreen2darkolivegreen3darkolivegreen4darkorange
darkorange1darkorange2darkorange3darkorange4darkorchid
darkorchid1darkorchid2darkorchid3darkorchid4darksalmon
darkseagreendarkseagreen1darkseagreen2darkseagreen3darkseagreen4
darkslatebluedarkslategraydarkslategray1darkslategray2darkslategray3
darkslategray4darkslategreydarkturquoisedarkvioletdeeppink
deeppink1deeppink2deeppink3deeppink4deepskyblue
deepskyblue1deepskyblue2deepskyblue3deepskyblue4dimgray
dimgreydodgerbluedodgerblue1dodgerblue2dodgerblue3
dodgerblue4firebrickfirebrick1firebrick2firebrick3
firebrick4floralwhiteforestgreengainsboroghostwhite
   gold   gold1gold2gold3gold4
goldenrodgoldenrod1goldenrod2goldenrod3goldenrod4
   gray   gray0gray1gray10gray100
gray11gray12gray13gray14gray15
gray16gray17gray18gray19gray2
gray20gray21gray22gray23gray24
gray25gray26gray27gray28gray29
gray3gray30gray31gray32gray33
gray34gray35gray36gray37gray38
gray39gray4gray40gray41gray42
gray43gray44gray45gray46gray47
gray48gray49gray5gray50gray51
gray52gray53gray54gray55gray56
gray57gray58gray59gray6gray60
gray61gray62gray63gray64gray65
gray66gray67gray68gray69gray7
gray70gray71gray72gray73gray74
gray75gray76gray77gray78gray79
gray8gray80gray81gray82gray83
gray84gray85gray86gray87gray88
gray89gray9gray90gray91gray92
gray93gray94gray95gray96gray97
gray98gray99greengreen1green2
green3green4greenyellow   grey   grey0
grey1grey10grey100grey11grey12
grey13grey14grey15grey16grey17
grey18grey19grey2grey20grey21
grey22grey23grey24grey25grey26
grey27grey28grey29grey3grey30
grey31grey32grey33grey34grey35
grey36grey37grey38grey39grey4
grey40grey41grey42grey43grey44
grey45grey46grey47grey48grey49
grey5grey50grey51grey52grey53
grey54grey55grey56grey57grey58
grey59grey6grey60grey61grey62
grey63grey64grey65grey66grey67
grey68grey69grey7grey70grey71
grey72grey73grey74grey75grey76
grey77grey78grey79grey8grey80
grey81grey82grey83grey84grey85
grey86grey87grey88grey89grey9
grey90grey91grey92grey93grey94
grey95grey96grey97grey98grey99
honeydewhoneydew1honeydew2honeydew3honeydew4
hotpinkhotpink1hotpink2hotpink3hotpink4
indianredindianred1indianred2indianred3indianred4
indigoinvisivoryivory1ivory2
ivory3ivory4khakikhaki1khaki2
khaki3khaki4lavenderlavenderblushlavenderblush1
lavenderblush2lavenderblush3lavenderblush4lawngreenlemonchiffon
lemonchiffon1lemonchiffon2lemonchiffon3lemonchiffon4lightblue
lightblue1lightblue2lightblue3lightblue4lightcoral
lightcyanlightcyan1lightcyan2lightcyan3lightcyan4
lightgoldenrodlightgoldenrod1lightgoldenrod2lightgoldenrod3lightgoldenrod4
lightgoldenrodyellowlightgraylightgreylightpinklightpink1
lightpink2lightpink3lightpink4lightsalmonlightsalmon1
lightsalmon2lightsalmon3lightsalmon4lightseagreenlightskyblue
lightskyblue1lightskyblue2lightskyblue3lightskyblue4lightslateblue
lightslategraylightslategreylightsteelbluelightsteelblue1lightsteelblue2
lightsteelblue3lightsteelblue4lightyellowlightyellow1lightyellow2
lightyellow3lightyellow4limegreenlinenmagenta
magenta1magenta2magenta3magenta4maroon
maroon1maroon2maroon3maroon4mediumaquamarine
mediumbluemediumorchidmediumorchid1mediumorchid2mediumorchid3
mediumorchid4mediumpurplemediumpurple1mediumpurple2mediumpurple3
mediumpurple4mediumseagreenmediumslatebluemediumspringgreenmediumturquoise
mediumvioletredmidnightbluemintcreammistyrosemistyrose1
mistyrose2mistyrose3mistyrose4moccasinnavajowhite
navajowhite1navajowhite2navajowhite3navajowhite4   navy   
navyblue   none   oldlaceolivedrabolivedrab1
olivedrab2olivedrab3olivedrab4orangeorange1
orange2orange3orange4orangeredorangered1
orangered2orangered3orangered4orchidorchid1
orchid2orchid3orchid4palegoldenrodpalegreen
palegreen1palegreen2palegreen3palegreen4paleturquoise
paleturquoise1paleturquoise2paleturquoise3paleturquoise4palevioletred
palevioletred1palevioletred2palevioletred3palevioletred4papayawhip
peachpuffpeachpuff1peachpuff2peachpuff3peachpuff4
   peru      pink   pink1pink2pink3
pink4   plum   plum1plum2plum3
plum4powderbluepurplepurple1purple2
purple3purple4   red      red1      red2   
   red3      red4   rosybrownrosybrown1rosybrown2
rosybrown3rosybrown4royalblueroyalblue1royalblue2
royalblue3royalblue4saddlebrownsalmonsalmon1
salmon2salmon3salmon4sandybrownseagreen
seagreen1seagreen2seagreen3seagreen4seashell
seashell1seashell2seashell3seashell4sienna
sienna1sienna2sienna3sienna4skyblue
skyblue1skyblue2skyblue3skyblue4slateblue
slateblue1slateblue2slateblue3slateblue4slategray
slategray1slategray2slategray3slategray4slategrey
   snow   snow1snow2snow3snow4
springgreenspringgreen1springgreen2springgreen3springgreen4
steelbluesteelblue1steelblue2steelblue3steelblue4
   tan      tan1      tan2      tan3      tan4   
thistlethistle1thistle2thistle3thistle4
tomatotomato1tomato2tomato3tomato4
transparentturquoiseturquoise1turquoise2turquoise3
turquoise4violetvioletredvioletred1violetred2
violetred3violetred4wheatwheat1wheat2
wheat3wheat4whitewhitesmokeyellow
yellow1yellow2yellow3yellow4yellowgreen

-

The SVG color scheme

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
aliceblueantiquewhite   aqua   aquamarineazure
beigebisqueblackblanchedalmond   blue   
bluevioletbrownburlywoodcadetbluechartreuse
chocolatecoralcornflowerbluecornsilkcrimson
   cyan   darkbluedarkcyandarkgoldenroddarkgray
darkgreendarkgreydarkkhakidarkmagentadarkolivegreen
darkorangedarkorchiddarkreddarksalmondarkseagreen
darkslatebluedarkslategraydarkslategreydarkturquoisedarkviolet
deeppinkdeepskybluedimgraydimgreydodgerblue
firebrickfloralwhiteforestgreenfuchsiagainsboro
ghostwhite   gold   goldenrod   gray      grey   
greengreenyellowhoneydewhotpinkindianred
indigoivorykhakilavenderlavenderblush
lawngreenlemonchiffonlightbluelightcorallightcyan
lightgoldenrodyellowlightgraylightgreenlightgreylightpink
lightsalmonlightseagreenlightskybluelightslategraylightslategrey
lightsteelbluelightyellow   lime   limegreenlinen
magentamaroonmediumaquamarinemediumbluemediumorchid
mediumpurplemediumseagreenmediumslatebluemediumspringgreenmediumturquoise
mediumvioletredmidnightbluemintcreammistyrosemoccasin
navajowhite   navy   oldlaceoliveolivedrab
orangeorangeredorchidpalegoldenrodpalegreen
paleturquoisepalevioletredpapayawhippeachpuff   peru   
   pink      plum   powderbluepurple   red   
rosybrownroyalbluesaddlebrownsalmonsandybrown
seagreenseashellsiennasilverskyblue
slateblueslategrayslategrey   snow   springgreen
steelblue   tan      teal   thistletomato
turquoisevioletwheatwhitewhitesmoke
yellowyellowgreen

-

Brewer color schemes

-accent3 color scheme
- - - - - -
   1      2      3   

-accent4 color scheme
- - - - - - -
   1      2      3      4   

-accent5 color scheme
- - - - - - - -
   1      2      3      4      5   

-accent6 color scheme
- - - - - - - - -
   1      2      3      4      5      6   

-accent7 color scheme
- - - - - - - - - -
   1      2      3      4      5      6      7   

-accent8 color scheme
- - - - - - - - - - -
   1      2      3      4      5      6      7      8   

-blues3 color scheme
- - - - - -
   1      2      3   

-blues4 color scheme
- - - - - - -
   1      2      3      4   

-blues5 color scheme
- - - - - - - -
   1      2      3      4      5   

-blues6 color scheme
- - - - - - - - -
   1      2      3      4      5      6   

-blues7 color scheme
- - - - - - - - - -
   1      2      3      4      5      6      7   

-blues8 color scheme
- - - - - - - - - - -
   1      2      3      4      5      6      7      8   

-blues9 color scheme
- - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9   

-brbg10 color scheme
- - - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9      10   

-brbg11 color scheme
- - - - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9      10      11   

-brbg3 color scheme
- - - - - -
   1      2      3   

-brbg4 color scheme
- - - - - - -
   1      2      3      4   

-brbg5 color scheme
- - - - - - - -
   1      2      3      4      5   

-brbg6 color scheme
- - - - - - - - -
   1      2      3      4      5      6   

-brbg7 color scheme
- - - - - - - - - -
   1      2      3      4      5      6      7   

-brbg8 color scheme
- - - - - - - - - - -
   1      2      3      4      5      6      7      8   

-brbg9 color scheme
- - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9   

-bugn3 color scheme
- - - - - -
   1      2      3   

-bugn4 color scheme
- - - - - - -
   1      2      3      4   

-bugn5 color scheme
- - - - - - - -
   1      2      3      4      5   

-bugn6 color scheme
- - - - - - - - -
   1      2      3      4      5      6   

-bugn7 color scheme
- - - - - - - - - -
   1      2      3      4      5      6      7   

-bugn8 color scheme
- - - - - - - - - - -
   1      2      3      4      5      6      7      8   

-bugn9 color scheme
- - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9   

-bupu3 color scheme
- - - - - -
   1      2      3   

-bupu4 color scheme
- - - - - - -
   1      2      3      4   

-bupu5 color scheme
- - - - - - - -
   1      2      3      4      5   

-bupu6 color scheme
- - - - - - - - -
   1      2      3      4      5      6   

-bupu7 color scheme
- - - - - - - - - -
   1      2      3      4      5      6      7   

-bupu8 color scheme
- - - - - - - - - - -
   1      2      3      4      5      6      7      8   

-bupu9 color scheme
- - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9   

-dark23 color scheme
- - - - - -
   1      2      3   

-dark24 color scheme
- - - - - - -
   1      2      3      4   

-dark25 color scheme
- - - - - - - -
   1      2      3      4      5   

-dark26 color scheme
- - - - - - - - -
   1      2      3      4      5      6   

-dark27 color scheme
- - - - - - - - - -
   1      2      3      4      5      6      7   

-dark28 color scheme
- - - - - - - - - - -
   1      2      3      4      5      6      7      8   

-gnbu3 color scheme
- - - - - -
   1      2      3   

-gnbu4 color scheme
- - - - - - -
   1      2      3      4   

-gnbu5 color scheme
- - - - - - - -
   1      2      3      4      5   

-gnbu6 color scheme
- - - - - - - - -
   1      2      3      4      5      6   

-gnbu7 color scheme
- - - - - - - - - -
   1      2      3      4      5      6      7   

-gnbu8 color scheme
- - - - - - - - - - -
   1      2      3      4      5      6      7      8   

-gnbu9 color scheme
- - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9   

-greens3 color scheme
- - - - - -
   1      2      3   

-greens4 color scheme
- - - - - - -
   1      2      3      4   

-greens5 color scheme
- - - - - - - -
   1      2      3      4      5   

-greens6 color scheme
- - - - - - - - -
   1      2      3      4      5      6   

-greens7 color scheme
- - - - - - - - - -
   1      2      3      4      5      6      7   

-greens8 color scheme
- - - - - - - - - - -
   1      2      3      4      5      6      7      8   

-greens9 color scheme
- - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9   

-greys3 color scheme
- - - - - -
   1      2      3   

-greys4 color scheme
- - - - - - -
   1      2      3      4   

-greys5 color scheme
- - - - - - - -
   1      2      3      4      5   

-greys6 color scheme
- - - - - - - - -
   1      2      3      4      5      6   

-greys7 color scheme
- - - - - - - - - -
   1      2      3      4      5      6      7   

-greys8 color scheme
- - - - - - - - - - -
   1      2      3      4      5      6      7      8   

-greys9 color scheme
- - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9   

-oranges3 color scheme
- - - - - -
   1      2      3   

-oranges4 color scheme
- - - - - - -
   1      2      3      4   

-oranges5 color scheme
- - - - - - - -
   1      2      3      4      5   

-oranges6 color scheme
- - - - - - - - -
   1      2      3      4      5      6   

-oranges7 color scheme
- - - - - - - - - -
   1      2      3      4      5      6      7   

-oranges8 color scheme
- - - - - - - - - - -
   1      2      3      4      5      6      7      8   

-oranges9 color scheme
- - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9   

-orrd3 color scheme
- - - - - -
   1      2      3   

-orrd4 color scheme
- - - - - - -
   1      2      3      4   

-orrd5 color scheme
- - - - - - - -
   1      2      3      4      5   

-orrd6 color scheme
- - - - - - - - -
   1      2      3      4      5      6   

-orrd7 color scheme
- - - - - - - - - -
   1      2      3      4      5      6      7   

-orrd8 color scheme
- - - - - - - - - - -
   1      2      3      4      5      6      7      8   

-orrd9 color scheme
- - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9   

-paired10 color scheme
- - - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9      10   

-paired11 color scheme
- - - - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9      10      11   

-paired12 color scheme
- - - - - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9      10      11      12   

-paired3 color scheme
- - - - - -
   1      2      3   

-paired4 color scheme
- - - - - - -
   1      2      3      4   

-paired5 color scheme
- - - - - - - -
   1      2      3      4      5   

-paired6 color scheme
- - - - - - - - -
   1      2      3      4      5      6   

-paired7 color scheme
- - - - - - - - - -
   1      2      3      4      5      6      7   

-paired8 color scheme
- - - - - - - - - - -
   1      2      3      4      5      6      7      8   

-paired9 color scheme
- - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9   

-pastel13 color scheme
- - - - - -
   1      2      3   

-pastel14 color scheme
- - - - - - -
   1      2      3      4   

-pastel15 color scheme
- - - - - - - -
   1      2      3      4      5   

-pastel16 color scheme
- - - - - - - - -
   1      2      3      4      5      6   

-pastel17 color scheme
- - - - - - - - - -
   1      2      3      4      5      6      7   

-pastel18 color scheme
- - - - - - - - - - -
   1      2      3      4      5      6      7      8   

-pastel19 color scheme
- - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9   

-pastel23 color scheme
- - - - - -
   1      2      3   

-pastel24 color scheme
- - - - - - -
   1      2      3      4   

-pastel25 color scheme
- - - - - - - -
   1      2      3      4      5   

-pastel26 color scheme
- - - - - - - - -
   1      2      3      4      5      6   

-pastel27 color scheme
- - - - - - - - - -
   1      2      3      4      5      6      7   

-pastel28 color scheme
- - - - - - - - - - -
   1      2      3      4      5      6      7      8   

-piyg10 color scheme
- - - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9      10   

-piyg11 color scheme
- - - - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9      10      11   

-piyg3 color scheme
- - - - - -
   1      2      3   

-piyg4 color scheme
- - - - - - -
   1      2      3      4   

-piyg5 color scheme
- - - - - - - -
   1      2      3      4      5   

-piyg6 color scheme
- - - - - - - - -
   1      2      3      4      5      6   

-piyg7 color scheme
- - - - - - - - - -
   1      2      3      4      5      6      7   

-piyg8 color scheme
- - - - - - - - - - -
   1      2      3      4      5      6      7      8   

-piyg9 color scheme
- - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9   

-prgn10 color scheme
- - - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9      10   

-prgn11 color scheme
- - - - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9      10      11   

-prgn3 color scheme
- - - - - -
   1      2      3   

-prgn4 color scheme
- - - - - - -
   1      2      3      4   

-prgn5 color scheme
- - - - - - - -
   1      2      3      4      5   

-prgn6 color scheme
- - - - - - - - -
   1      2      3      4      5      6   

-prgn7 color scheme
- - - - - - - - - -
   1      2      3      4      5      6      7   

-prgn8 color scheme
- - - - - - - - - - -
   1      2      3      4      5      6      7      8   

-prgn9 color scheme
- - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9   

-pubu3 color scheme
- - - - - -
   1      2      3   

-pubu4 color scheme
- - - - - - -
   1      2      3      4   

-pubu5 color scheme
- - - - - - - -
   1      2      3      4      5   

-pubu6 color scheme
- - - - - - - - -
   1      2      3      4      5      6   

-pubu7 color scheme
- - - - - - - - - -
   1      2      3      4      5      6      7   

-pubu8 color scheme
- - - - - - - - - - -
   1      2      3      4      5      6      7      8   

-pubu9 color scheme
- - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9   

-pubugn3 color scheme
- - - - - -
   1      2      3   

-pubugn4 color scheme
- - - - - - -
   1      2      3      4   

-pubugn5 color scheme
- - - - - - - -
   1      2      3      4      5   

-pubugn6 color scheme
- - - - - - - - -
   1      2      3      4      5      6   

-pubugn7 color scheme
- - - - - - - - - -
   1      2      3      4      5      6      7   

-pubugn8 color scheme
- - - - - - - - - - -
   1      2      3      4      5      6      7      8   

-pubugn9 color scheme
- - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9   

-puor10 color scheme
- - - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9      10   

-puor11 color scheme
- - - - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9      10      11   

-puor3 color scheme
- - - - - -
   1      2      3   

-puor4 color scheme
- - - - - - -
   1      2      3      4   

-puor5 color scheme
- - - - - - - -
   1      2      3      4      5   

-puor6 color scheme
- - - - - - - - -
   1      2      3      4      5      6   

-puor7 color scheme
- - - - - - - - - -
   1      2      3      4      5      6      7   

-puor8 color scheme
- - - - - - - - - - -
   1      2      3      4      5      6      7      8   

-puor9 color scheme
- - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9   

-purd3 color scheme
- - - - - -
   1      2      3   

-purd4 color scheme
- - - - - - -
   1      2      3      4   

-purd5 color scheme
- - - - - - - -
   1      2      3      4      5   

-purd6 color scheme
- - - - - - - - -
   1      2      3      4      5      6   

-purd7 color scheme
- - - - - - - - - -
   1      2      3      4      5      6      7   

-purd8 color scheme
- - - - - - - - - - -
   1      2      3      4      5      6      7      8   

-purd9 color scheme
- - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9   

-purples3 color scheme
- - - - - -
   1      2      3   

-purples4 color scheme
- - - - - - -
   1      2      3      4   

-purples5 color scheme
- - - - - - - -
   1      2      3      4      5   

-purples6 color scheme
- - - - - - - - -
   1      2      3      4      5      6   

-purples7 color scheme
- - - - - - - - - -
   1      2      3      4      5      6      7   

-purples8 color scheme
- - - - - - - - - - -
   1      2      3      4      5      6      7      8   

-purples9 color scheme
- - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9   

-rdbu10 color scheme
- - - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9      10   

-rdbu11 color scheme
- - - - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9      10      11   

-rdbu3 color scheme
- - - - - -
   1      2      3   

-rdbu4 color scheme
- - - - - - -
   1      2      3      4   

-rdbu5 color scheme
- - - - - - - -
   1      2      3      4      5   

-rdbu6 color scheme
- - - - - - - - -
   1      2      3      4      5      6   

-rdbu7 color scheme
- - - - - - - - - -
   1      2      3      4      5      6      7   

-rdbu8 color scheme
- - - - - - - - - - -
   1      2      3      4      5      6      7      8   

-rdbu9 color scheme
- - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9   

-rdgy10 color scheme
- - - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9      10   

-rdgy11 color scheme
- - - - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9      10      11   

-rdgy3 color scheme
- - - - - -
   1      2      3   

-rdgy4 color scheme
- - - - - - -
   1      2      3      4   

-rdgy5 color scheme
- - - - - - - -
   1      2      3      4      5   

-rdgy6 color scheme
- - - - - - - - -
   1      2      3      4      5      6   

-rdgy7 color scheme
- - - - - - - - - -
   1      2      3      4      5      6      7   

-rdgy8 color scheme
- - - - - - - - - - -
   1      2      3      4      5      6      7      8   

-rdgy9 color scheme
- - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9   

-rdpu3 color scheme
- - - - - -
   1      2      3   

-rdpu4 color scheme
- - - - - - -
   1      2      3      4   

-rdpu5 color scheme
- - - - - - - -
   1      2      3      4      5   

-rdpu6 color scheme
- - - - - - - - -
   1      2      3      4      5      6   

-rdpu7 color scheme
- - - - - - - - - -
   1      2      3      4      5      6      7   

-rdpu8 color scheme
- - - - - - - - - - -
   1      2      3      4      5      6      7      8   

-rdpu9 color scheme
- - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9   

-rdylbu10 color scheme
- - - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9      10   

-rdylbu11 color scheme
- - - - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9      10      11   

-rdylbu3 color scheme
- - - - - -
   1      2      3   

-rdylbu4 color scheme
- - - - - - -
   1      2      3      4   

-rdylbu5 color scheme
- - - - - - - -
   1      2      3      4      5   

-rdylbu6 color scheme
- - - - - - - - -
   1      2      3      4      5      6   

-rdylbu7 color scheme
- - - - - - - - - -
   1      2      3      4      5      6      7   

-rdylbu8 color scheme
- - - - - - - - - - -
   1      2      3      4      5      6      7      8   

-rdylbu9 color scheme
- - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9   

-rdylgn10 color scheme
- - - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9      10   

-rdylgn11 color scheme
- - - - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9      10      11   

-rdylgn3 color scheme
- - - - - -
   1      2      3   

-rdylgn4 color scheme
- - - - - - -
   1      2      3      4   

-rdylgn5 color scheme
- - - - - - - -
   1      2      3      4      5   

-rdylgn6 color scheme
- - - - - - - - -
   1      2      3      4      5      6   

-rdylgn7 color scheme
- - - - - - - - - -
   1      2      3      4      5      6      7   

-rdylgn8 color scheme
- - - - - - - - - - -
   1      2      3      4      5      6      7      8   

-rdylgn9 color scheme
- - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9   

-reds3 color scheme
- - - - - -
   1      2      3   

-reds4 color scheme
- - - - - - -
   1      2      3      4   

-reds5 color scheme
- - - - - - - -
   1      2      3      4      5   

-reds6 color scheme
- - - - - - - - -
   1      2      3      4      5      6   

-reds7 color scheme
- - - - - - - - - -
   1      2      3      4      5      6      7   

-reds8 color scheme
- - - - - - - - - - -
   1      2      3      4      5      6      7      8   

-reds9 color scheme
- - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9   

-set13 color scheme
- - - - - -
   1      2      3   

-set14 color scheme
- - - - - - -
   1      2      3      4   

-set15 color scheme
- - - - - - - -
   1      2      3      4      5   

-set16 color scheme
- - - - - - - - -
   1      2      3      4      5      6   

-set17 color scheme
- - - - - - - - - -
   1      2      3      4      5      6      7   

-set18 color scheme
- - - - - - - - - - -
   1      2      3      4      5      6      7      8   

-set19 color scheme
- - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9   

-set23 color scheme
- - - - - -
   1      2      3   

-set24 color scheme
- - - - - - -
   1      2      3      4   

-set25 color scheme
- - - - - - - -
   1      2      3      4      5   

-set26 color scheme
- - - - - - - - -
   1      2      3      4      5      6   

-set27 color scheme
- - - - - - - - - -
   1      2      3      4      5      6      7   

-set28 color scheme
- - - - - - - - - - -
   1      2      3      4      5      6      7      8   

-set310 color scheme
- - - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9      10   

-set311 color scheme
- - - - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9      10      11   

-set312 color scheme
- - - - - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9      10      11      12   

-set33 color scheme
- - - - - -
   1      2      3   

-set34 color scheme
- - - - - - -
   1      2      3      4   

-set35 color scheme
- - - - - - - -
   1      2      3      4      5   

-set36 color scheme
- - - - - - - - -
   1      2      3      4      5      6   

-set37 color scheme
- - - - - - - - - -
   1      2      3      4      5      6      7   

-set38 color scheme
- - - - - - - - - - -
   1      2      3      4      5      6      7      8   

-set39 color scheme
- - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9   

-spectral10 color scheme
- - - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9      10   

-spectral11 color scheme
- - - - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9      10      11   

-spectral3 color scheme
- - - - - -
   1      2      3   

-spectral4 color scheme
- - - - - - -
   1      2      3      4   

-spectral5 color scheme
- - - - - - - -
   1      2      3      4      5   

-spectral6 color scheme
- - - - - - - - -
   1      2      3      4      5      6   

-spectral7 color scheme
- - - - - - - - - -
   1      2      3      4      5      6      7   

-spectral8 color scheme
- - - - - - - - - - -
   1      2      3      4      5      6      7      8   

-spectral9 color scheme
- - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9   

-ylgn3 color scheme
- - - - - -
   1      2      3   

-ylgn4 color scheme
- - - - - - -
   1      2      3      4   

-ylgn5 color scheme
- - - - - - - -
   1      2      3      4      5   

-ylgn6 color scheme
- - - - - - - - -
   1      2      3      4      5      6   

-ylgn7 color scheme
- - - - - - - - - -
   1      2      3      4      5      6      7   

-ylgn8 color scheme
- - - - - - - - - - -
   1      2      3      4      5      6      7      8   

-ylgn9 color scheme
- - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9   

-ylgnbu3 color scheme
- - - - - -
   1      2      3   

-ylgnbu4 color scheme
- - - - - - -
   1      2      3      4   

-ylgnbu5 color scheme
- - - - - - - -
   1      2      3      4      5   

-ylgnbu6 color scheme
- - - - - - - - -
   1      2      3      4      5      6   

-ylgnbu7 color scheme
- - - - - - - - - -
   1      2      3      4      5      6      7   

-ylgnbu8 color scheme
- - - - - - - - - - -
   1      2      3      4      5      6      7      8   

-ylgnbu9 color scheme
- - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9   

-ylorbr3 color scheme
- - - - - -
   1      2      3   

-ylorbr4 color scheme
- - - - - - -
   1      2      3      4   

-ylorbr5 color scheme
- - - - - - - -
   1      2      3      4      5   

-ylorbr6 color scheme
- - - - - - - - -
   1      2      3      4      5      6   

-ylorbr7 color scheme
- - - - - - - - - -
   1      2      3      4      5      6      7   

-ylorbr8 color scheme
- - - - - - - - - - -
   1      2      3      4      5      6      7      8   

-ylorbr9 color scheme
- - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9   

-ylorrd3 color scheme
- - - - - -
   1      2      3   

-ylorrd4 color scheme
- - - - - - -
   1      2      3      4   

-ylorrd5 color scheme
- - - - - - - -
   1      2      3      4      5   

-ylorrd6 color scheme
- - - - - - - - -
   1      2      3      4      5      6   

-ylorrd7 color scheme
- - - - - - - - - -
   1      2      3      4      5      6      7   

-ylorrd8 color scheme
- - - - - - - - - - -
   1      2      3      4      5      6      7      8   

-ylorrd9 color scheme
- - - - - - - - - - - -
   1      2      3      4      5      6      7      8      9   

-
-Apache-Style Software License for ColorBrewer software and ColorBrewer -Color Schemes, Version 1.1 -

-Copyright (c) 2002 Cynthia Brewer, Mark Harrower, and The Pennsylvania -State University. All rights reserved. -

-Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: -

    -
  1. Redistributions as source code must retain the above copyright notice, -this list of conditions and the following disclaimer. -
  2. The end-user documentation included with the redistribution, if any, -must include the following acknowledgment: -

    -This product includes color specifications and designs developed -by Cynthia Brewer (http://colorbrewer.org/). -

    -Alternately, this acknowledgment may appear in the software itself, if and -wherever such third-party acknowledgments normally appear. -

  3. The name "ColorBrewer" must not be used to endorse or promote products -derived from this software without prior written permission. For written -permission, please contact Cynthia Brewer at cbrewer@psu.edu. -
  4. Products derived from this software may not be called "ColorBrewer", nor -may "ColorBrewer" appear in their name, without prior written permission -of Cynthia Brewer. -
-THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, -INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND -FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL CYNTHIA -BREWER, MARK HARROWER, OR THE PENNSYLVANIA STATE UNIVERSITY BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - + +Moved to https://graphviz.org/doc/info/colors.html. Redirecting... diff --git a/doc/info/command.html b/doc/info/command.html index 7a5d613d5..2dbb6b815 100644 --- a/doc/info/command.html +++ b/doc/info/command.html @@ -1,177 +1,2 @@ - - - -Command-line Usage - - - -

Command-line Invocation

-
-All Graphviz programs have a similar invocation:
-
-cmd [ flags ] [ input files ] -
-If no input files are supplied, the program reads from stdin. -

Flags

-
-
-Gname[=value] -
Set a graph attribute, with default value = true. -
-Nname[=value] -
Set a default node attribute, with default value = true. -
-Ename[=value] -
Set a default edge attribute, with default value = true. -
-Klayout -
Specifies which default layout algorithm to use, overriding the default from the command name. For example, running -dot -Kneato is equivalent to running neato. -
-Tformat[:renderer[:formatter]] -
Set output language to one of the supported formats. -By default, attributed dot is produced. -

-Depending on how Graphviz was built, there may be multiple renderers for -generating a particular output format, and multiple formatters for -creating the final output. For example, a typical installation -can produce PNG -output using either the Cairo or GD library. The desired rendering engine -can be specified after a colon. If there are multiple formatting engines -available, the desired one can be specified in a similar fashion after -the rendering engine. Thus, -Tpng:cairo specifies PNG -output produced by Cairo (using the Cairo's default formatter), and --Tpng:cairo:gd specifies PNG -output produced by Cairo formatted using the GD library. -

-If no renderer is specified, or a renderer but no formatter, the default one -is invoked. The flag -Tformat: produces a list of all -of the renderers available for the specified format, the first one -listed with a prefix matching format being the default. -Using the -v flag, described below, will print which format, -renderer, and formatter are actually used. -

-V -
Emit version information and exit. -
-llibrary -
User-supplied, device-dependent library text. Multiple flags may -be given. These strings are passed to the code generator at the -beginning of output. -

For PostScript output, they are treated as file names -whose content will be included in the preamble after the standard preamble. -If library is the empty string "", the standard preamble -is not emitted. -

-n[num] -
Sets no-op flag in neato. -If set, neato assumes nodes have already been -positioned and all nodes have a pos -attribute giving -the positions. It then performs an optional adjustment to remove node-node -overlap, depending on the value of the -overlap attribute, computes the edge -layouts, depending on the value of the -splines attribute, and -emits the graph in the appropriate format. If num is supplied, -the following actions occur: -
-
num = 1 -
Equivalent to -n. -
num > 1 -
Use node positions as specified, with no adjustment to -remove node-node overlaps, and use any edge layouts already specified -by the pos attribute. neato -computes an edge layout for any edge that does not have a pos attribute. -As usual, edge layout is guided by the -splines attribute. -
-
-ooutfile -
Write output to file outfile. By default, output goes to -stdout. -
-O -
Automatically generate output file names based on the input -file name and the various output formats specified by the -T -flags. -
-P -
Automatically generate a graph that shows the plugin configuration of -the current executable. e.g. dot -P -Tps | lpr -
-q -
Suppress warning messages. -
-s[scale] -
Set input scale to scale. If this value is omitted, -72.0 is used. This number is used to convert the point coordinate -units used in the pos attribute -into inches, which is what is expected by neato and fdp. -Thus, feeding the output of a graph laid out by one program into -neato or fdp almost always requires this flag. -Ignored if the -n flag is used. -
-v -
Verbose mode -
-x -
In neato, on input, prune isolated nodes and peninsulas. -This removes uninteresting graph structure and produces a less cluttered -drawing. -
-y -
By default, the coordinate system used in generic output formats, -such as attributed dot, -extended dot, -plain and -plain-ext, -is the standard cartesian system with the origin in the lower left corner, -and with increasing y coordinates as points move from bottom to top. -If the -y flag is used, the coordinate system is inverted, -so that increasing values of y correspond to movement from top to bottom. -
-? -
Print usage information, then exit. -
-If multiple -T flags are given, drawings of the graph -are emitted in each of the specified formats. Multiple -o -flags can be used to specify the output file for each format. If there -are more formats than files, the remaining formats are written to -stdout. -

-Note that the -G, --N and --E flags override any initial attribute declarations -in the input graph, -i.e., those attribute statements appearing before any node, edge or -subgraph definitions. -In addition, these flags cause the related attributes to be permanently -attached to the graph. Thus, if attributed dot is used for -output, the graph will have these attributes. -

Environment Variables

-
-
GDFONTPATH -
-List of pathnames giving directories which a program should search for fonts. -Overridden by DOTFONTPATH. -Used only if Graphviz is not built with the fontconfig library -
DOTFONTPATH -
-List of pathnames giving directories which a program should search for fonts. -Overridden by fontpath. -Used only if Graphviz is not built with the fontconfig library -
SERVER_NAME -
-If defined, this indicates that the software is running as a web application, -which restricts access to image files. See -GV_FILE_PATH. -
GV_FILE_PATH -
-If SERVER_NAME is defined, image files are -restricted to exist in one of the directories specified by GV_FILE_PATH. -This last is a list of directory pathnames, separated by semicolons in Windows or -by colons otherwise. -Note that sometimes, when using one of the layout programs in a web -script, it is not enough to use an export command but rather the -variables should be set when the command is run, for example,
- -SERVER_NAME=xxx GV_FILE_PATH="images:etc/images:/usr/share/images" dot -Tpng -o x.png x.gv - -

-Note that the image files must really reside in one of the specified directories. If the -image file is specified as an absolute or relative pathname, a warning is given and only -the base name is used. -

GVBINDIR -
-Indicates which directory contains the Graphviz config file and -plug-in libraries. If it is defined, the value overrides any other -mechanism for finding this directory. If Graphviz is properly installed, -it should not be needed, though it can be useful for relocation on -platforms not running Linux or Windows. -
- - + +Moved to https://graphviz.org/doc/info/command.html. Redirecting... diff --git a/doc/info/index.html b/doc/info/index.html index 338c23004..a6720d27d 100644 --- a/doc/info/index.html +++ b/doc/info/index.html @@ -1,17 +1,2 @@ - - - -GraphViz Reference - - - -

GraphViz Reference

-
-The DOT Language
-Command-line Usage
-Output Formats
-Graph Attributes
-Node Shapes
-Colors
- - + +Moved to https://graphviz.org/doc/info/index.html. Redirecting... diff --git a/doc/info/lang.html b/doc/info/lang.html index 518705575..b2fd73f11 100644 --- a/doc/info/lang.html +++ b/doc/info/lang.html @@ -1,296 +1,2 @@ - - - - -The DOT Language - - - -

The DOT Language

-
-The following is an abstract grammar defining the DOT language. -Terminals are shown in bold font and nonterminals in italics. -Literal characters are given in single quotes. -Parentheses ( and ) indicate grouping when needed. -Square brackets [ and ] enclose optional items. -Vertical bars | separate alternatives. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
graph:[ strict ] (graph | digraph) [ ID ] '{' stmt_list '}'
stmt_list:[ stmt [ ';' ] stmt_list ]
stmt:node_stmt
|edge_stmt
|attr_stmt
|ID '=' ID
|subgraph
attr_stmt:(graph | node | edge) attr_list
attr_list:'[' [ a_list ] ']' [ attr_list ]
a_list:ID '=' ID [ (';' | ',') ] [ a_list ]
edge_stmt:(node_id | subgraph) edgeRHS [ attr_list ]
edgeRHS:edgeop (node_id | subgraph) [ edgeRHS ]
node_stmt:node_id [ attr_list ]
node_id:ID [ port ]
port:':' ID [ ':' compass_pt ]
|':' compass_pt
subgraph:[ subgraph [ ID ] ] '{' stmt_list '}'
compass_pt:(n | ne | e | se | s | sw | w | nw | c | _)
-

-The keywords node, edge, graph, digraph, -subgraph, and strict are case-independent. -Note also that the allowed compass point values are not keywords, so -these strings can be used elsewhere as ordinary identifiers and, conversely, -the parser will actually accept any identifier. -

-An ID is one of the following: -

-
  • Any string of alphabetic ([a-zA-Z\200-\377]) characters, underscores ('_') or -digits ([0-9]), not beginning with a digit; -
  • a numeral [-]?(.[0-9]+ | [0-9]+(.[0-9]*)? ); -
  • any double-quoted string ("...") possibly containing escaped -quotes (\")1; -
  • an HTML string (<...>). -
  • -An ID is just a string; the lack of quote characters in the first two -forms is just for simplicity. There is no semantic difference between -abc_2 and "abc_2", or between 2.34 and -"2.34". Obviously, to use a keyword as an ID, it must be quoted. -Note that, in HTML strings, angle -brackets must occur in matched pairs, and newlines and other formatting whitespace -characters are allowed. -In addition, the content must be legal XML, so that the special XML -escape sequences for ", &, <, and > may be necessary -in order to embed these characters in attribute values or raw text. -As an ID, an HTML string can be any legal XML string. However, if used -as a label attribute, it is interpreted specially and must follow the syntax -for HTML-like labels. -

    -Both quoted strings and HTML strings are scanned as a unit, so -any embedded comments will be treated as part of the strings. -

    -An edgeop is -> in directed graphs and -- in -undirected graphs. -

    -The language supports C++-style comments: /* */ and //. -In addition, a line beginning with a '#' character is considered a line -output from a C preprocessor (e.g., # 34 to indicate line 34 ) and discarded. -

    -Semicolons and commas aid readability but are not required. -Also, any amount of whitespace may be inserted between terminals. -

    -As another aid for readability, dot allows double-quoted strings to -span multiple physical lines using the standard C convention of a -backslash immediately preceding a newline character2. In addition, -double-quoted strings can be concatenated using a '+' operator. -As HTML strings can contain newline characters, which are used solely for -formatting, the language does not allow escaped newlines or -concatenation operators to be used within them. -

    Subgraphs and Clusters

    -Subgraphs play three roles in Graphviz. First, a subgraph can be used to -represent graph structure, indicating that certain nodes and edges should -be grouped together. This is the usual role for subgraphs -and typically specifies semantic information about the graph components. -It can also provide a convenient shorthand for edges. An edge statement allows -a subgraph on both the left and right sides of the edge operator. -When this occurs, an edge is created from every node on the left to every node -on the right. For example, the specification -
    -  A -> {B C}
    -
    -is equivalent to -
    -  A -> B
    -  A -> C
    -
    -

    -In the second role, a subgraph can provide a context for setting attributes. -For example, a subgraph could specify that blue -is the default color for all nodes defined in it. -In the context of -graph drawing, a more interesting example is: -

    -subgraph { 
    -rank = same; A; B; C; 
    -} 
    -
    -This (anonymous) subgraph specifies that the nodes A, B and C -should all be placed on the same rank if drawn using dot. -

    -The third role for subgraphs directly involves how the graph -will be laid out by certain layout engines. If the name of -the subgraph begins with cluster, Graphviz notes the subgraph as -a special cluster subgraph. If supported, the layout engine will -do the layout so that the nodes belonging to the cluster are drawn together, -with the entire drawing of the cluster contained within a bounding rectangle. -Note that, for good and bad, cluster subgraphs are not part of the -DOT language, but solely a syntactic convention adhered to by -certain of the layout engines. -

    Lexical and Semantic Notes

    -A graph must be specified as either a digraph or a graph. -Semantically, this indicates whether or not there is a natural direction from -one of the edge's nodes to the other. -Lexically, a digraph must specify an edge using the edge operator -> -while a undirected graph must use --. -Operationally, the distinction is used to define different default rendering -attributes. For example, edges in a digraph will be drawn, by default, with -an arrowhead pointing to the head node. For ordinary graphs, edges are drawn -without any arrowheads by default. -

    -A graph may also be described as strict. -This forbids the creation of multi-edges, i.e., there can be at most one -edge with a given tail node and head node in the directed case. For undirected -graphs, there can be at most one -edge connected to the same two nodes. Subsequent edge statements using -the same two nodes will identify the edge with the previously defined one -and apply any attributes given in the edge statement. -For example, the graph -

    -strict graph { 
    -  a -- b
    -  a -- b
    -  b -- a [color=blue]
    -} 
    -
    -will have a single edge connecting nodes a and b, -whose color is blue. -

    -If a default attribute is -defined using a node, edge, or graph statement, -or by an attribute assignment not attached to a node or edge, any object of the -appropriate type defined afterwards will inherit this attribute value. -This holds until the default attribute is set to a new value, from which -point the new value is used. Objects defined before a default attribute -is set will have an empty string value attached to the attribute once -the default attribute definition is made. -

    -Note, in particular, that a subgraph receives the attribute settings of -its parent graph at the time of its definition. This can be useful; for -example, one can assign a font to the root graph and all subgraphs will -also use the font. For some attributes, however, this property is -undesirable. If one attaches a label to the root graph, it is probably -not the desired effect to have the label used by all subgraphs. Rather -than listing the graph attribute at the top of the graph, and the -resetting the attribute as needed in the subgraphs, one can simply defer -the attribute definition in the graph until the appropriate subgraphs -have been defined. -

    -If an edge belongs to a cluster, its endpoints belong to that cluster. -Thus, where you put an edge can effect a layout, as clusters are sometimes -laid out recursively. -

    -There are certain restrictions on subgraphs and clusters. First, at -present, the names of a graph and it subgraphs share the same namespace. -Thus, each subgraph must have a unique name. Second, although nodes -can belong to any number of subgraphs, it is assumed clusters form -a strict hierarchy when viewed as subsets of nodes and edges. -

    Character encodings

    -The DOT language assumes at least the ascii character set. -Quoted strings, both ordinary and HTML-like, may contain non-ascii characters. -In most cases, these strings are uninterpreted: they simply serve as -unique identifiers or values passed through untouched. Labels, however, -are meant to be displayed, which requires that the software be able to -compute the size of the text and determine the appropriate glyphs. -For this, it needs to know what character encoding is used. -

    -By default, DOT assumes the UTF-8 character encoding. It also accepts -the Latin1 (ISO-8859-1) character set, assuming the input graph uses -the charset attribute to -specify this. For graphs using other -character sets, there are usually programs, such as iconv, which -will translate from one character set to another. -

    -Another way to avoid non-ascii characters in labels is to use HTML entities -for special characters. During label evaluation, these entities are -translated into the underlying character. This - -table shows the supported entities, with their Unicode value, a typical -glyph, and the HTML entity name. Thus, to include a lower-case Greek beta -into a string, one can use the ascii sequence &beta;. -In general, one should only use entities that are allowed in the output -character set, and for which there is a glyph in the font. -


    -
      -
    1. In quoted strings in DOT, the only escaped character is double-quote -("). That is, in quoted strings, the dyad \" is converted to "; all other -characters are left unchanged. In particular, \\ remains \\. Layout -engines may apply additional escape sequences. -
    2. Previous to 2.30, the language allowed escaped newlines to be used anywhere outside -of HTML strings. The new lex-based scanner makes this difficult to implement. Given the -perceived lack of usefulness of this generality, we have restricted this feature to -double-quoted strings, where it can actually be helpful. -
    - - + +Moved to https://graphviz.org/doc/info/lang.html. Redirecting... diff --git a/doc/info/output.html b/doc/info/output.html index 47b46fd3a..2a1d98046 100644 --- a/doc/info/output.html +++ b/doc/info/output.html @@ -1,708 +1,2 @@ - - - - -Output Formats - - - - - -

    Output Formats

    -
    -The output format is specified with the -Tlang -flag on the command line, where lang -is one of the parameters listed below. -

    -The formats actually available in a given Graphviz system depend on -how the system was built and the presence of additional libraries. -To see what formats dot supports, run dot -T?. -See the description of the -T -flag for additional information. -

    -Note that the internal coordinate system has the origin -in the lower left corner. -Thus, positions in the -canon, -dot, -xdot, -plain, and -plain-ext -formats need to be interpreted in this manner. -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Command-line
    parameter
    Format
    bmp -Windows Bitmap Format
    canon -
    dot -
    gv -
    xdot -
    xdot1.2 -
    xdot1.4 -
    DOT
    cgimage -CGImage bitmap format
    cmap -Client-side imagemap (deprecated)
    eps -Encapsulated PostScript
    exr -OpenEXR
    fig -FIG
    gd -
    gd2 -
    GD/GD2 formats
    gif -GIF
    gtk -GTK canvas
    ico -Icon Image File Format
    imap -
    cmapx -
    Server-side and client-side imagemaps
    imap_np -
    cmapx_np -
    Server-side and client-side imagemaps
    ismap -Server-side imagemap (deprecated)
    jp2 -JPEG 2000
    jpg -
    jpeg -
    jpe -
    JPEG
    json -
    json0 -
    dot_json -
    xdot_json -
    Dot graph represented in JSON format
    pct -
    pict -
    PICT
    pdf -Portable Document Format (PDF)
    pic -Kernighan's PIC graphics language
    plain -
    plain-ext -
    Simple text format
    png -Portable Network Graphics format
    pov -POV-Ray markup language (prototype)
    ps -PostScript
    ps2 -PostScript for PDF
    psd -PSD
    sgi -SGI
    svg -
    svgz -
    Scalable Vector Graphics
    tga -Truevision TGA
    tif -
    tiff -
    TIFF (Tag Image File Format)
    tk -TK graphics
    vml -
    vmlz -
    Vector Markup Language (VML)
    vrml -VRML
    wbmp -Wireless BitMap format
    webp -Image format for the Web
    xlib -
    x11 -
    Xlib canvas
    -


    -

    Format Descriptions

    -
    -
    bmp -
    Outputs images in the Windows BMP format. - -
    canon -,
    dot -,
    gv -,
    xdot -,
    xdot1.2 -,
    xdot1.4 -
    These formats produce output in the -dot language. -Using canon produces a prettyprinted version of the input, -with no layout performed. -

    -The dot option corresponds to attributed dot output, -and is the default output format. -It reproduces the input, along with layout information for the graph. -In particular, a bb attribute is -attached to the graph, specifying the bounding box of the drawing. -If the graph has a label, its position is specified by the -lp attribute. -

    -Each node gets pos, -width and -height attributes. If the node is a record, -the record rectangles are given in the -rects attribute. -If the node is a polygon and the -vertices attribute is defined, this -attribute contains the vertices of the node. -

    -Every edge is -assigned a pos attribute, -and if the edge has a label, the label position -is given in lp. -

    -The xdot format extends the -dot format by providing much more detailed information about -how graph components are drawn. It relies on additional attributes -for nodes, edges and graphs. -

    -The format is fluid; comments and -suggestions for better representations are welcome. -To allow for changes in the format, Graphviz attaches the attribute -xdotversion to the graph. -If the xdotversion attribute is set in the input graph, the renderer -will only output features supported by that version. Note that the formats xdot1.2 -and xdot1.4 are equivalent to setting xdotversion=1.2 and xdotversion=1.4, -respectively. -

    -Additional drawing attributes can appear on nodes, edges, clusters and -on the graph itself. There are six new attributes: - -
    _draw_General drawing without labels -
    _ldraw_Label drawing -
    _hdraw_Head arrowheadEdge only -
    _tdraw_Tail arrowheadEdge only -
    _hldraw_Head labelEdge only -
    _tldraw_Tail labelEdge only -
    -

    -For a given graph object, one will typically a draw directive before the -label directive. For example, for a node, one would first use the commands -in _draw_ followed by the commands in _ldraw_. -

    -The value of these attributes consists of the concatenation of some -(multi-)set of the following 13 rendering or attribute operations. -(The number is parentheses gives the xdot version when the operation -was added to the format. If no version number is given, the operation -was in the original specification.) - -
    E x0 y0 w h -Filled ellipse ((x-x0)/w)2 + ((y-y0)/h)2 = 1 -
    e x0 y0 w h -Unfilled ellipse ((x-x0)/w)2 + ((y-y0)/h)2 = 1 -
    P n x1 y1 ... xn yn -Filled polygon using the given n points -
    p n x1 y1 ... xn yn -Unfilled polygon using the given n points -
    L n x1 y1 ... xn yn -Polyline using the given n points -
    B n x1 y1 ... xn yn -B-spline using the given n control points -
    b n x1 y1 ... xn yn -Filled B-spline using the given n control points (1.1) -
    T x y j w n -b1b2...bn -Text drawn using the baseline point (x,y). The text consists of the -n bytes following '-'. The text should be left-aligned (centered, -right-aligned) on the point if j is -1 (0, 1), respectively. The value -w gives the width of the text as computed by the library. -
    t f -Set font characteristics. The integer f is the OR of BOLD=1, ITALIC=2, UNDERLINE=4, SUPERSCRIPT=8, SUBSCRIPT=16, (1.5) STRIKE-THROUGH=32 (1.6), -and OVERLINE=64 (1.7). -
    C n -b1b2...bn -Set fill color. The color value consists of the -n bytes following '-'. (1.1) -
    c n -b1b2...bn -Set pen color. The color value consists of the -n bytes following '-'. (1.1) -
    F s n -b1b2...bn -Set font. The font size is s points. The font name consists of the -n bytes following '-'. (1.1) -
    S n -b1b2...bn -Set style attribute. The style value consists of the -n bytes following '-'. The syntax of the value is the same as -specified for a styleItem in style. (1.1) -
    I x y w h n -b1b2...bn -Externally-specified image drawn in the box with lower left -corner (x,y) and upper right corner (x+w,y+h). The name of the image -consists of the n bytes following '-'. This is usually a bitmap -image. Note that the image size, even when converted from pixels to -points, might be different from the required size (w,h). It is -assumed the renderer will perform the necessary scaling. (1.2) -
    -

    -Note that the filled figures (ellipses, polygons and B-Splines) -imply two operations: first, drawing the filled figure with the -current fill color; second, drawing an unfilled figure with the -current pen color, pen width and pen style. -

    -Within the context of a single drawing attribute, e.g., _draw_, there is -an implicit state for the graphical attributes. That is, once a color, style, font, or -font characteristic is set, it remains valid for all relevant drawing operations -until the value is reset by another xdot cmd. -

    -Style values which can be incorporated in the graphics model do not -appear in xdot output. In particular, the style values -filled, rounded, diagonals, and invis -will not appear. Indeed, if style contains invis, -there will not be any xdot output at all. -

    -With version 1.4 of xdot, color strings may now encode linear and radial gradients. Linear -gradients have the form
    -    '[' x0 y0 x1 y1 n [color-stop]+ ']'
    -where (x0,y0) and (x1,y1) define the starting and -ending points of the gradient line segment, and n gives the number of color-stops. Each -color-stop has the form
    -    v m -b1b2...bm
    -where v is a number in the range [0,1] defining a position on the gradient line segment, with -color specified by the m byte string b1b2...bm, -the same format as used for colors in the 'c' and 'C' operations. -

    -Radial gradients have the form
    -    '(' x0 y0 r0 x1 y1 r1 n [color-stop]+ ')'
    -where xj yj rj, for j=0,1, specify -the center and radius of the start and ending circle, and n gives the number of color-stops. -A color-stop has the same format as defined for linear gradients, again given the fractional -offset and its associated color. -

    -In handling text alignment, the application may want to recompute the -string width using its own rendering primitives. -

    -The text operation is only used in the label attributes. Normally, -the non-text operations are only used in the non-label attributes. -If, however, the decorate -attribute is set on an edge, its label -attribute will also contain a polyline operation. -In addition, if a label is a complex, HTML-like label, it will also -contain non-text operations. -

    -All coordinates and sizes are in points. -Note though that if -an edge or node is invisible, no drawing operations are attached to it. -

    -Version info: - - - - - - - - - - -
    Xdot versionGraphviz versionModification
    1.0 1.9
    1.1 2.8First plug-in version
    1.22.13Support image operator I
    1.32.31Add numerical precision
    1.42.32Add gradient colors
    1.52.34Fix text layout problem; fix inverted vector in gradient; support version-specific output; new t op for text characteristics
    1.62.35Add STRIKE-THROUGH bit for t
    1.72.37Add OVERLINE for t
    - -

    cgimage -
    Output using the CGImage format. - -
    cmap -
    Produces map files for client-side image maps. The cmap format is -mostly identical to cmapx, but the latter is well-formed XML amenable -to processing by XML tools. In particular, the cmapx output is wrapped in -<map></map>. -

    -See Note. - -

    eps -
    Produces Encapsulated PostScript output. -At present, this is only guaranteed to be correct for a single -input graph since the Bounding Box information has to appear -at the beginning of the output, and this will be based on the first graph. - -
    exr -
    Output in the OpenEXR format - -
    fig -
    Outputs graphs in the FIG graphics language. - -
    gd -,
    gd2 -
    Output images in the GD and GD2 format. These are the internal -formats used by the gd library. The latter is compressed. - -
    gif -
    Outputs GIF bitmap images. - -
    gtk -
    Creates a GTK window and displays the output there. - -
    ico -
    Outputs images in the Windows ICO format. - -
    imap -,
    cmapx -
    Produces map files for server-side and client-side image maps. -These can be used in a web page with -a graphical form of the output, e.g. in JPEG, GIF or PNG format, to attach -links to nodes and edges. -Graphviz generates an object's map information only if the object has a non-trival -URL or href -attribute, or if it has an explicit tooltip attribute. -

    -For example, to create a server-side map -given the dot file -

    -/* x.gv */
    -digraph mainmap {
    -  URL="http://www.research.att.com/base.html";
    -  command [URL="http://www.research.att.com/command.html"];
    -  command -> output [URL="colors.html"];
    -}
    -
    -one would process the graph and generate two output files: -
    -dot -Timap -ox.map -Tgif -ox.gif x.gv
    -
    -and then refer to it in a web page: -
    -<A HREF="x.map"><IMG SRC="x.gif" ismap="ismap" /></A>
    -
    -For client-side maps, one again generates two output files: -
    -dot -Tcmapx -ox.map -Tgif -ox.gif x.gv
    -
    -and uses the HTML -
    -<IMG SRC="x.gif" USEMAP="#mainmap" />
    -... [content of x.map] ...
    -
    -Note that the name given in the USEMAP attribute must be the same -as the ID attribute of the MAP element. The Graphviz renderer -uses the name of the graph as the ID. Thus, in the example above, -where the graph's name is mainmap, we have USEMAP="#mainmap" -in the IMG attribute, and x.map will look like -
    -<map id="mainmap" name="mainmap">
    -... 
    -</map>
    -
    -

    -URLs can be attached to the root -graph, nodes and edges. If a node has a URL, clicking in the node -will activate the link. -If an edge has a URL, various -points along the edge (but not necessarily the head or tail) -will link to it. In addition, if the edge has a -label, that will link -to the URL. -As for the head of the edge, this is linked to the -headURL, if set. -Otherwise, it is linked to the edge's URL if that is defined. -The analogous description holds for the tail and the -tailURL. -A URL associated with the graph is used as a default link. -

    -If the URL -of a node contains the escape sequence "\N", it will be replaced by -the node's name. -If the headURL is defined and contains the escape sequence "\N", -it will be replaced by -the headlabel, if defined. -The analogous result holds for the tailURL and the -taillabel. -

    -See Note. - -

    imap_np -,
    cmapx_np -
    These are identical to the imap and cmapx formats, except they -rely solely on rectangles as active areas. - -
    ismap -
    Produces HTML image map files. This is a predecessor (circa 1994) -of the IMAP format. Most servers now use the latter. -URLs can be attached to the root graph, -nodes and edges. Since edge -links are attached to edge labels, an edge must -have a label for its -URL to be used. For both nodes and edges, if the URL has the escape -sequence "\N" embedded in its string, this will be replaced with the -node or edge name. - -
    jp2 -
    Output using the JPEG 2000 format. - -
    jpg -,
    jpeg -,
    jpe -
    Output JPEG compressed image files. - -
    json -,
    json0 -,
    dot_json -,
    xdot_json -
    These formats produce a JSON output encoding the DOT language. -Using json0 produces output in JSON format that contains the -same information produced by -Tdot. -Using json produces output in JSON format that contains the -same information produced by -Txdot. -Both of these assume the graph has been processed by one of the layout -algorithms. -The dot_json and xdot_json also produce JSON output similar to -to json0 and json, respectively, except they only use the -content of the graph on input. In particular, they do not assume that the -graph has been processed by any layout algorithm, and the only xdot information -appearing in the output was in the original input file. -

    -The output produced by these follows the json schema shown below. -Note that the objects array has all of the subgraphs first, -followed by all of the nodes. The _gvid value is the index of -the subgraph or node in the objects array. This also holds -true for the edges in the objects array. Note that this format -allows clustered graphs, where edges can connect clusters as well as nodes. -

    - - - -
    pct -,
    pict -
    Output in the Apple PICT file format. - -
    pdf -
    Produces PDF output. -(This option assumes Graphviz includes the Cairo renderer.) -Alternatively, one can use the ps2 option to -produce PDF-compatible PostScript, and then use a ps-to-pdf converter. - -
    pic -
    Output is given in the text-based PIC language developed for troff. -See Pic language. - -
    plain -,
    plain-ext -
    The plain and plain-ext formats produce output using -a simple, line-based language. -The latter format differs in that, on edges, it provides port names -on head and tail nodes when applicable. -

    -There are four types of statements. -

    - graph scale width height
    - node name x y width height label style shape color fillcolor
    - edge tail head n x1 y1 .. xn yn [label xl yl] style color
    - stop
    -
    -
    -
    graph -
    The width and height values give the width and height -of the drawing. The lower left corner of the drawing is at the origin. -The scale value indicates how the drawing should be scaled -if a size attribute was given and the drawing -needs to be scaled to conform to that size. If no scaling is necessary, -it will be set to 1.0. Note that all graph, node and edge -coordinates and lengths are given unscaled. -
    node -
    The name value is the name of the node, and x and y -give the node's position. The width and height are the -width and height of the node. -The label, -style, shape, color and fillcolor give the -node's label, -style, shape, -color and -fillcolor, -respectively, using attribute default values where necessary. If the -node does not have a style attribute, "solid" is used. -
    edge -
    The tail and head values give the names of the head and -tail nodes. In plain-ext format, the head or tail name will be appended -with a colon and a portname if the edge connects to the node at a port. -n is the number of control points defining the -B-spline forming the edge. This is followed by 2*n numbers giving -the x and y coordinates of the control points in order from tail to head. -If the edge has a label, this comes next -followed by the x and y coordinates of the label's position. -The edge description is completed by the edge's -style and color. -As with nodes, if a style is not defined, "solid" is used. -

    -Note: The control points given in an edge statement define the -body of the edge. In particular, if the edge has an arrowhead to the -head or tail node, -there will be a gap between the last or first control points and the -boundary of the associated node. There are at least 3 possible ways -of handling this gap: -

      -
    • Arrange that the input graph uses dir=none, -arrowhead=none, or arrowtail=none for all edges. -In this case, the terminating control points will always touch the node. -
    • Consider the line segment joining the control point and the center -of the node, and determine the point where the segment intersects the -node's boundary. Then use the control point and the intersection point -as the main axis of an arrowhead. The problem with this approach is -that, if the edge has a port, the edge will not be pointing to the -center of the node. In this case, rather than use the control point -and center point, one can use the control point and its tangent. -
    • Arrange that the input graph uses headclip=false or -tailclip=false. In this case, the edge will terminate at -the node's center rather than its boundary. If arrowheads are used, -there will still be a gap, but normally this will occur within the -node. The application will still need to clip the spline to the node -boundary. Also, as with the previous item, if the edge points to -a node port, this technique will fail. -
    -
    -The output consists of one graph line, a sequence of -node lines, one per node, a sequence of -edge lines, one per edge, and a final stop -line. All units are in inches, represented by a floating point number. -

    -Note that the plain formats provide minimal information, really giving not -much more than node positions and sizes, and edge spline control points. -These formats are usually most useful to applications wanting just this -geometric information, and willing to fill in all of the graphical details. -The only real advantages to these formats is their terseness and their -ease of parsing. In general, the dot and -xdot are preferable in terms of the quantity of -information provided. - -

    png -
    Produces output in the PNG (Portable Network Graphics) format. -

    -(25 November 2014) A standard Graphviz installation will render using both -the Cairo and GD library. -By mixing the rendering and formatting of these -libraries, one can achieve different variations in the output. -

    -
    -Tpng:gd (or -Tpng:gd:gd) -
    Indexed color, no antialiasing -
    -Tpng:cairo:gd -
    Indexed color, with antialiasing -
    -Tpng (or -Tpng:cairo) -
    True color, with antialiasing -
    -These options are listed in increasing order of image quality and output size. - -
    pov -
    Scene-description language for 3D modelling for the -Persistence of Vision Raytracer. - -
    ps -
    Produces PostScript output. -

    -Note: The default PostScript renderer can only handle the Latin-1 -character set. To get non-Latin-1 characters into PostScript output, -use -Tps:cairo, assuming your version was built with the -Cairo renderer. - -

    ps2 -
    Produces PostScript output with PDF notations. It is assumed the output -will be directly converted into PDF format. The notations include PDF -bounding box information, so that the resulting PDF file can be correctly -used with pdf tools, such as pdflatex. -In addition, if a node has a URL -attribute, this gets translated into PDF code such that the node, -when viewed in a PDF-viewer, e.g., -acroread, -is a link to the given URL. If a URL is attached to the graph, this serves -as a base, such that relative URLs on nodes are derived from it. - -
    psd -
    Output in the Adobe PhotoShop PSD file format. - -
    sgi -
    Output in the SGI image file format. - -
    svg -,
    svgz -
    Produce SVG output, -the latter in compressed format. -

    -See Note. - -

    tga -
    Output in the Truevision TGA or TARGA format. - -
    tif -,
    tiff -
    Produces TIFF output. - -
    tk -
    Output using the text-based TK graphics primitives. - -
    vml -,
    vmlz -
    Produces VML output, -the latter in compressed format. -

    -See Note. - -

    vrml -
    Outputs graphs in the VRML format. -To get a 3D embedding, nodes must have a z -attribute. These can either be supplied as part of the input graph, or -be generated by neato provided dim=3 -and at least one node has a z value. -

    -Line segments are drawn as cylinders. -In general, VRML output relies on having the PNG library to produce images -used to texture-fill the node shapes. However, if -shape=point, -a node is drawn as a 3D sphere. - -

    wbmp -
    Produces output in the Wireless BitMap (WBMP) format, optimized for -mobile computing. - -
    webp -
    Produces output in the image format for the Web (WEBP) format, optimized for -web devices such as tablets. -See Wikipedia's WebP -or Google's webp pages. - -
    xlib -,
    x11 -
    Creates an Xlib window and displays the output there. - -
    -
    -

    Image Formats

    -
    -The image and shapefile attributes specify an image file to be included -as part of the final diagram. Not all image formats can be read. In addition, -even if read, not all image formats can necessarily be used in a given -output format. -

    -The graph below shows what image formats can be used in which output formats, -and the required plugins. On the left are the supported image formats. -On the right are the supported output formats. -In the middle are the plugins: image loaders, renderers, drivers, arranged by -plugin library. -This presents the most general case. A given installation may not provide -one of the plugins, in which case, that transformation is not possible. -
    - -


    -

    Notes

    -
      -
    1. -In the formats: -Tcmap, -Tcmapx, -Tsvg, -Tvml, the output generates -'id="node#"' properties for nodes, 'id="edge#"' properties for edges, and 'id="cluster#"' properties for clusters, with the '#' replaced by an internally assigned integer. These strings can be provided instead by an externally provided "id=xxx" attribute on the object. -Normal "\N" "\E" "\G" substitutions are applied. -Externally provided id values are not used internally, and it is the use's reponsibilty to ensure -that they are sufficiently unique for their intended downstream use. -Note, in particular, that "\E" is not a unique id for multiedges. -
    - - + +Moved to https://graphviz.org/doc/info/output.html. Redirecting... diff --git a/doc/info/schema.html b/doc/info/schema.html deleted file mode 100644 index 251c44365..000000000 --- a/doc/info/schema.html +++ /dev/null @@ -1 +0,0 @@ -
    descriptionJSON representation of a graph encoding xdot attributes
    titleGraphviz JSON
    required
    • name
    • directed
    • strict
    • _subgraph_cnt
    definitions
    drawops
    items
    oneOf
    $ref
    #/definitions/ellipse
    #/definitions/polygon
    #/definitions/polyline
    #/definitions/bspline
    #/definitions/text
    #/definitions/font_style
    #/definitions/drawcolor
    #/definitions/font
    #/definitions/style
    typearray
    style
    required
    • op
    • style
    typeobject
    properties
    style
    typestring
    op
    patternS
    typestring
    font_style
    required
    • op
    • fontchar
    typeobject
    properties
    op
    patternt
    typestring
    fontchar
    minimum0
    typeinteger
    maximum127
    polygon
    required
    • op
    • points
    typeobject
    properties
    points
    $ref#/definitions/pointlist
    op
    pattern[pP]
    typestring
    metanode
    required
    • _gvid
    • name
    typeobject
    properties
    _draw_
    $ref#/definitions/drawops
    name
    typestring
    descriptionThe node or subgraph name
    _ldraw_
    $ref#/definitions/drawops
    _gvid
    typeinteger
    subgraphs
    items
    typeinteger
    typearray
    descriptionindex of a child subgraph
    edges
    items
    typeinteger
    typearray
    descriptionindex of an edge in this subgraph
    additionalProperties
    typestring
    nodes
    items
    typeinteger
    typearray
    descriptionindex of a node in this subgraph
    titlenode or subgraph
    color
    pattern(#[0-9a-f]*)|(#[0-9a-f]{8})
    typestring
    text
    required
    • op
    • pt
    • align
    • text
    • width
    typeobject
    properties
    text
    typestring
    align
    pattern[lcr]
    typestring
    op
    patternT
    typestring
    pt
    $ref#/definitions/point
    width
    typenumber
    point
    minItems2
    items
    typenumber
    typearray
    maxItems2
    stop
    required
    • frac
    • color
    typeobject
    properties
    color
    $ref#/definitions/color
    frac
    typenumber
    drawcolor
    required
    • op
    • grad
    typeobject
    properties
    p0
    oneOf
    $ref
    #/definitions/point
    #/definitions/point3
    p1
    oneOf
    $ref
    #/definitions/point
    #/definitions/point3
    color
    $ref#/definitions/color
    stops
    items
    $ref#/definitions/stop
    typearray
    grad
    enum
    • none
    • linear
    • radial
    typestring
    op
    pattern[cC]
    typestring
    ellipse
    required
    • op
    • rect
    typeobject
    properties
    rect
    $ref#/definitions/rectangle
    op
    pattern[eE]
    typestring
    bspline
    required
    • op
    • points
    typeobject
    properties
    points
    $ref#/definitions/pointlist
    op
    pattern[bB]
    typestring
    edge
    required
    • _gvid
    • tail
    • head
    typeobject
    properties
    _hldraw_
    $ref#/definitions/drawops
    _tdraw_
    $ref#/definitions/drawops
    _draw_
    $ref#/definitions/drawops
    _ldraw_
    $ref#/definitions/drawops
    _gvid
    typeinteger
    tail
    typeinteger
    description_gvid of tail node
    _tldraw_
    $ref#/definitions/drawops
    _hdraw_
    $ref#/definitions/drawops
    additionalProperties
    typestring
    head
    typeinteger
    description_gvid of tail head
    titleedge
    polyline
    required
    • op
    • points
    typeobject
    properties
    points
    $ref#/definitions/pointlist
    op
    patternL
    typestring
    font
    required
    • op
    • size
    • face
    typeobject
    properties
    size
    minimum0
    typenumber
    op
    patternF
    typestring
    face
    typestring
    point3
    minItems3
    items
    typenumber
    typearray
    maxItems3
    rectangle
    minItems4
    items
    typenumber
    typearray
    maxItems4
    pointlist
    items
    $ref#/definitions/point
    typearray
    typeobject
    properties
    directed
    typeboolean
    descriptionTrue if the graph is directed
    _draw_
    $ref#/definitions/drawops
    name
    typestring
    descriptionThe graph name
    objects
    items
    $ref#/definitions/metanode
    typearray
    descriptionThe graph's subgraphs followed by the graph's nodes
    _ldraw_
    $ref#/definitions/drawops
    strict
    typeboolean
    descriptionTrue if the graph is strict
    edges
    items
    $ref#/definitions/edge
    typearray
    additionalProperties
    typestring
    _subgraph_cnt
    typeinteger
    descriptionNumber of subgraphs in the graph
    \ No newline at end of file diff --git a/doc/info/shapes.html b/doc/info/shapes.html index 5cc45f3f8..ccd09ead5 100644 --- a/doc/info/shapes.html +++ b/doc/info/shapes.html @@ -1,1268 +1,2 @@ - - - - -Node Shapes - - - -

    Node Shapes

    -
    -There are three main types of shapes : -polygon-based, -record-based and -user-defined. -The record-based shape has largely been superseded and greatly generalized -by HTML-like labels. -That is, instead of using shape=record, one might -consider using shape=none, margin=0 and an HTML-like label. -

    -The geometry and style of all node shapes are affected by -the node attributes -fixedsize, -fontname, -fontsize, -height, -label, -style and -width. - -

    Polygon-based Nodes

    -The possible polygon-based shapes are displayed below. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - - -
    box - polygon - ellipse - oval -
    - - - -
    circle - point - egg - triangle -
    - - - -
    plaintext - plain - diamond - trapezium -
    - - - -
    parallelogram - house - pentagon - hexagon -
    - - - -
    septagon - octagon - doublecircle - doubleoctagon -
    - - - -
    tripleoctagon - invtriangle - invtrapezium - invhouse -
    - - - -
    Mdiamond - Msquare - Mcircle - rect -
    - - - -
    rectangle - square - star - none -
    - - - -
    underline - cylinder - note - tab -
    - - - -
    folder - box3d - component - promoter -
    - - - -
    cds - terminator - utr - primersite -
    - - - -
    restrictionsite - fivepoverhang - threepoverhang - noverhang -
    - - - -
    assembly - signature - insulator - ribosite -
    - - - -
    rnastab - proteasesite - proteinstab - rpromoter -
    - - -
    rarrow - larrow - lpromoter -
    -As the figures suggest, the shapes rect and rectangle are synonyms for box, and none is a synonym for plaintext. -The shape plain is similar to these two, except that it also enforces -width=0 height=0 margin=0, which guarantees that the actual size of the node is entirely determined by the label. -This is useful, for example, when using HTML-like labels. -Also, unlike the rest, we have shown these three, as well as underline, -without style=filled -to indicate the normal use. If fill were turned on, the label text would -appear in a filled rectangle. -

    -The geometries of polygon-based shapes are also affected -by the node attributes -regular, -peripheries and -orientation. -If shape="polygon", the attributes -sides, -skew and -distortion are also used. -If unset, they default to 4, 0.0 and 0.0, respectively. -The point shape is special in that it is -only affected by the peripheries, -width and -height attributes. -

    -Normally, the size of a node is determined by smallest width and height -needed to contain its label and image, if any, with a margin specified by -the margin attribute. The width -and height must also be at least as large as the sizes specified by the -width and -height attributes, which specify -the minimum values for these parameters. -See the fixedsize attribute -for ways of restricting the node size. -In particular, if fixedsize=shape, the node's shape will be fixed -by the width and -height attributes, and the shape -is used for edge termination, but both the shape and label sizes are used -preventing node overlap. For example, the following graph -

    -digraph G {
    -  { 
    -    node [margin=0 fontcolor=blue fontsize=32 width=0.5 shape=circle style=filled]
    -    b [fillcolor=yellow fixedsize=true label="a very long label"]
    -    d [fixedsize=shape label="an even longer label"]
    -  }
    -  a -> {c d}
    -  b -> {c d}
    -}
    -
    -yields the figure
    - -

    -Note that the label of the yellow node, with fixedsize=true, overlaps -the other node, where there is sufficient space for the gray node with -fixedsize=shape. -

    -The shapes: note, tab, folder, -box3d and component were provided by Pander. -The synthetic biology shapes: -promoter, -cds, -terminator, -utr, -primersite, -restrictionsite, -fivepoverhang, -threepoverhang, -noverhang, -assembly, -signature, -insulator, -ribosite, -rnastab, -proteasesite, -proteinstab, -rpromoter, -rarrow, -larrow and -lpromoter -were contributed by Jenny Cheng. - -

    Record-based Nodes

    -NOTE: Please see the note about record-based nodes at the -top of this page. Also note that there are problems using -non-trivial edges (edges with ports or labels) between adjacent -nodes on the same rank if one or both nodes has a record shape. -

    -These are specified by shape values of "record" and "Mrecord". -The structure of a record-based node is determined by -its label, -which has the following schema: - - - - -
    rlabel=field ( '|' field )*
    where field=fieldId or '{' rlabel '}'
    and fieldId= [ '<' string '>'] [ string ]
    -Braces, vertical bars and angle brackets must be escaped with -a backslash character if you wish them to appear as a literal character. -Spaces are interpreted as separators between tokens, -so they must be escaped if you want spaces in the text. -

    -The first string in fieldId assigns a portname to the field and can -be combined with the node name to indicate where to attach an edge -to the node. (See portPos.) -The second string is used as the text for the field; it supports the usual -escape sequences \n, \l and \r. -

    -Visually, a record is a box, with fields represented by alternating -rows of horizontal or vertical subboxes. The Mrecord shape is identical -to a record shape, except that the outermost box has rounded corners. -Flipping between horizontal and vertical layouts is done by nesting -fields in braces "{...}". The top-level orientation in a record is -horizontal. Thus, a record with label "A | B | C | D" will have 4 fields -oriented left to right, while "{A | B | C | D}" will have them -from top to bottom and "A | { B | C } | D" will have "B" over "C", with -"A" to the left and "D" to the right of "B" and "C". -

    -The initial orientation of a record node depends on the -rankdir attribute. If this attribute -is TB (the default) or BT, corresponding to vertical -layouts, the top-level fields in a record are displayed horizontally. -If, however, this attribute is LR or RL, -corresponding to horizontal layouts, the top-level fields are -displayed vertically. -

    -As an example of a record node, the dot input -

    -digraph structs {
    -    node [shape=record];
    -    struct1 [label="<f0> left|<f1> mid&#92; dle|<f2> right"];
    -    struct2 [label="<f0> one|<f1> two"];
    -    struct3 [label="hello&#92;nworld |{ b |{c|<here> d|e}| f}| g | h"];
    -    struct1:f1 -> struct2:f0;
    -    struct1:f2 -> struct3:here;
    -}
    -
    - -yields the figure
    - -

    -If we add the line -

    -    rankdir=LR
    -
    -we get the layout
    - -

    -If we change node struct1 to have shape Mrecord, -it then looks like:
    - - -

    Styles for Nodes

    -The style -attribute can be used to modify the appearance of a node. -At present, there are 8 style values recognized: -filled, invisible, diagonals, rounded. -dashed, dotted, solid and bold. -As usual, the value of the style -attribute can be a comma-separated list of any of these. If the -style contains conflicts (e.g, style="dotted, solid"), the last -attribute wins. -
    -
    filled -
    This value indicates that the node's interior should be filled. -The color used is the node's fillcolor or, if that's not defined, its -color. For unfilled nodes, the interior of the node is transparent to -whatever color is the current graph or cluster background color. -Note that point shapes are always filled. -

    -Thus, the code -

    -digraph G {
    -  rankdir=LR
    -  node [shape=box, color=blue]
    -  node1 [style=filled] 
    -  node2 [style=filled, fillcolor=red] 
    -  node0 -> node1 -> node2
    -}
    -
    -yields the figure
    - - -
    invisible -
    Setting this style causes the node not to be displayed at all. -Note that the node is still used in laying out the graph. - -
    diagonals -
    The diagonals style causes small chords to be drawn near the vertices -of the node's polygon or, in case of circles and ellipses, two chords near -the top and the bottom of the shape. The special node shapes -Msquare, -Mcircle, and -Mdiamond -are simply an ordinary square, circle and -diamond with the diagonals style set. - -
    rounded -
    The rounded style causes the polygonal corners to be smoothed. -Note that this style also applies to record-based nodes. Indeed, -the Mrecord shape is simply shorthand for setting this style. -Also, prior to 26 April 2005, the rounded and filled styles were -mutually exclusive. -

    -As an example of rounding, dot uses the graph -

    -digraph R {
    -  rankdir=LR
    -  node [style=rounded]
    -  node1 [shape=box]
    -  node2 [fillcolor=yellow, style="rounded,filled", shape=diamond]
    -  node3 [shape=record, label="{ a | b | c }"]
    -
    -  node1 -> node2 -> node3
    -}
    -
    -to produce the figure
    - -
    dashed -
    This style causes the node's border to be drawn as a dashed line. -
    dotted -
    This style causes the node's border to be drawn as a dotted line. -
    solid -
    This style causes the node's border to be drawn as a solid line, -which is the default. -
    bold -
    This style causes the node's border to be drawn as a bold line. -See also penwidth. - -
    - -

    -Additional styles may be available with a specific code generator. -

    HTML-Like Labels

    - -NOTE:This feature is only available on versions of Graphviz -that are newer than mid-November 2003. In particular, it is not part -of release 1.10. -

    -NOTE:The font markups for bold, italic, underlining, subscript and -superscript (<B>, <I>, <U>, <SUB> and <SUP>) -are only available in versions after 14 October 2011, and -the markup for strike-through (<S>) requires versions later than 15 September 2013. -In addition, all of these markups are -currently only available via the cairo and svg renderers. -The horizontal and vertical rules (<HR> and <VR>) -are only available in versions later than 8 July 2011. -

    -NOTE:For releases later than 9 September 2014, one can use shape=plain so that the size -of the node is totally determined by the label. Otherwise, the node's margin, width and height values may cause the -node to be larger, so that edges are clipped away from the label. In effect, shape=plain is shorthand -for shape=none width=0 height=0 margin=0. -

    -If the value of a label attribute -(label for nodes, edges, clusters, and -graphs, and the -headlabel and -taillabel -attributes of an edge) is given as an -HTML string, -that is, delimited by <...> -rather than "...", -the label is interpreted as -an HTML description. At their simplest, such labels -can describe multiple lines of variously aligned text as provided by ordinary -string labels. More generally, the -label can specify a table similar to those provided by HTML, -with different graphical attributes at each level. -

    -As HTML strings are processed like HTML input, any use of -the ", &, <, and > characters in literal text or in attribute values -need to be replaced by the corresponding escape sequence. For example, if you want to -use & in an href value, this should be represented as &amp;. -

    -NOTE: The features and syntax supported by these labels are -modeled on HTML. However, there are many aspects that are relevant -to Graphviz labels that are not in HTML and, conversely, HTML allows -various constructs which are meaningless in Graphviz. We will generally -refer to these labels as "HTML labels" rather than the cumbersome -"HTML-like labels" but the reader is warned that these are not really -HTML. The grammar below describes precisely what Graphviz will accept. -

    -Although HTML labels are not, strictly speaking, a shape, they can be -viewed as a generalization of the record shapes described above. -In particular, if a node has set its -shape -attribute to none or plaintext, the HTML label will be the node's -shape. On the other hand, if the node has any other shape (except -point), the HTML label will be embedded within the node the -same way an ordinary label would be. Adding HTML labels to record-based shapes (record and Mrecord) is discouraged and may lead to unexpected behavior because of their conflicting label schemas and overlapping functionality. -

    -The following is an abstract grammar for HTML labels. -Terminals, corresponding to elements, are shown in bold font, -and nonterminals in italics. -Square brackets [ and ] enclose optional items. -Vertical bars | separate alternatives. -Note that, as in HTML, element and attribute names are case-insensitive. -(cf. sections 3.2.1 and 3.2.2 of the -HTML 4.01 specification). - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    label:text
    |fonttable
    text:textitem
    |text textitem
    textitem:string
    |<BR/>
    |<FONT> text </FONT>
    |<I> text </I>
    |<B> text </B>
    |<U> text </U>
    |<O> text </O>
    |<SUB> text </SUB>
    |<SUP> text </SUP>
    |<S> text </S>
    fonttable:table
    |<FONT> table </FONT>
    |<I> table </I>
    |<B> table </B>
    |<U> table </U>
    |<O> table </O>
    table:<TABLE> rows </TABLE>
    rows:row
    |rows row
    |rows <HR/> row
    row:<TR> cells </TR>
    cells:cell
    |cells cell
    |cells <VR/> cell
    cell:<TD> label </TD>
    |<TD> <IMG/> </TD>
    -

    -All non-printing characters such as tabs or newlines are ignored. -Above, a string is any collection of printable characters, including -spaces. For tables, outside of the body of a <TD> element, -whitespace characters are ignored, including spaces; within a <TD> element, spaces -are preserved but all other white space characters are discarded. -N.B. For technical reasons, if a table is wrapped in a font element such as <FONT> -or <B>, any space immediately before or after this will cause a syntax error. For example, -the label -

    -< <U><TABLE><TR><TD>a</TD></TR></U>>
    -
    -is not legal. Removing either the space or the <U>...</U> will fix this. -

    -HTML comments are allowed within an HTML string. They can occur anywhere -provided that, if they contain part of an HTML element, they must contain -the entire element. -

    -As is obvious from the above description, the interpretation of white space -characters is one place where HTML-like labels is very different from -standard HTML. In HTML, any sequence of white space characters is -collapsed to a single space, If the user does not want this to happen, the -input must use non-breaking spaces "&nbsp;". This makes sense in -HTML, where text layout depends dynamically on the space available. In -Graphviz, the layout is statically determined by the input, so it is -reasonable to treat ordinary space characters as non-breaking. In addition, -ignoring tabs and newlines allows the input text to be formatted for -easier reading. -

    -Each of the HTML elements has a set of optional attributes. -Attribute values must appear in double quotes. -

    - <!-- Table element --> -

    -<TABLE
    -  ALIGN="CENTER|LEFT|RIGHT"
    -  BGCOLOR="color"
    -  BORDER="value"
    -  CELLBORDER="value"
    -  CELLPADDING="value"
    -  CELLSPACING="value"
    -  COLOR="color"
    -  COLUMNS="value"
    -  FIXEDSIZE="FALSE|TRUE"
    -  GRADIENTANGLE="value"
    -  HEIGHT="value"
    -  HREF="value"
    -  ID="value"
    -  PORT="portName"
    -  ROWS="value"
    -  SIDES="value"
    -  STYLE="value"
    -  TARGET="value"
    -  TITLE="value"
    -  TOOLTIP="value"
    -  VALIGN="MIDDLE|BOTTOM|TOP"
    -  WIDTH="value"
    ->
    -
    -

    - <!-- Table row --> -

    <TR
    -  <!-- No attributes -->
    ->
    -
    -

    - <!-- Table cell --> -

    <TD
    -  ALIGN="CENTER|LEFT|RIGHT|TEXT"
    -  BALIGN="CENTER|LEFT|RIGHT"
    -  BGCOLOR="color"
    -  BORDER="value"
    -  CELLPADDING="value"
    -  CELLSPACING="value"
    -  COLOR="color"
    -  COLSPAN="value"
    -  FIXEDSIZE="FALSE|TRUE"
    -  GRADIENTANGLE="value"
    -  HEIGHT="value"
    -  HREF="value"
    -  ID="value"
    -  PORT="portName"
    -  ROWSPAN="value"
    -  SIDES="value"
    -  STYLE="value"
    -  TARGET="value"
    -  TITLE="value"
    -  TOOLTIP="value"
    -  VALIGN="MIDDLE|BOTTOM|TOP"
    -  WIDTH="value"
    ->
    -
    - -

    - <!-- Font specification --> -

    <FONT
    -  COLOR="color"
    -  FACE="fontname"
    -  POINT-SIZE="value"
    ->
    -
    - -

    - <!-- Line break --> -

    <BR
    -  ALIGN="CENTER|LEFT|RIGHT"
    -/>
    -
    - -

    - <!-- Image inclusion --> -

    <IMG
    -  SCALE="FALSE|TRUE|WIDTH|HEIGHT|BOTH"
    -  SRC="value"
    -/>
    -
    -

    - <!-- Italic style --> -

    <I
    -  <!-- No attributes -->
    ->
    -
    -

    - <!-- Bold style --> -

    <B
    -  <!-- No attributes -->
    ->
    -
    -

    - <!-- Underline text --> -

    <U
    -  <!-- No attributes -->
    ->
    -
    -

    - <!-- Overline text --> -

    <O
    -  <!-- No attributes -->
    ->
    -
    -

    - <!-- Subscript text --> -

    <SUB
    -  <!-- No attributes -->
    ->
    -
    -

    - <!-- Superscript text --> -

    <SUP
    -  <!-- No attributes -->
    ->
    -
    -

    - <!-- Strike-through text --> -

    <S
    -  <!-- No attributes -->
    ->
    -
    -

    - <!-- Horizontal rule --> -

    <HR
    -  <!-- No attributes -->
    -/>
    -
    -

    - <!-- Vertical rule --> -

    <VR
    -  <!-- No attributes -->
    -/>
    -
    - -

    -ALIGN -

    -specifies horizontal placement. When an object is allocated -more space than required, this value determines where the extra space -is placed left and right of the object. -

    -

    -

    -The contents of a cell are normally aligned as a block. In particular, -lines of text are first aligned as a text block based on the width of -the widest line and the corresponding <BR> elements. Then, -the entire text block is aligned within a cell. If, however, the -cell's ALIGN value is "TEXT", and the cell contains -lines of text, then the lines are justified using the entire available -width of the cell. If the cell does not contain text, then the contained -image or table is centered. -

    - -BALIGN -
    -specifies the default alignment of <BR> elements contained -in the cell. That is, if a <BR> element has no -explicit ALIGN attribute, the attribute value is specified -by the value of BALIGN. -
    - -BGCOLOR="color" -
    -sets the color of the background. This color can be -overridden by a BGCOLOR attribute in descendents. -The value can be a single color or two colors separated by a colon, the -latter indicating a gradient fill. -
    - -BORDER="value" -
    -specifies the width of the border around the object in points. -A value of zero indicates no border. The default is 1. -The maximum value is 255. -If set in a table, and CELLBORDER is not set, -this value is also used for all cells in the table. -It can be overridden by a BORDER tag in a cell. -
    - -CELLBORDER="value" -
    -specifies the width of the border for all cells in a table. -It can be overridden by a BORDER tag in a cell. -The maximum value is 255. -
    - -CELLPADDING="value" -
    -specifies the space, in points, between a cell's border and its content. -The default is 2. -The maximum value is 255. -
    - -CELLSPACING="value" -
    -specifies the space, in points, between cells in a table and between -a cell and the table's border. The default is 2. -The maximum value is 127. -
    - -COLOR="color" -
    -sets the color of the font within the scope of -<FONT>...</FONT>, or the border color -of the table or cell within the scope of -<TABLE>...</TABLE>, -or <TD>...</TD>. -This color can be -overridden by a COLOR attribute in descendents. -By default, the font color is determined by the -fontcolor attribute of -the corresponding node, edge or graph, and the border color -is determined by the -color attribute of -the corresponding node, edge or graph. -
    - -COLSPAN="value" -
    -specifies the number of columns spanned by the cell. The default is 1. -The maximum value is 65535. -
    - -COLUMNS="value" -
    -provides general formatting information concerning the columns. -At present, the only legal value is "*", which causes a vertical rule to -appear between every cell in every row. -
    - -FACE="fontname" -
    -specifies the font to use within the scope of -<FONT>...</FONT>. -This can be -overridden by a FACE attribute in descendents. -By default, the font name is determined by the -fontname attribute of the corresponding -node, edge or graph. -
    - -FIXEDSIZE -
    -specifies whether the values given by the WIDTH -and HEIGHT attributes are enforced. -

    -

    -
    - -GRADIENTANGLE="value" -
    -gives the angle used in a gradient fill if the -BGCOLOR is a color list. For the default linear gradient, -this specifies -the angle of a line through the center along which the colors transform. -Thus, an angle of 0 will cause a left-to-right progression. -For radial gradients (see STYLE), the angle specifies the position -of the center of the coloring. An angle of 0 places the center at the center of the -table or cell; an non-zero angle places the fill center along that angle near the -boundary. -
    - -HEIGHT="value" -
    -specifies the mininum height, in points, of the object. The height -includes the contents, any spacing and the border. Unless -FIXEDSIZE is true, the height will be expanded to allow -the contents to fit. -The maximum value is 65535. -
    - -HREF="value" -
    -attaches a URL to the object. -Note that the "value" is treated as an -escString similarly to the -URL attribute. -
    - -ID="value" -
    -allows the user to specify a unique ID for a table or cell. See -the id attribute for more information. -Note that the "value" is treated as an -escString similarly to the -id attribute. -
    - -POINT-SIZE="value" -
    -sets the size of the font, in points, used within the scope of -<FONT>...</FONT>. -This can be -overridden by a POINT-SIZE attribute in descendents. -By default, the font size is determined by the -fontsize attribute of the corresponding -node, edge or graph. -
    - -PORT="value" -
    -attaches a portname to the object. -(See portPos.) -This can be used to modify the head -or tail of an edge, so that the end attaches directly to the object. -
    - -ROWS="value" -
    -provides general formatting information concerning the rows. -At present, the only legal value is "*", which causes a horizontal rule to -appear between every row. -
    - -ROWSPAN="value" -
    -specifies the number of rows spanned by the cell. The default is 1. -The maximum value is 65535. -
    - -SCALE -
    -specifies how an image will use any extra space available in its cell. -Allowed values are - -If this attribute is undefined, -the image inherits the imagescale -attribute of the graph object being drawn. -As with the imagescale -attribute, if the cell has a fixed size and the image is too large, -any offending dimension will be shrunk to fit the space, the -scaling being uniform in width and height if SCALE="true". -Note that the containing cell's ALIGN -and VALIGN attributes override -an image's SCALE attribute. -
    - -SIDES="value" -
    -specifies which sides of a border in a cell or table should be drawn, if -a border is drawn. By default, all sides are drawn. The "value" -string can contain any collection of the (case-insensitive) -characters 'L', 'T', 'R', or 'B', -corresponding to the left, top, right and, bottom sides of the border, -respectively. For example, SIDES="LB" would indicate only the -left and bottom segments of the border should be drawn. -
    - -SRC="value" -
    -specifies the image file to be displayed in the cell. -Note that if the software is used as a web server, file system access -to images is more restricted. See GV_FILE_PATH -and SERVER_NAME. -
    - -

    -STYLE -

    -specifies style characteristics of the table or cell. Style characteristics are -given as a comma or space separated list of style attributes. At present, the only -legal attributes are "ROUNDED" and "RADIAL" for tables, and "RADIAL" for cells. -If "ROUNDED" is specified, the table will have rounded corners. -This probably works best if the outmost cells have no borders, or their CELLSPACING -is sufficiently large. -If it is desirable to have borders around the cells, use HR -and VR elements, or the COLUMNS and ROWS attributes of TABLE. -

    -The "RADIAL" attribute indicates a radial gradient fill. See the BGCOLOR and -GRADIENTANGLE attributes. -

    - -TARGET="value" -
    -determines which window of the browser is used for the URL if the object -has one. -See W3C documentation. -Note that the "value" is treated as an -escString similarly to the -target attribute. -
    - -TITLE="value" -
    -sets the tooltip annotation attached to the element. -This is used only if the element has a HREF attribute. -Note that the "value" is treated as an -escString similarly to the -tooltip attribute. -
    - -TOOLTIP="value" -
    -is an alias for TITLE. -
    - -

    -VALIGN -

    -specifies vertical placement. When an object is allocated -more space than required, this value determines where the extra space -is placed above and below the object. -

    -

    -
    - -WIDTH="value" -
    -specifies the mininum width, in points, of the object. The width -includes the contents, any spacing and the border. Unless -FIXEDSIZE is true, the width will be expanded to allow -the contents to fit. -The maximum value is 65535. -
    - -

    -There is some inheritance among the attributes. If a table specifies -a CELLPADDING, CELLBORDER or BORDER -value, this value is used by the table's -cells unless overridden. If a cell or table specifies a BGCOLOR, -this will be the background color for all of its descendents. -Of course, if a background or fill color is specified for the -graph object owning the label, this will be the original -background for the label. -The object's fontname, fontcolor and fontsize attributes -are the default for drawing text. These can be overridden by using -FONT to set new values. The new font values will hold -until overridden by an enclosed FONT element. -Finally, the pencolor or color of the graph object will be used as -the border color. -

    -If you want horizontal or vertical rules used uniformly within a table, consider -using the COLUMNS or ROWS attributes -rather than using many -HR and VR elements. -

    -Because of certain limitations in handling tables in a device-independent -manner, when BORDER is 1 and both table and cell borders -are on and CELLSPACING is less than 2, anomalies can arise -in the output, such as gaps between sides of borders which should be -abutting or even collinear. The user can usual get around this by increasing -the border size or the spacing, or turning off the table border. -

    -As an example of HTML labels, the dot input -

    -digraph structs {
    -    node [shape=plaintext]
    -    struct1 [label=<
    -<TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0">
    -  <TR><TD>left</TD><TD PORT="f1">mid dle</TD><TD PORT="f2">right</TD></TR>
    -</TABLE>>];
    -    struct2 [label=<
    -<TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0">
    -  <TR><TD PORT="f0">one</TD><TD>two</TD></TR>
    -</TABLE>>];
    -    struct3 [label=<
    -<TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0" CELLPADDING="4">
    -  <TR>
    -    <TD ROWSPAN="3">hello<BR/>world</TD>
    -    <TD COLSPAN="3">b</TD>
    -    <TD ROWSPAN="3">g</TD>
    -    <TD ROWSPAN="3">h</TD>
    -  </TR>
    -  <TR>
    -    <TD>c</TD><TD PORT="here">d</TD><TD>e</TD>
    -  </TR>
    -  <TR>
    -    <TD COLSPAN="3">f</TD>
    -  </TR>
    -</TABLE>>];
    -    struct1:f1 -> struct2:f0;
    -    struct1:f2 -> struct3:here;
    -}
    -
    -produces the HTML analogue of the record example above
    - -

    -As usual, an HTML specification is more verbose. On the other hand, -HTML labels are much more general, as the following example shows: -

    - -

    -The source for this graph can be found here. -

    -Here is an example using <FONT> elements -

    - -

    -with the input graph. -

    -Here is an example using an <IMG> element -

    - -

    -with the input graph. -

    -The sides attribute (version 2.37 and later) allows one to combine cells to form -various non-convex shapes. For example, a tee-shaped node -

    - -

    -can be produced using -

    -  tee [shape=none margin=0 label=
    -    <<table border="0" cellspacing="0" cellborder="1">
    -     <tr>
    -      <td width="9" height="9" fixedsize="true" style="invis"></td>
    -      <td width="9" height="9" fixedsize="true" sides="ltr"></td>
    -      <td width="9" height="9" fixedsize="true" style="invis"></td>
    -     </tr>
    -     <tr>
    -      <td width="9" height="9" fixedsize="true" sides="tlb"></td>
    -      <td width="9" height="9" fixedsize="true" sides="b"></td>
    -      <td width="9" height="9" fixedsize="true" sides="brt"></td>
    -     </tr>
    -    </table>>]
    -
    -

    User-defined Nodes

    - -There is a third type of node shape which is specified by the user. -Typically, these shapes rely on the details of a concrete graphics -format. At present, shapes can be described using PostScript, via a -file or add-on library, for use in PostScript output, or shapes can -be specified by a bitmap-image file for use with SVG or bitmap (jpeg, -gif, etc.) output. More information can be found on the page - -How to create custom shapes. - -

    SDL Shapes for PostScript

    -One example of user-defined node shapes is provided by Mark Rison of CSR. -These are the SDL shapes. -These are available as PostScript functions whose use is described in - External PostScript procedures. -The necessary PostScript library file and sample use can be found in the -contrib/sdlshapes directory in the release. Please note the -COPYRIGHT AND PERMISSION NOTICE contained in the library file sdl.ps. -

    -The table below -gives the shape names and the corresponding node shapes. -

    -

    - -
    - - + +Moved to https://graphviz.org/doc/info/shapes.html. Redirecting...