Skip to content

Instantly share code, notes, and snippets.

@Stebalien
Created August 15, 2018 21:11
Show Gist options
  • Save Stebalien/798f1d8d672f365ef1030fc810cea3ea to your computer and use it in GitHub Desktop.
Save Stebalien/798f1d8d672f365ef1030fc810cea3ea to your computer and use it in GitHub Desktop.
<mxfile userAgent="Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0" version="9.0.5" editor="www.draw.io" type="device"><diagram id="87810798-0fcf-421c-e1c7-8ed63d431b1e" name="Page-1">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</diagram></mxfile>
Display the source blob
Display the rendered blob
Raw
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
style="background-color: rgb(255, 255, 255);"
width="1074px"
height="521px"
version="1.1"
id="svg338"
sodipodi:docname="Untitled Diagram(1).svg"
inkscape:version="0.92.2 2405546, 2018-03-11">
<metadata
id="metadata342">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1918"
inkscape:window-height="1520"
id="namedview340"
showgrid="false"
inkscape:zoom="0.9059501"
inkscape:cx="354.66071"
inkscape:cy="113.73954"
inkscape:window-x="0"
inkscape:window-y="24"
inkscape:window-maximized="0"
inkscape:current-layer="g210" />
<defs
id="defs2" />
<g
transform="translate(0.5,0.5)"
id="g336">
<rect
x="0"
y="70"
width="523"
height="370"
fill="#ffffff"
stroke="#000000"
pointer-events="none"
id="rect4" />
<g
transform="translate(253.5,53.5)"
id="g10">
<switch
id="switch8">
<foreignObject
style="overflow:visible;"
pointer-events="all"
width="16"
height="12"
requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
<xhtml:div
style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; width: 17px; white-space: nowrap; overflow-wrap: normal; text-align: center;">
<xhtml:div
style="display:inline-block;text-align:inherit;text-decoration:inherit;">CLI</xhtml:div>
</xhtml:div>
</foreignObject>
<text
x="8"
y="12"
fill="#000000"
text-anchor="middle"
font-size="12px"
font-family="Helvetica"
id="text6">CLI</text>
</switch>
</g>
<path
d="M 422 410 L 398 410 L 398 430 L 433 430 L 433 473.63"
fill="none"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path12" />
<path
d="M 433 478.88 L 429.5 471.88 L 433 473.63 L 436.5 471.88 Z"
fill="#000000"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path14" />
<rect
x="150"
y="100"
width="363"
height="310"
fill="#ffffff"
stroke="#000000"
pointer-events="none"
id="rect16" />
<g
fill="#000000"
font-family="Helvetica"
text-anchor="middle"
font-size="12px"
id="g20">
<text
x="331"
y="92.5"
id="text18">Commands Lib</text>
</g>
<rect
x="273"
y="154"
width="160"
height="230"
fill="#ffffff"
stroke="#000000"
pointer-events="none"
id="rect22" />
<g
fill="#000000"
font-family="Helvetica"
text-anchor="middle"
font-size="12px"
id="g26">
<text
x="352.5"
y="146.5"
id="text24">$command N</text>
</g>
<rect
x="443"
y="241"
width="60"
height="60"
fill="#ffffff"
stroke="#000000"
pointer-events="none"
id="rect28" />
<g
fill="#000000"
font-family="Helvetica"
text-anchor="middle"
font-size="12px"
id="g34">
<text
x="472.5"
y="267.5"
id="text30">HTTP-API</text>
<text
x="472.5"
y="281.5"
id="text32">Client</text>
</g>
<g
fill="#000000"
font-family="Helvetica"
text-anchor="middle"
font-size="12px"
id="g38">
<text
x="331"
y="217.5"
id="text36">Offline</text>
</g>
<g
fill="#000000"
font-family="Helvetica"
text-anchor="middle"
font-size="12px"
id="g42">
<text
x="392.5"
y="217.5"
id="text40">Online</text>
</g>
<path
d="M 158 40 L 158 95 L 181 95 L 181 143.63"
fill="none"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path44" />
<path
d="M 181 148.88 L 177.5 141.88 L 181 143.63 L 184.5 141.88 Z"
fill="#000000"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path46" />
<ellipse
cx="158"
cy="20"
rx="35"
ry="20"
fill="#ffffff"
stroke="#000000"
pointer-events="none"
id="ellipse48" />
<g
fill="#000000"
font-family="Helvetica"
text-anchor="middle"
font-size="12px"
id="g52">
<text
x="157.5"
y="23.5"
id="text50">STDIN</text>
</g>
<path
d="M 229 40 L 229 95 L 209 95 L 209 143.63"
fill="none"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path54" />
<path
d="M 209 148.88 L 205.5 141.88 L 209 143.63 L 212.5 141.88 Z"
fill="#000000"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path56" />
<ellipse
cx="229"
cy="20"
rx="35"
ry="20"
fill="#ffffff"
stroke="#000000"
pointer-events="none"
id="ellipse58" />
<g
fill="#000000"
font-family="Helvetica"
text-anchor="middle"
font-size="12px"
id="g62">
<text
x="228.5"
y="23.5"
id="text60">Arguments</text>
</g>
<ellipse
cx="273"
cy="500"
rx="30"
ry="20"
fill="#ffffff"
stroke="#000000"
pointer-events="none"
id="ellipse64" />
<g
fill="#000000"
font-family="Helvetica"
text-anchor="middle"
font-size="12px"
id="g68">
<text
x="272.5"
y="503.5"
id="text66">STDOUT</text>
</g>
<ellipse
cx="353"
cy="500"
rx="28.5"
ry="20"
fill="#ffffff"
stroke="#000000"
pointer-events="none"
id="ellipse70" />
<g
fill="#000000"
font-family="Helvetica"
text-anchor="middle"
font-size="12px"
id="g74">
<text
x="352"
y="503.5"
id="text72">STDERR</text>
</g>
<ellipse
cx="433"
cy="500"
rx="30"
ry="20"
fill="#ffffff"
stroke="#000000"
pointer-events="none"
id="ellipse76" />
<g
fill="#000000"
font-family="Helvetica"
text-anchor="middle"
font-size="12px"
id="g80">
<text
x="432.5"
y="503.5"
id="text78">EXIT</text>
</g>
<rect
x="291"
y="115"
width="120"
height="20"
fill="#ffffff"
stroke="#000000"
pointer-events="none"
id="rect82" />
<g
transform="translate(317.5,98.5)"
id="g88">
<switch
id="switch86">
<foreignObject
style="overflow:visible;"
pointer-events="all"
width="66"
height="12"
requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
<xhtml:div
style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; width: 67px; white-space: nowrap; overflow-wrap: normal; text-align: center;">
<xhtml:div
style="display:inline-block;text-align:inherit;text-decoration:inherit;">$command 1</xhtml:div>
</xhtml:div>
</foreignObject>
<text
x="33"
y="12"
fill="#000000"
text-anchor="middle"
font-size="12px"
font-family="Helvetica"
id="text84">$command 1</text>
</switch>
</g>
<g
fill="#000000"
font-family="Helvetica"
text-anchor="middle"
font-size="12px"
id="g92">
<text
x="350.5"
y="128.5"
id="text90">...</text>
</g>
<path
d="M 195 186 L 195 193.63"
fill="none"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path94" />
<path
d="M 195 198.88 L 191.5 191.88 L 195 193.63 L 198.5 191.88 Z"
fill="#000000"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path96" />
<rect
x="167"
y="150"
width="56"
height="36"
fill="#ffffff"
stroke="#000000"
pointer-events="none"
id="rect98" />
<g
fill="#000000"
font-family="Helvetica"
text-anchor="middle"
font-size="12px"
id="g102">
<text
x="194.5"
y="171.5"
id="text100">CLI Parser</text>
</g>
<path
d="M 235 215 L 266.63 215"
fill="none"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path104" />
<path
d="M 271.88 215 L 264.88 218.5 L 266.63 215 L 264.88 211.5 Z"
fill="#000000"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path106" />
<rect
x="155"
y="200"
width="80"
height="30"
fill="#ffffff"
stroke="#000000"
pointer-events="none"
id="rect108" />
<g
fill="#000000"
font-family="Helvetica"
text-anchor="middle"
font-size="12px"
id="g112">
<text
x="194.5"
y="218.5"
id="text110">CLI Dispatcher</text>
</g>
<path
d="M 81 265 L 81 280.63"
fill="none"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path114" />
<path
d="M 81 285.88 L 77.5 278.88 L 81 280.63 L 84.5 278.88 Z"
fill="#000000"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path116" />
<rect
x="31"
y="235"
width="100"
height="30"
fill="#ffffff"
stroke="#000000"
pointer-events="none"
id="rect118" />
<g
fill="#000000"
font-family="Helvetica"
text-anchor="middle"
font-size="12px"
id="g122">
<text
x="80.5"
y="253.5"
id="text120">CoreAPI</text>
</g>
<rect
x="31"
y="287"
width="100"
height="50"
fill="#ffffff"
stroke="#000000"
pointer-events="none"
id="rect124" />
<g
fill="#000000"
font-family="Helvetica"
text-anchor="middle"
font-size="12px"
id="g130">
<text
x="80.5"
y="308.5"
id="text126">IpfsNode</text>
<text
x="80.5"
y="322.5"
id="text128">(the kitchen sink)</text>
</g>
<rect
x="284"
y="344"
width="137"
height="30"
fill="#ffffff"
stroke="#000000"
stroke-dasharray="3 3"
pointer-events="none"
id="rect132" />
<g
fill="#000000"
font-family="Helvetica"
font-size="12px"
id="g136">
<text
x="286.5"
y="336.5"
id="text134">Legacy</text>
</g>
<rect
x="288"
y="349"
width="130"
height="20"
fill="#ffffff"
stroke="#000000"
pointer-events="none"
id="rect138" />
<g
fill="#000000"
font-family="Helvetica"
text-anchor="middle"
font-size="12px"
id="g142">
<text
x="352.5"
y="362.5"
id="text140">$command.PostRun()</text>
</g>
<path
d="M 473 301 L 473 325 L 386 325 L 386 342.63"
fill="none"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path144" />
<path
d="M 386 347.88 L 382.5 340.88 L 386 342.63 L 389.5 340.88 Z"
fill="#000000"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path146" />
<path
d="M 321 369 L 321 425 L 273 425 L 273 473.63"
fill="none"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path148" />
<path
d="M 273 478.88 L 269.5 471.88 L 273 473.63 L 276.5 471.88 Z"
fill="#000000"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path150" />
<path
d="M 353 369 L 353 473.63"
fill="none"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path152" />
<path
d="M 353 478.88 L 349.5 471.88 L 353 473.63 L 356.5 471.88 Z"
fill="#000000"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path154" />
<rect
x="286"
y="172"
width="137"
height="30"
fill="#ffffff"
stroke="#000000"
stroke-dasharray="3 3"
pointer-events="none"
id="rect156" />
<g
fill="#000000"
font-family="Helvetica"
text-anchor="middle"
font-size="12px"
id="g160">
<text
x="354"
y="164.5"
id="text158">Legacy</text>
</g>
<path
d="M 372 201 L 372 224 L 473 224 L 473 234.63"
fill="none"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path162" />
<path
d="M 473 239.88 L 469.5 232.88 L 473 234.63 L 476.5 232.88 Z"
fill="#000000"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path164" />
<rect
x="293"
y="178"
width="120"
height="20"
fill="#ffffff"
stroke="#000000"
pointer-events="none"
id="rect166" />
<g
fill="#000000"
font-family="Helvetica"
text-anchor="middle"
font-size="12px"
id="g170">
<text
x="352.5"
y="191.5"
id="text168">$command.PreRun()</text>
</g>
<rect
x="293"
y="239"
width="120"
height="71"
fill="#ffffff"
stroke="#000000"
stroke-dasharray="3 3"
pointer-events="none"
id="rect172" />
<g
fill="#000000"
font-family="Helvetica"
font-size="12px"
id="g176">
<text
x="295.5"
y="231.5"
id="text174">Legacy</text>
</g>
<path
d="M 353 303 L 353 342.63"
fill="none"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path178" />
<path
d="M 353 347.88 L 349.5 340.88 L 353 342.63 L 356.5 340.88 Z"
fill="#000000"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path180" />
<rect
x="300"
y="243"
width="106"
height="60"
fill="#ffffff"
stroke="#000000"
pointer-events="none"
id="rect182" />
<g
fill="#000000"
font-family="Helvetica"
text-anchor="middle"
font-size="12px"
id="g186">
<text
x="352.5"
y="276.5"
id="text184">$command.Run()</text>
</g>
<path
d="M 296.63 299.04 L 137.37 299.96"
fill="none"
stroke="#000000"
stroke-miterlimit="10"
stroke-dasharray="3 3"
pointer-events="none"
id="path188" />
<path
d="M 301.88 299.01 L 294.9 302.55 L 296.63 299.04 L 294.86 295.55 Z"
fill="#000000"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path190" />
<path
d="M 132.12 299.99 L 139.1 296.45 L 137.37 299.96 L 139.14 303.45 Z"
fill="#000000"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path192" />
<path
d="M 137.37 258 L 293.63 258"
fill="none"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path194" />
<path
d="M 132.12 258 L 139.12 254.5 L 137.37 258 L 139.12 261.5 Z"
fill="#000000"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path196" />
<path
d="M 298.88 258 L 291.88 261.5 L 293.63 258 L 291.88 254.5 Z"
fill="#000000"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path198" />
<rect
x="614.5"
y="70"
width="458"
height="370"
fill="#ffffff"
stroke="#000000"
pointer-events="none"
id="rect200" />
<g
fill="#000000"
font-family="Helvetica"
text-anchor="middle"
font-size="12px"
id="g204">
<text
x="843"
y="62.5"
id="text202">Daemon</text>
</g>
<rect
x="764.5"
y="100"
width="298"
height="310"
fill="#ffffff"
stroke="#000000"
pointer-events="none"
id="rect206" />
<g
fill="#000000"
font-family="Helvetica"
text-anchor="middle"
font-size="12px"
id="g210">
<text
x="913"
y="92.5"
id="text208">Commands Lib</text>
</g>
<path
d="M 890 327 L 803 327 L 803 152.37"
fill="none"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path212" />
<path
d="M 803 147.12 L 806.5 154.12 L 803 152.37 L 799.5 154.12 Z"
fill="#000000"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path214" />
<rect
x="890"
y="154"
width="157"
height="230"
fill="#ffffff"
stroke="#000000"
pointer-events="none"
id="rect216" />
<g
fill="#000000"
font-family="Helvetica"
text-anchor="middle"
font-size="12px"
id="g220">
<text
x="968"
y="146.5"
id="text218">$command N</text>
</g>
<path
d="M 848 146 L 855 146 L 855 159.63"
fill="none"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path222" />
<path
d="M 855 164.88 L 851.5 157.88 L 855 159.63 L 858.5 157.88 Z"
fill="#000000"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path224" />
<rect
x="780"
y="111"
width="90"
height="35"
fill="#ffffff"
stroke="#000000"
pointer-events="none"
id="rect226" />
<g
fill="#000000"
font-family="Helvetica"
font-size="12px"
id="g230">
<text
x="782.5"
y="132"
id="text228">HTTP-API Server</text>
</g>
<rect
x="905"
y="115"
width="120"
height="20"
fill="#ffffff"
stroke="#000000"
pointer-events="none"
id="rect232" />
<g
transform="translate(931.5,98.5)"
id="g238">
<switch
id="switch236">
<foreignObject
style="overflow:visible;"
pointer-events="all"
width="66"
height="12"
requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility">
<xhtml:div
style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; vertical-align: top; width: 67px; white-space: nowrap; overflow-wrap: normal; text-align: center;">
<xhtml:div
style="display:inline-block;text-align:inherit;text-decoration:inherit;">$command 1</xhtml:div>
</xhtml:div>
</foreignObject>
<text
x="33"
y="12"
fill="#000000"
text-anchor="middle"
font-size="12px"
font-family="Helvetica"
id="text234">$command 1</text>
</switch>
</g>
<g
fill="#000000"
font-family="Helvetica"
text-anchor="middle"
font-size="12px"
id="g242">
<text
x="964.5"
y="128.5"
id="text240">...</text>
</g>
<path
d="M 695 262 L 695 276.63"
fill="none"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path244" />
<path
d="M 695 281.88 L 691.5 274.88 L 695 276.63 L 698.5 274.88 Z"
fill="#000000"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path246" />
<rect
x="645"
y="232"
width="100"
height="30"
fill="#ffffff"
stroke="#000000"
pointer-events="none"
id="rect248" />
<g
fill="#000000"
font-family="Helvetica"
text-anchor="middle"
font-size="12px"
id="g252">
<text
x="694.5"
y="250.5"
id="text250">CoreAPI</text>
</g>
<rect
x="645"
y="283"
width="100"
height="50"
fill="#ffffff"
stroke="#000000"
pointer-events="none"
id="rect254" />
<g
fill="#000000"
font-family="Helvetica"
text-anchor="middle"
font-size="12px"
id="g260">
<text
x="694.5"
y="297.5"
id="text256">IpfsNode</text>
<text
x="694.5"
y="311.5"
id="text258">(the kitchen sink)</text>
</g>
<rect
x="907"
y="235"
width="120"
height="71"
fill="#ffffff"
stroke="#000000"
stroke-dasharray="3 3"
pointer-events="none"
id="rect262" />
<g
fill="#000000"
font-family="Helvetica"
font-size="12px"
id="g266">
<text
x="909.5"
y="227.5"
id="text264">Legacy</text>
</g>
<rect
x="914"
y="239"
width="106"
height="60"
fill="#ffffff"
stroke="#000000"
pointer-events="none"
id="rect268" />
<g
fill="#000000"
font-family="Helvetica"
text-anchor="middle"
font-size="12px"
id="g272">
<text
x="966.5"
y="272.5"
id="text270">$command.Run()</text>
</g>
<path
d="M 910.63 295.04 L 751.37 295.96"
fill="none"
stroke="#000000"
stroke-miterlimit="10"
stroke-dasharray="3 3"
pointer-events="none"
id="path274" />
<path
d="M 915.88 295.01 L 908.9 298.55 L 910.63 295.04 L 908.86 291.55 Z"
fill="#000000"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path276" />
<path
d="M 746.12 295.99 L 753.1 292.45 L 751.37 295.96 L 753.14 299.45 Z"
fill="#000000"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path278" />
<path
d="M 751.37 254.96 L 907.63 254.04"
fill="none"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path280" />
<path
d="M 746.12 254.99 L 753.1 251.45 L 751.37 254.96 L 753.14 258.45 Z"
fill="#000000"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path282" />
<path
d="M 912.88 254.01 L 905.9 257.55 L 907.63 254.04 L 905.86 250.55 Z"
fill="#000000"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path284" />
<path
d="M 353 198 L 353 236.63"
fill="none"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path286" />
<path
d="M 353 241.88 L 349.5 234.88 L 353 236.63 L 356.5 234.88 Z"
fill="#000000"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path288" />
<path
d="M 870 181 L 883.63 181"
fill="none"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path290" />
<path
d="M 888.88 181 L 881.88 184.5 L 883.63 181 L 881.88 177.5 Z"
fill="#000000"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path292" />
<rect
x="810"
y="166"
width="60"
height="29"
fill="#ffffff"
stroke="#000000"
pointer-events="none"
id="rect294" />
<g
fill="#000000"
font-family="Helvetica"
text-anchor="middle"
font-size="12px"
id="g300">
<text
x="839.5"
y="177"
id="text296">HTTP</text>
<text
x="839.5"
y="191"
id="text298">Dispatcher</text>
</g>
<path
d="M 736.37 129 L 773.63 129"
fill="none"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path302" />
<path
d="M 731.12 129 L 738.12 125.5 L 736.37 129 L 738.12 132.5 Z"
fill="#000000"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path304" />
<path
d="M 778.88 129 L 771.88 132.5 L 773.63 129 L 771.88 125.5 Z"
fill="#000000"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path306" />
<rect
x="640"
y="108"
width="90"
height="82"
fill="#ffffff"
stroke="#000000"
pointer-events="none"
id="rect308" />
<g
fill="#000000"
font-family="Helvetica"
text-anchor="middle"
font-size="12px"
id="g312">
<text
x="684.5"
y="152.5"
id="text310">HTTP Server</text>
</g>
<g
fill="#000000"
font-family="Helvetica"
text-anchor="middle"
font-size="12px"
id="g316">
<text
x="756"
y="119"
id="text314">/api/v0</text>
</g>
<path
d="M 509.37 256 L 572 256 L 572 129 L 633.63 129"
fill="none"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path318" />
<path
d="M 504.12 256 L 511.12 252.5 L 509.37 256 L 511.12 259.5 Z"
fill="#000000"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path320" />
<path
d="M 638.88 129 L 631.88 132.5 L 633.63 129 L 631.88 125.5 Z"
fill="#000000"
stroke="#000000"
stroke-miterlimit="10"
pointer-events="none"
id="path322" />
<rect
x="908.5"
y="169.5"
width="120"
height="20"
fill-opacity="0.5"
fill="#ffffff"
stroke="#000000"
stroke-opacity="0.5"
pointer-events="none"
id="rect324" />
<g
fill="#000000"
font-family="Helvetica"
text-anchor="middle"
font-size="12px"
opacity="0.5"
id="g328">
<text
x="968"
y="183"
id="text326">$command.PreRun()</text>
</g>
<rect
x="903.5"
y="340.5"
width="130"
height="20"
fill-opacity="0.5"
fill="#ffffff"
stroke="#000000"
stroke-opacity="0.5"
pointer-events="none"
id="rect330" />
<g
fill="#000000"
font-family="Helvetica"
text-anchor="middle"
font-size="12px"
opacity="0.5"
id="g334">
<text
x="968"
y="354"
id="text332">$command.PostRun()</text>
</g>
</g>
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment