Add SVG of sample input for day 25
parent
19ea072a54
commit
a84f58ee16
|
@ -11,3 +11,7 @@ You then input the nodes to "cut" into the `cut` subcommand. For instance, this
|
|||
```
|
||||
go run main.go inputfile cut htj,pcc dlk,pjj bbg,htb
|
||||
```
|
||||
|
||||
Here is an example SVG of the sample input, to demonstrate how you would pick out "htj-pcc", "dlk-pjj", "bbg-htb"
|
||||
|
||||
![Graph of AoC Sample 1 Day 25](./sample.svg)
|
||||
|
|
|
@ -0,0 +1,267 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 8.1.0 (20230707.0739)
|
||||
-->
|
||||
<!-- Pages: 1 -->
|
||||
<svg width="214pt" height="320pt"
|
||||
viewBox="0.00 0.00 213.56 319.51" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 315.51)">
|
||||
<polygon fill="white" stroke="none" points="-4,4 -4,-315.51 209.56,-315.51 209.56,4 -4,4"/>
|
||||
<!-- cmg -->
|
||||
<g id="node1" class="node">
|
||||
<title>cmg</title>
|
||||
<ellipse fill="none" stroke="black" cx="116.35" cy="-143.69" rx="32.27" ry="18"/>
|
||||
<text text-anchor="middle" x="116.35" y="-139.02" font-family="Times,serif" font-size="14.00">cmg</text>
|
||||
</g>
|
||||
<!-- qnr -->
|
||||
<g id="node2" class="node">
|
||||
<title>qnr</title>
|
||||
<ellipse fill="none" stroke="black" cx="176.97" cy="-83.71" rx="28.59" ry="18"/>
|
||||
<text text-anchor="middle" x="176.97" y="-79.03" font-family="Times,serif" font-size="14.00">qnr</text>
|
||||
</g>
|
||||
<!-- cmg--qnr -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>cmg--qnr</title>
|
||||
<path fill="none" stroke="black" d="M132.28,-127.93C141.26,-119.05 152.43,-107.99 161.36,-99.16"/>
|
||||
</g>
|
||||
<!-- nvd -->
|
||||
<g id="node3" class="node">
|
||||
<title>nvd</title>
|
||||
<ellipse fill="none" stroke="black" cx="163.31" cy="-157.77" rx="29.64" ry="18"/>
|
||||
<text text-anchor="middle" x="163.31" y="-153.1" font-family="Times,serif" font-size="14.00">nvd</text>
|
||||
</g>
|
||||
<!-- cmg--nvd -->
|
||||
<g id="edge2" class="edge">
|
||||
<title>cmg--nvd</title>
|
||||
<path fill="none" stroke="black" d="M145.29,-152.37C145.44,-152.42 145.59,-152.46 145.74,-152.51"/>
|
||||
</g>
|
||||
<!-- lhk -->
|
||||
<g id="node4" class="node">
|
||||
<title>lhk</title>
|
||||
<ellipse fill="none" stroke="black" cx="143.17" cy="-85.15" rx="27" ry="18"/>
|
||||
<text text-anchor="middle" x="143.17" y="-80.47" font-family="Times,serif" font-size="14.00">lhk</text>
|
||||
</g>
|
||||
<!-- cmg--lhk -->
|
||||
<g id="edge3" class="edge">
|
||||
<title>cmg--lhk</title>
|
||||
<path fill="none" stroke="black" d="M124.54,-125.81C127.93,-118.41 131.85,-109.86 135.21,-102.52"/>
|
||||
</g>
|
||||
<!-- bvb -->
|
||||
<g id="node5" class="node">
|
||||
<title>bvb</title>
|
||||
<ellipse fill="none" stroke="black" cx="56.89" cy="-224.93" rx="29.64" ry="18"/>
|
||||
<text text-anchor="middle" x="56.89" y="-220.25" font-family="Times,serif" font-size="14.00">bvb</text>
|
||||
</g>
|
||||
<!-- cmg--bvb -->
|
||||
<g id="edge4" class="edge">
|
||||
<title>cmg--bvb</title>
|
||||
<path fill="none" stroke="black" d="M104.03,-160.53C93.83,-174.47 79.4,-194.18 69.2,-208.12"/>
|
||||
</g>
|
||||
<!-- qnr--nvd -->
|
||||
<g id="edge26" class="edge">
|
||||
<title>qnr--nvd</title>
|
||||
<path fill="none" stroke="black" d="M173.59,-102.02C171.49,-113.41 168.8,-128.02 166.69,-139.42"/>
|
||||
</g>
|
||||
<!-- nvd--lhk -->
|
||||
<g id="edge14" class="edge">
|
||||
<title>nvd--lhk</title>
|
||||
<path fill="none" stroke="black" d="M158.33,-139.82C155.23,-128.65 151.26,-114.33 148.16,-103.14"/>
|
||||
</g>
|
||||
<!-- hfx -->
|
||||
<g id="node8" class="node">
|
||||
<title>hfx</title>
|
||||
<ellipse fill="none" stroke="black" cx="87.39" cy="-226.82" rx="27.01" ry="18"/>
|
||||
<text text-anchor="middle" x="87.39" y="-222.14" font-family="Times,serif" font-size="14.00">hfx</text>
|
||||
</g>
|
||||
<!-- bvb--hfx -->
|
||||
<g id="edge21" class="edge">
|
||||
<title>bvb--hfx</title>
|
||||
<path fill="none" stroke="black" d="M86.63,-226.77C86.88,-226.79 87.07,-226.8 87.19,-226.81"/>
|
||||
</g>
|
||||
<!-- xhk -->
|
||||
<g id="node12" class="node">
|
||||
<title>xhk</title>
|
||||
<ellipse fill="none" stroke="black" cx="70.18" cy="-284.31" rx="29.11" ry="18"/>
|
||||
<text text-anchor="middle" x="70.18" y="-279.64" font-family="Times,serif" font-size="14.00">xhk</text>
|
||||
</g>
|
||||
<!-- bvb--xhk -->
|
||||
<g id="edge20" class="edge">
|
||||
<title>bvb--xhk</title>
|
||||
<path fill="none" stroke="black" d="M60.95,-243.07C62.6,-250.43 64.5,-258.93 66.15,-266.28"/>
|
||||
</g>
|
||||
<!-- pzl -->
|
||||
<g id="node6" class="node">
|
||||
<title>pzl</title>
|
||||
<ellipse fill="none" stroke="black" cx="56.12" cy="-148.57" rx="27" ry="18"/>
|
||||
<text text-anchor="middle" x="56.12" y="-143.89" font-family="Times,serif" font-size="14.00">pzl</text>
|
||||
</g>
|
||||
<!-- pzl--nvd -->
|
||||
<g id="edge7" class="edge">
|
||||
<title>pzl--nvd</title>
|
||||
<path fill="none" stroke="black" d="M83.17,-150.89C98.55,-152.21 117.83,-153.87 133.63,-155.22"/>
|
||||
</g>
|
||||
<!-- lsr -->
|
||||
<g id="node7" class="node">
|
||||
<title>lsr</title>
|
||||
<ellipse fill="none" stroke="black" cx="61.01" cy="-77.68" rx="27" ry="18"/>
|
||||
<text text-anchor="middle" x="61.01" y="-73" font-family="Times,serif" font-size="14.00">lsr</text>
|
||||
</g>
|
||||
<!-- pzl--lsr -->
|
||||
<g id="edge5" class="edge">
|
||||
<title>pzl--lsr</title>
|
||||
<path fill="none" stroke="black" d="M57.38,-130.31C58.11,-119.81 59.02,-106.65 59.74,-96.12"/>
|
||||
</g>
|
||||
<!-- pzl--hfx -->
|
||||
<g id="edge6" class="edge">
|
||||
<title>pzl--hfx</title>
|
||||
<path fill="none" stroke="black" d="M63.22,-166.32C68.33,-179.13 75.21,-196.34 80.32,-209.13"/>
|
||||
</g>
|
||||
<!-- lsr--lhk -->
|
||||
<g id="edge22" class="edge">
|
||||
<title>lsr--lhk</title>
|
||||
<path fill="none" stroke="black" d="M87.92,-80.12C96.9,-80.94 106.92,-81.85 115.93,-82.67"/>
|
||||
</g>
|
||||
<!-- rsh -->
|
||||
<g id="node9" class="node">
|
||||
<title>rsh</title>
|
||||
<ellipse fill="none" stroke="black" cx="27.53" cy="-61.31" rx="27.53" ry="18"/>
|
||||
<text text-anchor="middle" x="27.53" y="-56.63" font-family="Times,serif" font-size="14.00">rsh</text>
|
||||
</g>
|
||||
<!-- rsh--pzl -->
|
||||
<g id="edge9" class="edge">
|
||||
<title>rsh--pzl</title>
|
||||
<path fill="none" stroke="black" d="M33.46,-79.39C38.36,-94.36 45.3,-115.54 50.21,-130.51"/>
|
||||
</g>
|
||||
<!-- rsh--lsr -->
|
||||
<g id="edge10" class="edge">
|
||||
<title>rsh--lsr</title>
|
||||
<path fill="none" stroke="black" d="M50.05,-72.32C50.15,-72.36 50.24,-72.41 50.33,-72.45"/>
|
||||
</g>
|
||||
<!-- frs -->
|
||||
<g id="node10" class="node">
|
||||
<title>frs</title>
|
||||
<ellipse fill="none" stroke="black" cx="109.89" cy="-18" rx="27" ry="18"/>
|
||||
<text text-anchor="middle" x="109.89" y="-13.32" font-family="Times,serif" font-size="14.00">frs</text>
|
||||
</g>
|
||||
<!-- rsh--frs -->
|
||||
<g id="edge8" class="edge">
|
||||
<title>rsh--frs</title>
|
||||
<path fill="none" stroke="black" d="M49.17,-49.93C61.28,-43.56 76.32,-35.66 88.4,-29.3"/>
|
||||
</g>
|
||||
<!-- frs--qnr -->
|
||||
<g id="edge31" class="edge">
|
||||
<title>frs--qnr</title>
|
||||
<path fill="none" stroke="black" d="M125.45,-33.24C136.29,-43.86 150.68,-57.95 161.5,-68.55"/>
|
||||
</g>
|
||||
<!-- frs--lhk -->
|
||||
<g id="edge32" class="edge">
|
||||
<title>frs--lhk</title>
|
||||
<path fill="none" stroke="black" d="M118.46,-35.29C123.39,-45.24 129.57,-57.7 134.52,-67.68"/>
|
||||
</g>
|
||||
<!-- frs--lsr -->
|
||||
<g id="edge33" class="edge">
|
||||
<title>frs--lsr</title>
|
||||
<path fill="none" stroke="black" d="M96.79,-33.99C89.78,-42.55 81.17,-53.07 74.15,-61.64"/>
|
||||
</g>
|
||||
<!-- rhn -->
|
||||
<g id="node11" class="node">
|
||||
<title>rhn</title>
|
||||
<ellipse fill="none" stroke="black" cx="112.32" cy="-293.51" rx="28.59" ry="18"/>
|
||||
<text text-anchor="middle" x="112.32" y="-288.83" font-family="Times,serif" font-size="14.00">rhn</text>
|
||||
</g>
|
||||
<!-- rhn--bvb -->
|
||||
<g id="edge12" class="edge">
|
||||
<title>rhn--bvb</title>
|
||||
<path fill="none" stroke="black" d="M99.18,-277.26C90.35,-266.32 78.75,-251.97 69.93,-241.06"/>
|
||||
</g>
|
||||
<!-- rhn--hfx -->
|
||||
<g id="edge13" class="edge">
|
||||
<title>rhn--hfx</title>
|
||||
<path fill="none" stroke="black" d="M105.64,-275.64C102.06,-266.07 97.67,-254.32 94.09,-244.74"/>
|
||||
</g>
|
||||
<!-- rhn--xhk -->
|
||||
<g id="edge11" class="edge">
|
||||
<title>rhn--xhk</title>
|
||||
<path fill="none" stroke="black" d="M84.92,-287.53C84.79,-287.5 84.67,-287.47 84.54,-287.45"/>
|
||||
</g>
|
||||
<!-- xhk--hfx -->
|
||||
<g id="edge19" class="edge">
|
||||
<title>xhk--hfx</title>
|
||||
<path fill="none" stroke="black" d="M75.53,-266.44C77.58,-259.58 79.92,-251.76 81.98,-244.88"/>
|
||||
</g>
|
||||
<!-- rzs -->
|
||||
<g id="node13" class="node">
|
||||
<title>rzs</title>
|
||||
<ellipse fill="none" stroke="black" cx="103.99" cy="-61.32" rx="27" ry="18"/>
|
||||
<text text-anchor="middle" x="103.99" y="-56.64" font-family="Times,serif" font-size="14.00">rzs</text>
|
||||
</g>
|
||||
<!-- rzs--cmg -->
|
||||
<g id="edge16" class="edge">
|
||||
<title>rzs--cmg</title>
|
||||
<path fill="none" stroke="black" d="M106.74,-79.6C108.78,-93.25 111.57,-111.82 113.62,-125.46"/>
|
||||
</g>
|
||||
<!-- rzs--qnr -->
|
||||
<g id="edge15" class="edge">
|
||||
<title>rzs--qnr</title>
|
||||
<path fill="none" stroke="black" d="M128.7,-68.9C135.81,-71.08 143.6,-73.47 150.79,-75.68"/>
|
||||
</g>
|
||||
<!-- rzs--lsr -->
|
||||
<g id="edge17" class="edge">
|
||||
<title>rzs--lsr</title>
|
||||
<path fill="none" stroke="black" d="M80.49,-70.26C80.34,-70.32 80.18,-70.38 80.02,-70.44"/>
|
||||
</g>
|
||||
<!-- rzs--rsh -->
|
||||
<g id="edge18" class="edge">
|
||||
<title>rzs--rsh</title>
|
||||
<path fill="none" stroke="black" d="M76.82,-61.31C69.87,-61.31 62.38,-61.31 55.39,-61.31"/>
|
||||
</g>
|
||||
<!-- jqt -->
|
||||
<g id="node14" class="node">
|
||||
<title>jqt</title>
|
||||
<ellipse fill="none" stroke="black" cx="170.96" cy="-240.47" rx="27" ry="18"/>
|
||||
<text text-anchor="middle" x="170.96" y="-235.79" font-family="Times,serif" font-size="14.00">jqt</text>
|
||||
</g>
|
||||
<!-- jqt--nvd -->
|
||||
<g id="edge25" class="edge">
|
||||
<title>jqt--nvd</title>
|
||||
<path fill="none" stroke="black" d="M169.26,-222.11C167.99,-208.41 166.27,-189.77 165,-176.07"/>
|
||||
</g>
|
||||
<!-- jqt--rhn -->
|
||||
<g id="edge23" class="edge">
|
||||
<title>jqt--rhn</title>
|
||||
<path fill="none" stroke="black" d="M154.63,-255.24C146.63,-262.48 137.01,-271.17 128.97,-278.44"/>
|
||||
</g>
|
||||
<!-- jqt--xhk -->
|
||||
<g id="edge24" class="edge">
|
||||
<title>jqt--xhk</title>
|
||||
<path fill="none" stroke="black" d="M148.09,-250.41C132.06,-257.39 110.68,-266.69 94.36,-273.79"/>
|
||||
</g>
|
||||
<!-- ntq -->
|
||||
<g id="node15" class="node">
|
||||
<title>ntq</title>
|
||||
<ellipse fill="none" stroke="black" cx="132.89" cy="-274.79" rx="28.06" ry="18"/>
|
||||
<text text-anchor="middle" x="132.89" y="-270.12" font-family="Times,serif" font-size="14.00">ntq</text>
|
||||
</g>
|
||||
<!-- ntq--bvb -->
|
||||
<g id="edge29" class="edge">
|
||||
<title>ntq--bvb</title>
|
||||
<path fill="none" stroke="black" d="M112.92,-261.69C101.93,-254.48 88.31,-245.54 77.26,-238.29"/>
|
||||
</g>
|
||||
<!-- ntq--hfx -->
|
||||
<g id="edge28" class="edge">
|
||||
<title>ntq--hfx</title>
|
||||
<path fill="none" stroke="black" d="M117.99,-259.09C112.91,-253.73 107.23,-247.75 102.16,-242.4"/>
|
||||
</g>
|
||||
<!-- ntq--xhk -->
|
||||
<g id="edge30" class="edge">
|
||||
<title>ntq--xhk</title>
|
||||
<path fill="none" stroke="black" d="M105.2,-279C103.1,-279.31 100.98,-279.64 98.87,-279.96"/>
|
||||
</g>
|
||||
<!-- ntq--jqt -->
|
||||
<g id="edge27" class="edge">
|
||||
<title>ntq--jqt</title>
|
||||
<path fill="none" stroke="black" d="M149.26,-260.04C151.03,-258.44 152.83,-256.81 154.61,-255.21"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 10 KiB |
Loading…
Reference in New Issue