From: Magnus Jacobsson Date: Tue, 20 Oct 2020 16:23:00 +0000 (+0200) Subject: Add subset of macOS rtest reference files X-Git-Tag: 2.46.0~20^2^2~15^2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=77b41db726784aa7e001236682d2a7541a2801bc;p=graphviz Add subset of macOS rtest reference files Generated with ./rtest.py -g. The .gv files are identical to those in the linux.x86 subdirectory. The .ps file has slight differences, but no visible differences. --- diff --git a/rtest/macosx/Courier_dot.ps b/rtest/macosx/Courier_dot.ps new file mode 100644 index 000000000..88edfaf3c --- /dev/null +++ b/rtest/macosx/Courier_dot.ps @@ -0,0 +1,473 @@ +%!PS-Adobe-3.0 +%%Creator: graphviz version 2.44.2~dev.20201022.0745 (20201022.0745) +%%Title: %2 +%%Pages: (atend) +%%BoundingBox: (atend) +%%EndComments +save +%%BeginProlog +/DotDict 200 dict def +DotDict begin + +/setupLatin1 { +mark +/EncodingVector 256 array def + EncodingVector 0 + +ISOLatin1Encoding 0 255 getinterval putinterval +EncodingVector 45 /hyphen put + +% Set up ISO Latin 1 character encoding +/starnetISO { + dup dup findfont dup length dict begin + { 1 index /FID ne { def }{ pop pop } ifelse + } forall + /Encoding EncodingVector def + currentdict end definefont +} def +/Times-Roman starnetISO def +/Times-Italic starnetISO def +/Times-Bold starnetISO def +/Times-BoldItalic starnetISO def +/Helvetica starnetISO def +/Helvetica-Oblique starnetISO def +/Helvetica-Bold starnetISO def +/Helvetica-BoldOblique starnetISO def +/Courier starnetISO def +/Courier-Oblique starnetISO def +/Courier-Bold starnetISO def +/Courier-BoldOblique starnetISO def +cleartomark +} bind def + +%%BeginResource: procset graphviz 0 0 +/coord-font-family /Times-Roman def +/default-font-family /Times-Roman def +/coordfont coord-font-family findfont 8 scalefont def + +/InvScaleFactor 1.0 def +/set_scale { + dup 1 exch div /InvScaleFactor exch def + scale +} bind def + +% styles +/solid { [] 0 setdash } bind def +/dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def +/dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def +/invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def +/bold { 2 setlinewidth } bind def +/filled { } bind def +/unfilled { } bind def +/rounded { } bind def +/diagonals { } bind def +/tapered { } bind def + +% hooks for setting color +/nodecolor { sethsbcolor } bind def +/edgecolor { sethsbcolor } bind def +/graphcolor { sethsbcolor } bind def +/nopcolor {pop pop pop} bind def + +/beginpage { % i j npages + /npages exch def + /j exch def + /i exch def + /str 10 string def + npages 1 gt { + gsave + coordfont setfont + 0 0 moveto + (\() show i str cvs show (,) show j str cvs show (\)) show + grestore + } if +} bind def + +/set_font { + findfont exch + scalefont setfont +} def + +% draw text fitted to its expected width +/alignedtext { % width text + /text exch def + /width exch def + gsave + width 0 gt { + [] 0 setdash + text stringwidth pop width exch sub text length div 0 text ashow + } if + grestore +} def + +/boxprim { % xcorner ycorner xsize ysize + 4 2 roll + moveto + 2 copy + exch 0 rlineto + 0 exch rlineto + pop neg 0 rlineto + closepath +} bind def + +/ellipse_path { + /ry exch def + /rx exch def + /y exch def + /x exch def + matrix currentmatrix + newpath + x y translate + rx ry scale + 0 0 1 0 360 arc + setmatrix +} bind def + +/endpage { showpage } bind def +/showpage { } def + +/layercolorseq + [ % layer color sequence - darkest to lightest + [0 0 0] + [.2 .8 .8] + [.4 .8 .8] + [.6 .8 .8] + [.8 .8 .8] + ] +def + +/layerlen layercolorseq length def + +/setlayer {/maxlayer exch def /curlayer exch def + layercolorseq curlayer 1 sub layerlen mod get + aload pop sethsbcolor + /nodecolor {nopcolor} def + /edgecolor {nopcolor} def + /graphcolor {nopcolor} def +} bind def + +/onlayer { curlayer ne {invis} if } def + +/onlayers { + /myupper exch def + /mylower exch def + curlayer mylower lt + curlayer myupper gt + or + {invis} if +} def + +/curlayer 0 def + +%%EndResource +%%EndProlog +%%BeginSetup +14 default-font-family set_font +% /arrowlength 10 def +% /arrowwidth 5 def + +% make sure pdfmark is harmless for PS-interpreters other than Distiller +/pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse +% make '<<' and '>>' safe on PS Level 1 devices +/languagelevel where {pop languagelevel}{1} ifelse +2 lt { + userdict (<<) cvn ([) cvn load put + userdict (>>) cvn ([) cvn load put +} if + +%%EndSetup +setupLatin1 +%%Page: 1 1 +%%PageBoundingBox: 36 36 529 488 +%%PageOrientation: Portrait +0 0 1 beginpage +gsave +36 36 493 452 boxprim clip newpath +1 1 set_scale 0 rotate 40 40 translate +% 9 +gsave +1 setlinewidth +0 0 0 nodecolor +newpath 485 444 moveto +0 444 lineto +0 360 lineto +485 360 lineto +closepath stroke +1 setlinewidth +solid +0 0 0 nodecolor +newpath .5 423 moveto +.5 444 lineto +485.5 444 lineto +485.5 423 lineto +closepath stroke +0 0 0 nodecolor +14 /Courier set_font +205.5 429.8 moveto 75 ("Courier") alignedtext +1 setlinewidth +solid +0 0 0 nodecolor +newpath .5 402 moveto +.5 423 lineto +485.5 423 lineto +485.5 402 lineto +closepath stroke +0 0 0 nodecolor +14 /Courier set_font +123 408.8 moveto 240 ("ABCDEFGHIJLKLMNOPQRSTUVWXYZ") alignedtext +1 setlinewidth +solid +0 0 0 nodecolor +newpath .5 381 moveto +.5 402 lineto +485.5 402 lineto +485.5 381 lineto +closepath stroke +0 0 0 nodecolor +14 /Courier set_font +123 387.8 moveto 240 ("abcdefghijlklmnopqrstuvwxyz") alignedtext +1 setlinewidth +solid +0 0 0 nodecolor +newpath .5 360 moveto +.5 381 lineto +485.5 381 lineto +485.5 360 lineto +closepath stroke +0 0 0 nodecolor +14 /Courier set_font +3.5 366.8 moveto 479 ("ABCDEFGHIJLKLMNOPQRSTUVWXYZ\\nabcdefghijlklmnopqrstuvwxyz") alignedtext +grestore +% 10 +gsave +1 setlinewidth +0 0 0 nodecolor +newpath 485 324 moveto +0 324 lineto +0 240 lineto +485 240 lineto +closepath stroke +1 setlinewidth +solid +0 0 0 nodecolor +newpath .5 303 moveto +.5 324 lineto +485.5 324 lineto +485.5 303 lineto +closepath stroke +0 0 0 nodecolor +14 /Courier-Bold set_font +185 309.8 moveto 116 ("Courier-Bold") alignedtext +1 setlinewidth +solid +0 0 0 nodecolor +newpath .5 282 moveto +.5 303 lineto +485.5 303 lineto +485.5 282 lineto +closepath stroke +0 0 0 nodecolor +14 /Courier-Bold set_font +123 288.8 moveto 240 ("ABCDEFGHIJLKLMNOPQRSTUVWXYZ") alignedtext +1 setlinewidth +solid +0 0 0 nodecolor +newpath .5 261 moveto +.5 282 lineto +485.5 282 lineto +485.5 261 lineto +closepath stroke +0 0 0 nodecolor +14 /Courier-Bold set_font +123 267.8 moveto 240 ("abcdefghijlklmnopqrstuvwxyz") alignedtext +1 setlinewidth +solid +0 0 0 nodecolor +newpath .5 240 moveto +.5 261 lineto +485.5 261 lineto +485.5 240 lineto +closepath stroke +0 0 0 nodecolor +14 /Courier-Bold set_font +3.5 246.8 moveto 479 ("ABCDEFGHIJLKLMNOPQRSTUVWXYZ\\nabcdefghijlklmnopqrstuvwxyz") alignedtext +grestore +% 9->10 +gsave +1 setlinewidth +0 0 0 edgecolor +newpath 242.5 359.7293 moveto +242.5 351.508 242.5 342.7803 242.5 334.2708 curveto +stroke +0 0 0 edgecolor +newpath 246.0001 334.0481 moveto +242.5 324.0481 lineto +239.0001 334.0481 lineto +closepath fill +1 setlinewidth +solid +0 0 0 edgecolor +newpath 246.0001 334.0481 moveto +242.5 324.0481 lineto +239.0001 334.0481 lineto +closepath stroke +grestore +% 11 +gsave +1 setlinewidth +0 0 0 nodecolor +newpath 485 204 moveto +0 204 lineto +0 120 lineto +485 120 lineto +closepath stroke +1 setlinewidth +solid +0 0 0 nodecolor +newpath .5 183 moveto +.5 204 lineto +485.5 204 lineto +485.5 183 lineto +closepath stroke +0 0 0 nodecolor +14 /Courier-BoldOblique set_font +156 189.8 moveto 174 ("Courier-BoldOblique") alignedtext +1 setlinewidth +solid +0 0 0 nodecolor +newpath .5 162 moveto +.5 183 lineto +485.5 183 lineto +485.5 162 lineto +closepath stroke +0 0 0 nodecolor +14 /Courier-BoldOblique set_font +123 168.8 moveto 240 ("ABCDEFGHIJLKLMNOPQRSTUVWXYZ") alignedtext +1 setlinewidth +solid +0 0 0 nodecolor +newpath .5 141 moveto +.5 162 lineto +485.5 162 lineto +485.5 141 lineto +closepath stroke +0 0 0 nodecolor +14 /Courier-BoldOblique set_font +123 147.8 moveto 240 ("abcdefghijlklmnopqrstuvwxyz") alignedtext +1 setlinewidth +solid +0 0 0 nodecolor +newpath .5 120 moveto +.5 141 lineto +485.5 141 lineto +485.5 120 lineto +closepath stroke +0 0 0 nodecolor +14 /Courier-BoldOblique set_font +3.5 126.8 moveto 479 ("ABCDEFGHIJLKLMNOPQRSTUVWXYZ\\nabcdefghijlklmnopqrstuvwxyz") alignedtext +grestore +% 10->11 +gsave +1 setlinewidth +0 0 0 edgecolor +newpath 242.5 239.7293 moveto +242.5 231.508 242.5 222.7803 242.5 214.2708 curveto +stroke +0 0 0 edgecolor +newpath 246.0001 214.0481 moveto +242.5 204.0481 lineto +239.0001 214.0481 lineto +closepath fill +1 setlinewidth +solid +0 0 0 edgecolor +newpath 246.0001 214.0481 moveto +242.5 204.0481 lineto +239.0001 214.0481 lineto +closepath stroke +grestore +% 12 +gsave +1 setlinewidth +0 0 0 nodecolor +newpath 485 84 moveto +0 84 lineto +0 0 lineto +485 0 lineto +closepath stroke +1 setlinewidth +solid +0 0 0 nodecolor +newpath .5 63 moveto +.5 84 lineto +485.5 84 lineto +485.5 63 lineto +closepath stroke +0 0 0 nodecolor +14 /Courier-Oblique set_font +172.5 69.8 moveto 141 ("Courier-Oblique") alignedtext +1 setlinewidth +solid +0 0 0 nodecolor +newpath .5 42 moveto +.5 63 lineto +485.5 63 lineto +485.5 42 lineto +closepath stroke +0 0 0 nodecolor +14 /Courier-Oblique set_font +123 48.8 moveto 240 ("ABCDEFGHIJLKLMNOPQRSTUVWXYZ") alignedtext +1 setlinewidth +solid +0 0 0 nodecolor +newpath .5 21 moveto +.5 42 lineto +485.5 42 lineto +485.5 21 lineto +closepath stroke +0 0 0 nodecolor +14 /Courier-Oblique set_font +123 27.8 moveto 240 ("abcdefghijlklmnopqrstuvwxyz") alignedtext +1 setlinewidth +solid +0 0 0 nodecolor +newpath .5 0 moveto +.5 21 lineto +485.5 21 lineto +485.5 0 lineto +closepath stroke +0 0 0 nodecolor +14 /Courier-Oblique set_font +3.5 6.8 moveto 479 ("ABCDEFGHIJLKLMNOPQRSTUVWXYZ\\nabcdefghijlklmnopqrstuvwxyz") alignedtext +grestore +% 11->12 +gsave +1 setlinewidth +0 0 0 edgecolor +newpath 242.5 119.7293 moveto +242.5 111.508 242.5 102.7803 242.5 94.2708 curveto +stroke +0 0 0 edgecolor +newpath 246.0001 94.0481 moveto +242.5 84.0481 lineto +239.0001 94.0481 lineto +closepath fill +1 setlinewidth +solid +0 0 0 edgecolor +newpath 246.0001 94.0481 moveto +242.5 84.0481 lineto +239.0001 94.0481 lineto +closepath stroke +grestore +endpage +showpage +grestore +%%PageTrailer +%%EndPage: 1 +%%Trailer +%%Pages: 1 +%%BoundingBox: 36 36 529 488 +end +restore +%%EOF diff --git a/rtest/macosx/arrows_dot.gv b/rtest/macosx/arrows_dot.gv new file mode 100644 index 000000000..fd0eb1194 --- /dev/null +++ b/rtest/macosx/arrows_dot.gv @@ -0,0 +1,235 @@ +digraph G { + graph [bb="0,0,900,324", + overlap=false, + ranksep=1.5, + splines=true + ]; + node [label="", + shape=circle, + width=0.5 + ]; + edge [labeldistance=3]; + { + edge [dir=back, + samehead=ahead + ]; + a [height=0.5, + pos="18,306"]; + Z [height=0.5, + pos="450,162"]; + a -> Z [arrowtail=none, + pos="32.408,294.8 36.359,292.32 40.733,289.86 45,288 215.74,213.77 450,181 450,181", + tail_lp="48.83,269.7", + taillabel=none]; + b [height=0.5, + pos="72,306"]; + b -> Z [arrowtail=normal, + pos="s,86.456,294.91 95.411,289.75 96.609,289.13 97.81,288.54 99,288 247.32,220.18 450,181 450,181", + tail_lp="103.69,270.35", + taillabel=normal]; + c [height=0.5, + pos="126,306"]; + c -> Z [arrowtail=inv, + pos="s,140.52,295.05 149.45,289.83 150.63,289.19 151.82,288.57 153,288 279.1,226.49 450,181 450,181", + tail_lp="157.57,270.37", + taillabel=inv]; + d [height=0.5, + pos="180,306"]; + d -> Z [arrowtail=dot, + pos="s,194.62,295.25 201.53,291.05 203.36,289.99 205.2,288.96 207,288 311.21,232.63 450,181 450,181", + tail_lp="211.29,270.3", + taillabel=dot]; + e [height=0.5, + pos="234,306"]; + e -> Z [arrowtail=odot, + pos="s,248.78,295.52 255.65,291.25 257.45,290.14 259.25,289.04 261,288 343.86,238.49 450,181 450,181", + tail_lp="265.16,270.39", + taillabel=odot]; + f [height=0.5, + pos="288,306"]; + f -> Z [arrowtail=invdot, + pos="s,301.81,294.43 316.33,283.32 362.77,247.77 450,181 450,181", + tail_lp="315.7,267.83", + taillabel=invdot]; + g [height=0.5, + pos="342,306"]; + g -> Z [arrowtail=invodot, + pos="s,353.56,291.73 365.7,277.79 397.49,241.29 450,181 450,181", + tail_lp="361.85,262.9", + taillabel=invodot]; + h [height=0.5, + pos="396,306"]; + h -> Z [arrowtail=open, + pos="s,402.84,289.3 406.95,279.85 422.74,243.6 450,181 450,181", + tail_lp="402.07,259.31", + taillabel=open]; + i [height=0.5, + pos="450,306"]; + i -> Z [arrowhead=inv, + arrowtail=halfopen, + head_lp="462.68,208.19", + headlabel=samehead, + pos="s,450,287.76 450,277.72 450,241.21 450,181 450,181", + tail_lp="437.32,260.57", + taillabel=halfopen]; + j [height=0.5, + pos="504,306"]; + j -> Z [arrowtail=empty, + pos="s,497.16,289.3 493.05,279.85 477.26,243.6 450,181 450,181", + tail_lp="474.68,269.43", + taillabel=empty]; + k [height=0.5, + pos="558,306"]; + k -> Z [arrowtail=invempty, + pos="s,546.44,291.73 539.61,283.89 508.78,248.49 450,181 450,181", + tail_lp="519.02,279.55", + taillabel=invempty]; + l [height=0.5, + pos="612,306"]; + l -> Z [arrowtail=diamond, + pos="s,598.19,294.43 588.38,286.92 543.43,252.51 450,181 450,181", + tail_lp="568.89,287.97", + taillabel=diamond]; + m [height=0.5, + pos="666,306"]; + m -> Z [arrowtail=odiamond, + pos="s,651.22,295.52 640.89,289.14 640.26,288.75 639.62,288.37 639,288 556.14,238.49 450,181 450,181", + tail_lp="621.43,292.01", + taillabel=odiamond]; + n [height=0.5, + pos="720,306"]; + n -> Z [arrowtail=box, + pos="s,705.38,295.25 696.5,289.93 695.33,289.26 694.16,288.61 693,288 588.79,232.63 450,181 450,181", + tail_lp="675.54,292.14", + taillabel=box]; + o [height=0.5, + pos="774,306"]; + o -> Z [arrowtail=obox, + pos="s,759.48,295.05 750.55,289.83 749.37,289.19 748.18,288.57 747,288 620.9,226.49 450,181 450,181", + tail_lp="729.61,292.25", + taillabel=obox]; + p [height=0.5, + pos="828,306"]; + p -> Z [arrowtail=tee, + pos="s,813.54,294.91 808.95,292.14 806.34,290.64 803.64,289.21 801,288 652.68,220.18 450,181 450,181", + tail_lp="783.71,291.73", + taillabel=tee]; + q [height=0.5, + pos="882,306"]; + q -> Z [arrowtail=crow, + pos="s,867.59,294.8 858.61,289.7 857.41,289.09 856.2,288.52 855,288 684.26,213.77 450,181 450,181", + tail_lp="837.69,292.38", + taillabel=crow]; + } + { + edge [dir=forward, + sametail=atail + ]; + Z; + A [height=0.5, + pos="18,18"]; + Z -> A [arrowhead=none, + head_lp="62.196,32.755", + headlabel=none, + pos="450,143 450,143 215.74,110.23 45,36 40.733,34.145 36.359,31.677 32.408,29.198"]; + B [height=0.5, + pos="72,18"]; + Z -> B [arrowhead=normal, + head_lp="116.34,31.673", + headlabel=normal, + pos="e,86.456,29.09 450,143 450,143 247.32,103.82 99,36 97.81,35.456 96.609,34.867 95.411,34.247"]; + C [height=0.5, + pos="126,18"]; + Z -> C [arrowhead=inv, + head_lp="170.39,31.751", + headlabel=inv, + pos="e,140.52,28.947 450,143 450,143 279.1,97.515 153,36 151.82,35.426 150.63,34.814 149.45,34.174"]; + D [height=0.5, + pos="180,18"]; + Z -> D [arrowhead=dot, + head_lp="224.44,32.018", + headlabel=dot, + pos="e,194.62,28.754 450,143 450,143 311.21,91.365 207,36 205.2,35.045 203.36,34.014 201.53,32.948"]; + E [height=0.5, + pos="234,18"]; + Z -> E [arrowhead=odot, + head_lp="278.56,32.079", + headlabel=odot, + pos="e,248.78,28.478 450,143 450,143 343.86,85.507 261,36 259.25,34.956 257.45,33.861 255.65,32.752"]; + F [height=0.5, + pos="288,18"]; + Z -> F [arrowhead=invdot, + head_lp="331.11,36.03", + headlabel=invdot, + pos="e,301.81,29.572 450,143 450,143 362.77,76.232 316.33,40.683"]; + G [height=0.5, + pos="342,18"]; + Z -> G [arrowhead=invodot, + head_lp="380.98,44.446", + headlabel=invodot, + pos="e,353.56,32.27 450,143 450,143 397.49,82.714 365.7,46.212"]; + H [height=0.5, + pos="396,18"]; + Z -> H [arrowhead=open, + head_lp="425.32,54.571", + headlabel=open, + pos="e,402.84,34.705 450,143 450,143 422.74,80.396 406.95,44.154"]; + I [height=0.5, + pos="450,18"]; + Z -> I [arrowhead=halfopen, + arrowtail=inv, + head_lp="462.68,63.431", + headlabel=halfopen, + pos="e,450,36.242 450,143 450,143 450,82.788 450,46.279", + tail_lp="437.32,115.81", + taillabel=sametail]; + J [height=0.5, + pos="504,18"]; + Z -> J [arrowhead=empty, + head_lp="497.93,64.695", + headlabel=empty, + pos="e,497.16,34.705 450,143 450,143 477.26,80.396 493.05,44.154"]; + K [height=0.5, + pos="558,18"]; + Z -> K [arrowhead=invempty, + head_lp="538.15,61.1", + headlabel=invempty, + pos="e,546.44,32.27 450,143 450,143 508.78,75.513 539.61,40.114"]; + L [height=0.5, + pos="612,18"]; + Z -> L [arrowhead=diamond, + head_lp="584.3,56.166", + headlabel=diamond, + pos="e,598.19,29.572 450,143 450,143 543.43,71.485 588.38,37.076"]; + M [height=0.5, + pos="666,18"]; + Z -> M [arrowhead=odiamond, + head_lp="634.76,53.558", + headlabel=odiamond, + pos="e,651.22,28.478 450,143 450,143 556.14,85.507 639,36 639.62,35.627 640.26,35.248 640.89,34.864"]; + N [height=0.5, + pos="720,18"]; + Z -> N [arrowhead=box, + head_lp="688.58,53.61", + headlabel=box, + pos="e,705.38,28.754 450,143 450,143 588.79,91.365 693,36 694.16,35.386 695.33,34.741 696.5,34.075"]; + O [height=0.5, + pos="774,18"]; + Z -> O [arrowhead=obox, + head_lp="742.43,53.63", + headlabel=obox, + pos="e,759.48,28.947 450,143 450,143 620.9,97.515 747,36 748.18,35.426 749.37,34.814 750.55,34.174"]; + P [height=0.5, + pos="828,18"]; + Z -> P [arrowhead=tee, + head_lp="796.8,53.983", + headlabel=tee, + pos="e,813.54,29.09 450,143 450,143 652.68,103.82 801,36 803.64,34.791 806.34,33.362 808.95,31.856"]; + Q [height=0.5, + pos="882,18"]; + Z -> Q [arrowhead=crow, + head_lp="850.22,53.658", + headlabel=crow, + pos="e,867.59,29.198 450,143 450,143 684.26,110.23 855,36 856.2,35.478 857.41,34.908 858.61,34.303"]; + } +} diff --git a/rtest/macosx/compound_dot.gv b/rtest/macosx/compound_dot.gv new file mode 100644 index 000000000..71f8c9b67 --- /dev/null +++ b/rtest/macosx/compound_dot.gv @@ -0,0 +1,52 @@ +digraph G { + graph [bb="0,0,316,220", + compound=true + ]; + node [label="\N"]; + subgraph clusterA { + graph [bb="8,8,78,204"]; + a1 [height=0.5, + pos="43,178", + width=0.75]; + a2 [height=0.5, + pos="43,106", + width=0.75]; + a1 -> a2 [pos="e,43,124.1 43,159.7 43,151.98 43,142.71 43,134.11"]; + a3 [height=0.5, + pos="43,34", + width=0.75]; + a2 -> a3 [pos="e,43,52.104 43,87.697 43,79.983 43,70.712 43,62.112"]; + } + subgraph clusterB { + graph [bb="86,72,308,212"]; + subgraph clusterC { + graph [bb="230,80,300,204"]; + c1 [height=0.5, + pos="265,178", + width=0.75]; + c2 [height=0.5, + pos="265,106", + width=0.75]; + c1 -> c2 [pos="e,265,124.1 265,159.7 265,151.98 265,142.71 265,134.11"]; + } + b1 [height=0.5, + pos="193,178", + width=0.75]; + b1 -> c2 [pos="e,250.2,121.38 207.57,162.83 217.75,152.94 231.52,139.55 243.03,128.36"]; + b2 [height=0.5, + pos="121,106", + width=0.75]; + b1 -> b2 [pos="e,135.8,121.38 178.43,162.83 168.25,152.94 154.48,139.55 142.97,128.36"]; + b3 [height=0.5, + pos="193,106", + width=0.75]; + b1 -> b3 [pos="e,193,124.1 193,159.7 193,151.98 193,142.71 193,134.11"]; + } + a1 -> b2 [lhead=clusterB, + pos="e,86,138.41 58.41,163.17 64.227,157.95 71.165,151.72 78.27,145.35"]; + c2 -> a3 [ltail=clusterC, + pos="e,70.075,35.104 244.93,80.001 241.56,76.939 237.88,74.14 234,72 185.4,45.198 120.5,37.559 80.247,35.525"]; + b3 -> a3 [lhead=clusterA, + ltail=clusterB, + pos="e,78,42.042 157,72 132.57,57.757 101.96,48.209 78.605,42.386"]; +} diff --git a/rtest/macosx/edgeclip_dot.gv b/rtest/macosx/edgeclip_dot.gv new file mode 100644 index 000000000..1091ff11c --- /dev/null +++ b/rtest/macosx/edgeclip_dot.gv @@ -0,0 +1,24 @@ +digraph G { + graph [bb="0,0,126,108"]; + node [label="\N"]; + ab [height=0.5, + pos="27,90", + width=0.75]; + cd [height=0.5, + pos="27,18", + width=0.75]; + ab -> cd [pos="e,27,36.104 27,71.697 27,63.983 27,54.712 27,46.112"]; + CD [height=0.5, + pos="99,18", + width=0.75]; + ab -> CD [pos="e,84.43,33.166 27,89 27,89 55.866,60.936 77.043,40.347", + tailclip=false]; + AB [height=0.5, + pos="99,90", + width=0.75]; + AB -> cd [headclip=false, + pos="e,27,19 99,89 99,89 52.83,44.112 34.434,26.228", + tailclip=false]; + AB -> CD [headclip=false, + pos="e,99,19 99,71.697 99,58.417 99,40.525 99,29.381"]; +} diff --git a/rtest/macosx/nestedclust_dot.gv b/rtest/macosx/nestedclust_dot.gv new file mode 100644 index 000000000..0725c4b03 --- /dev/null +++ b/rtest/macosx/nestedclust_dot.gv @@ -0,0 +1,47 @@ +digraph G { + graph [bb="0,0,300,220"]; + node [color="#00ff005f", + fillcolor="#00ff005f", + label="\N", + style=filled + ]; + { + subgraph cluster_ss81 { + graph [bb="64,8,134,204"]; + a [height=0.5, + pos="99,178", + width=0.75]; + b [height=0.5, + pos="99,106", + width=0.75]; + a -> b [pos="e,99,124.1 99,159.7 99,151.98 99,142.71 99,134.11"]; + c [height=0.5, + pos="99,34", + width=0.75]; + b -> c [pos="e,99,52.104 99,87.697 99,79.983 99,70.712 99,62.112"]; + } + e [height=0.5, + pos="27,178", + width=0.75]; + f [height=0.5, + pos="27,106", + width=0.75]; + e -> f [pos="e,27,124.1 27,159.7 27,151.98 27,142.71 27,134.11"]; + } + { + subgraph cluster_x { + graph [bb="142,144,292,212"]; + subgraph cluster_y { + graph [bb="214,152,284,204"]; + y [height=0.5, + pos="249,178", + width=0.75]; + } + x [height=0.5, + pos="177,178", + width=0.75]; + } + x; + y; + } +} diff --git a/rtest/macosx/ordering_dot.gv b/rtest/macosx/ordering_dot.gv new file mode 100644 index 000000000..7493becb2 --- /dev/null +++ b/rtest/macosx/ordering_dot.gv @@ -0,0 +1,56 @@ +digraph G { + graph [bb="0,0,414,252", + ordering=in + ]; + node [label="\N"]; + 0 [height=0.5, + pos="135,234", + width=0.75]; + 1 [height=0.5, + pos="99,162", + width=0.75]; + 0 -> 1 [pos="e,107.3,179.15 126.65,216.76 122.29,208.28 116.85,197.71 111.96,188.2"]; + 2 [height=0.5, + pos="171,162", + width=0.75]; + 0 -> 2 [pos="e,162.7,179.15 143.35,216.76 147.71,208.28 153.15,197.71 158.04,188.2"]; + 3 [height=0.5, + pos="27,90", + width=0.75]; + 1 -> 3 [pos="e,41.796,105.38 84.43,146.83 74.25,136.94 60.476,123.55 48.969,112.36"]; + 5 [height=0.5, + pos="99,90", + width=0.75]; + 1 -> 5 [pos="e,99,108.1 99,143.7 99,135.98 99,126.71 99,118.11"]; + 7 [height=0.5, + pos="387,90", + width=0.75]; + 1 -> 7 [pos="e,366.45,101.89 119.55,150.11 124.5,147.82 129.85,145.61 135,144 227.89,114.94 258.11,137.06 351,108 352.93,107.4 354.89,106.71 \ +356.84,105.96"]; + 2 -> 5 [pos="e,113.8,105.38 156.43,146.83 146.25,136.94 132.48,123.55 120.97,112.36"]; + 4 [height=0.5, + pos="171,90", + width=0.75]; + 2 -> 4 [pos="e,171,108.1 171,143.7 171,135.98 171,126.71 171,118.11"]; + 6 [height=0.5, + pos="315,90", + width=0.75]; + 2 -> 6 [pos="e,293.67,101.37 192.25,150.67 216.6,138.83 256.72,119.33 284.43,105.86"]; + 8 [height=0.5, + pos="243,90", + width=0.75]; + 2 -> 8 [pos="e,228.2,105.38 185.57,146.83 195.75,136.94 209.52,123.55 221.03,112.36"]; + 9 [height=0.5, + pos="135,18", + width=0.75]; + 3 -> 9 [pos="e,116.4,31.053 45.812,76.807 63.002,65.665 88.618,49.062 107.99,36.504"]; + 5 -> 9 [pos="e,126.7,35.147 107.35,72.765 111.71,64.283 117.15,53.714 122.04,44.197"]; + 7 -> 9 [pos="e,160.18,25.036 366.36,78.387 361.41,76.085 356.08,73.802 351,72 342.42,68.955 229.16,41.611 170.18,27.438"]; + 10 [height=0.5, + pos="243,18", + width=0.75]; + 4 -> 10 [pos="e,228.2,33.385 185.57,74.834 195.75,64.938 209.52,51.546 221.03,40.359"]; + 6 -> 9 [pos="e,158.69,26.998 293.82,78.617 288.99,76.354 283.84,74.031 279,72 241.64,56.339 197.85,40.582 168.46,30.37"]; + 6 -> 10 [pos="e,257.8,33.385 300.43,74.834 290.25,64.938 276.48,51.546 264.97,40.359"]; + 8 -> 10 [pos="e,243,36.104 243,71.697 243,63.983 243,54.712 243,46.112"]; +} diff --git a/rtest/macosx/ordering_dot1.gv b/rtest/macosx/ordering_dot1.gv new file mode 100644 index 000000000..bdde1b236 --- /dev/null +++ b/rtest/macosx/ordering_dot1.gv @@ -0,0 +1,55 @@ +digraph G { + graph [bb="0,0,414,252", + ordering=out + ]; + node [label="\N"]; + 0 [height=0.5, + pos="207,234", + width=0.75]; + 1 [height=0.5, + pos="171,162", + width=0.75]; + 0 -> 1 [pos="e,179.3,179.15 198.65,216.76 194.29,208.28 188.85,197.71 183.96,188.2"]; + 2 [height=0.5, + pos="243,162", + width=0.75]; + 0 -> 2 [pos="e,234.7,179.15 215.35,216.76 219.71,208.28 225.15,197.71 230.04,188.2"]; + 3 [height=0.5, + pos="27,90", + width=0.75]; + 1 -> 3 [pos="e,48.335,101.37 149.75,150.67 125.4,138.83 85.281,119.33 57.572,105.86"]; + 5 [height=0.5, + pos="171,90", + width=0.75]; + 1 -> 5 [pos="e,171,108.1 171,143.7 171,135.98 171,126.71 171,118.11"]; + 7 [height=0.5, + pos="243,90", + width=0.75]; + 1 -> 7 [pos="e,228.2,105.38 185.57,146.83 195.75,136.94 209.52,123.55 221.03,112.36"]; + 2 -> 5 [pos="e,185.8,105.38 228.43,146.83 218.25,136.94 204.48,123.55 192.97,112.36"]; + 4 [height=0.5, + pos="99,90", + width=0.75]; + 2 -> 4 [pos="e,120.33,101.37 221.75,150.67 197.4,138.83 157.28,119.33 129.57,105.86"]; + 6 [height=0.5, + pos="315,90", + width=0.75]; + 2 -> 6 [pos="e,300.2,105.38 257.57,146.83 267.75,136.94 281.52,123.55 293.03,112.36"]; + 8 [height=0.5, + pos="387,90", + width=0.75]; + 2 -> 8 [pos="e,365.67,101.37 264.25,150.67 288.6,138.83 328.72,119.33 356.43,105.86"]; + 9 [height=0.5, + pos="207,18", + width=0.75]; + 3 -> 9 [pos="e,183.31,26.998 48.18,78.617 53.014,76.354 58.155,74.031 63,72 100.36,56.339 144.15,40.582 173.54,30.37"]; + 5 -> 9 [pos="e,198.7,35.147 179.35,72.765 183.71,64.283 189.15,53.714 194.04,44.197"]; + 7 -> 9 [pos="e,215.3,35.147 234.65,72.765 230.29,64.283 224.85,53.714 219.96,44.197"]; + 10 [height=0.5, + pos="315,18", + width=0.75]; + 4 -> 10 [pos="e,289.85,25.091 120.08,78.377 124.92,76.127 130.09,73.869 135,72 184.4,53.195 243.48,36.938 280.13,27.552"]; + 6 -> 9 [pos="e,225.6,31.053 296.19,76.807 279,65.665 253.38,49.062 234.01,36.504"]; + 6 -> 10 [pos="e,315,36.104 315,71.697 315,63.983 315,54.712 315,46.112"]; + 8 -> 10 [pos="e,329.8,33.385 372.43,74.834 362.25,64.938 348.48,51.546 336.97,40.359"]; +} diff --git a/rtest/macosx/rowcolsep_dot.gv b/rtest/macosx/rowcolsep_dot.gv new file mode 100644 index 000000000..ce3211746 --- /dev/null +++ b/rtest/macosx/rowcolsep_dot.gv @@ -0,0 +1,24 @@ +digraph G { + graph [bb="0,0,144,108", + nodesep=0.5 + ]; + node [label="\N", + shape=box + ]; + aaa [height=0.5, + pos="27,90", + width=0.75]; + bbb [height=0.5, + pos="27,18", + width=0.75]; + aaa -> bbb [pos="e,27,36.104 27,71.697 27,63.983 27,54.712 27,46.112"]; + BBB [height=0.5, + pos="117,18", + width=0.75]; + aaa -> BBB [pos="e,95.009,36.104 49.247,71.697 60.582,62.881 74.53,52.032 86.819,42.474"]; + AAA [height=0.5, + pos="117,90", + width=0.75]; + AAA -> bbb [pos="e,48.991,36.104 94.753,71.697 83.418,62.881 69.47,52.032 57.181,42.474"]; + AAA -> BBB [pos="e,117,36.104 117,71.697 117,63.983 117,54.712 117,46.112"]; +} diff --git a/rtest/macosx/rowcolsep_dot1.gv b/rtest/macosx/rowcolsep_dot1.gv new file mode 100644 index 000000000..46486da23 --- /dev/null +++ b/rtest/macosx/rowcolsep_dot1.gv @@ -0,0 +1,24 @@ +digraph G { + graph [bb="0,0,126,180", + ranksep=1.5 + ]; + node [label="\N", + shape=box + ]; + aaa [height=0.5, + pos="27,162", + width=0.75]; + bbb [height=0.5, + pos="27,18", + width=0.75]; + aaa -> bbb [pos="e,27,36.189 27,143.87 27,119.67 27,75.211 27,46.393"]; + BBB [height=0.5, + pos="99,18", + width=0.75]; + aaa -> BBB [pos="e,90.284,36.189 35.685,143.87 48.118,119.35 71.096,74.032 85.686,45.259"]; + AAA [height=0.5, + pos="99,162", + width=0.75]; + AAA -> bbb [pos="e,35.716,36.189 90.315,143.87 77.882,119.35 54.904,74.032 40.314,45.259"]; + AAA -> BBB [pos="e,99,36.189 99,143.87 99,119.67 99,75.211 99,46.393"]; +}