Skip to content

Instantly share code, notes, and snippets.

@PM2Ring
Created February 4, 2021 08:17
Show Gist options
  • Save PM2Ring/138be0487d7641c090089af5e1bf9240 to your computer and use it in GitHub Desktop.
Save PM2Ring/138be0487d7641c090089af5e1bf9240 to your computer and use it in GitHub Desktop.
Merger-splitter diagram
Display the source blob
Display the rendered blob
Raw
<?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 2.43.0 (0)
-->
<!-- Title: %3 Pages: 1 -->
<svg width="405pt" height="392pt"
viewBox="0.00 0.00 405.05 392.42" 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 388.42)">
<title>%3</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-388.42 401.05,-388.42 401.05,4 -4,4"/>
<!-- src -->
<g id="node1" class="node">
<title>src</title>
<ellipse fill="#ffbbbb" stroke="black" cx="289.53" cy="-360.37" rx="37.45" ry="24.08"/>
<text text-anchor="middle" x="289.53" y="-354.17" font-family="Times,serif" font-size="24.00">src</text>
</g>
<!-- m2 -->
<g id="node2" class="node">
<title>m2</title>
<ellipse fill="#9999ff" stroke="black" cx="289.53" cy="-276.29" rx="38.37" ry="24.08"/>
<text text-anchor="middle" x="289.53" y="-270.09" font-family="Times,serif" font-size="24.00">m2</text>
</g>
<!-- src&#45;&gt;m2 -->
<g id="edge1" class="edge">
<title>src&#45;&gt;m2</title>
<path fill="none" stroke="black" d="M289.53,-336.07C289.53,-328.12 289.53,-319.07 289.53,-310.49"/>
<polygon fill="black" stroke="black" points="289.53,-300.37 294.03,-310.37 289.53,-305.37 289.53,-310.37 289.53,-310.37 289.53,-310.37 289.53,-305.37 285.03,-310.37 289.53,-300.37 289.53,-300.37"/>
</g>
<!-- s3 -->
<g id="node3" class="node">
<title>s3</title>
<ellipse fill="#aaffaa" stroke="black" cx="260.53" cy="-192.21" rx="31.23" ry="24.08"/>
<text text-anchor="middle" x="260.53" y="-186.01" font-family="Times,serif" font-size="24.00">s3</text>
</g>
<!-- m2&#45;&gt;s3 -->
<g id="edge2" class="edge">
<title>m2&#45;&gt;s3</title>
<path fill="none" stroke="black" d="M281.45,-252.43C278.47,-244 275.04,-234.28 271.83,-225.19"/>
<polygon fill="black" stroke="black" points="268.46,-215.67 276.04,-223.6 270.13,-220.38 271.79,-225.1 271.79,-225.1 271.79,-225.1 270.13,-220.38 267.55,-226.59 268.46,-215.67 268.46,-215.67"/>
</g>
<!-- s2a -->
<g id="node4" class="node">
<title>s2a</title>
<ellipse fill="#00ff00" stroke="black" cx="115.53" cy="-108.12" rx="41.02" ry="24.08"/>
<text text-anchor="middle" x="115.53" y="-101.92" font-family="Times,serif" font-size="24.00">s2a</text>
</g>
<!-- s3&#45;&gt;s2a -->
<g id="edge3" class="edge">
<title>s3&#45;&gt;s2a</title>
<path fill="none" stroke="black" d="M235.93,-177.28C213.23,-164.44 179.2,-145.17 153.11,-130.4"/>
<polygon fill="black" stroke="black" points="144.24,-125.38 155.16,-126.39 148.59,-127.84 152.94,-130.3 152.94,-130.3 152.94,-130.3 148.59,-127.84 150.72,-134.22 144.24,-125.38 144.24,-125.38"/>
</g>
<!-- s2b -->
<g id="node5" class="node">
<title>s2b</title>
<ellipse fill="#00ff00" stroke="black" cx="240.53" cy="-108.12" rx="41.94" ry="24.08"/>
<text text-anchor="middle" x="240.53" y="-101.92" font-family="Times,serif" font-size="24.00">s2b</text>
</g>
<!-- s3&#45;&gt;s2b -->
<g id="edge4" class="edge">
<title>s3&#45;&gt;s2b</title>
<path fill="none" stroke="black" d="M254.96,-168.34C252.98,-160.23 250.71,-150.93 248.57,-142.13"/>
<polygon fill="black" stroke="black" points="246.14,-132.15 252.88,-140.8 247.32,-137.01 248.5,-141.87 248.5,-141.87 248.5,-141.87 247.32,-137.01 244.13,-142.93 246.14,-132.15 246.14,-132.15"/>
</g>
<!-- s2c -->
<g id="node6" class="node">
<title>s2c</title>
<ellipse fill="#00ff00" stroke="black" cx="340.53" cy="-108.12" rx="40.11" ry="24.08"/>
<text text-anchor="middle" x="340.53" y="-101.92" font-family="Times,serif" font-size="24.00">s2c</text>
</g>
<!-- s3&#45;&gt;s2c -->
<g id="edge5" class="edge">
<title>s3&#45;&gt;s2c</title>
<path fill="none" stroke="black" d="M278.68,-172.58C288.97,-162.03 302.03,-148.62 313.5,-136.85"/>
<polygon fill="black" stroke="black" points="320.76,-129.4 317.01,-139.7 317.27,-132.98 313.78,-136.56 313.78,-136.56 313.78,-136.56 317.27,-132.98 310.56,-133.42 320.76,-129.4 320.76,-129.4"/>
</g>
<!-- o1 -->
<g id="node7" class="node">
<title>o1</title>
<ellipse fill="#ff4444" stroke="black" cx="32.53" cy="-24.04" rx="32.55" ry="24.08"/>
<text text-anchor="middle" x="32.53" y="-17.84" font-family="Times,serif" font-size="24.00">o1</text>
</g>
<!-- s2a&#45;&gt;o1 -->
<g id="edge6" class="edge">
<title>s2a&#45;&gt;o1</title>
<path fill="none" stroke="black" d="M95.01,-86.83C84.06,-76.01 70.47,-62.57 58.76,-50.99"/>
<polygon fill="black" stroke="black" points="51.39,-43.69 61.66,-47.53 54.94,-47.21 58.5,-50.73 58.5,-50.73 58.5,-50.73 54.94,-47.21 55.33,-53.93 51.39,-43.69 51.39,-43.69"/>
</g>
<!-- o2 -->
<g id="node8" class="node">
<title>o2</title>
<ellipse fill="#ff4444" stroke="black" cx="115.53" cy="-24.04" rx="32.55" ry="24.08"/>
<text text-anchor="middle" x="115.53" y="-17.84" font-family="Times,serif" font-size="24.00">o2</text>
</g>
<!-- s2a&#45;&gt;o2 -->
<g id="edge7" class="edge">
<title>s2a&#45;&gt;o2</title>
<path fill="none" stroke="black" d="M115.53,-83.82C115.53,-75.87 115.53,-66.82 115.53,-58.24"/>
<polygon fill="black" stroke="black" points="115.53,-48.12 120.03,-58.12 115.53,-53.12 115.53,-58.12 115.53,-58.12 115.53,-58.12 115.53,-53.12 111.03,-58.12 115.53,-48.12 115.53,-48.12"/>
</g>
<!-- o3 -->
<g id="node9" class="node">
<title>o3</title>
<ellipse fill="#ff4444" stroke="black" cx="198.53" cy="-24.04" rx="32.55" ry="24.08"/>
<text text-anchor="middle" x="198.53" y="-17.84" font-family="Times,serif" font-size="24.00">o3</text>
</g>
<!-- s2b&#45;&gt;o3 -->
<g id="edge8" class="edge">
<title>s2b&#45;&gt;o3</title>
<path fill="none" stroke="black" d="M229.05,-84.7C224.53,-75.87 219.27,-65.58 214.4,-56.06"/>
<polygon fill="black" stroke="black" points="209.7,-46.88 218.26,-53.73 211.98,-51.33 214.25,-55.78 214.25,-55.78 214.25,-55.78 211.98,-51.33 210.25,-57.83 209.7,-46.88 209.7,-46.88"/>
</g>
<!-- o4 -->
<g id="node10" class="node">
<title>o4</title>
<ellipse fill="#ff4444" stroke="black" cx="281.53" cy="-24.04" rx="32.55" ry="24.08"/>
<text text-anchor="middle" x="281.53" y="-17.84" font-family="Times,serif" font-size="24.00">o4</text>
</g>
<!-- s2b&#45;&gt;o4 -->
<g id="edge9" class="edge">
<title>s2b&#45;&gt;o4</title>
<path fill="none" stroke="black" d="M251.73,-84.7C256.14,-75.87 261.28,-65.58 266.03,-56.06"/>
<polygon fill="black" stroke="black" points="270.62,-46.88 270.18,-57.83 268.39,-51.35 266.15,-55.82 266.15,-55.82 266.15,-55.82 268.39,-51.35 262.13,-53.81 270.62,-46.88 270.62,-46.88"/>
</g>
<!-- s2c&#45;&gt;m2 -->
<g id="edge10" class="edge">
<title>s2c&#45;&gt;m2</title>
<path fill="none" stroke="black" d="M333.55,-131.87C324.76,-160.5 309.6,-209.87 299.57,-242.56"/>
<polygon fill="black" stroke="black" points="296.51,-252.54 295.14,-241.65 297.98,-247.76 299.45,-242.98 299.45,-242.98 299.45,-242.98 297.98,-247.76 303.75,-244.3 296.51,-252.54 296.51,-252.54"/>
</g>
<!-- o5 -->
<g id="node11" class="node">
<title>o5</title>
<ellipse fill="#ff4444" stroke="black" cx="364.53" cy="-24.04" rx="32.55" ry="24.08"/>
<text text-anchor="middle" x="364.53" y="-17.84" font-family="Times,serif" font-size="24.00">o5</text>
</g>
<!-- s2c&#45;&gt;o5 -->
<g id="edge11" class="edge">
<title>s2c&#45;&gt;o5</title>
<path fill="none" stroke="black" d="M347.21,-84.26C349.63,-75.99 352.41,-66.48 355.02,-57.54"/>
<polygon fill="black" stroke="black" points="357.88,-47.78 359.39,-58.64 356.47,-52.58 355.07,-57.38 355.07,-57.38 355.07,-57.38 356.47,-52.58 350.75,-56.12 357.88,-47.78 357.88,-47.78"/>
</g>
</g>
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment