Skip to content

Instantly share code, notes, and snippets.

@tonyfast
Forked from anonymous/deathbeds.dot
Created January 31, 2018 14:40
Show Gist options
  • Save tonyfast/195c426f6d2c15b6827557caf1f7f2d0 to your computer and use it in GitHub Desktop.
Save tonyfast/195c426f6d2c15b6827557caf1f7f2d0 to your computer and use it in GitHub Desktop.
digraph {
node [shape="none"]
subgraph cluster_python {
label=Python
MetaPathFinder PathFinder
}
subgraph cluster_ipython {
label=IPython
InputTransformer
}
subgraph cluster_XXX {
label=deathbeds
aye mumble
}
literacy -> mumble
literacy -> MetaPathFinder
literacy -> InputTransformer
root [label="."]
MetaPathFinder -> root -> module
mumble -> InputTransformer [label="literate"]
aye -> PathFinder [label="import"]
# PathFinder -> MetaPathFinder [label="*"]
aye -> mumble
aye -> literacy
sys[label="sys.paths"]
PathFinder -> sys -> module
InputTransformer -> module
subgraph cluster_directory {
label="search paths"
root sys
}
subgraph cluster_before {
label=Before
literacy
}
subgraph cluster_import {
label="ipynb"
module
}
star_ipynb[label="*.ipynb"]
star_ipynb -> {literacy aye}
}
Display the source blob
Display the rendered blob
Raw
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="min-width: 360px; min-height: 555px;">
<g class="graph" transform="translate(377.5405405405405,319) scale(0.5747747747747748)">
<title>%0</title>
<polygon fill="#ffffff" stroke="transparent" points="-4,4 -4,-550.8 356,-550.8 356,4 -4,4"></polygon>
<g class="jp-graphviz-cluster">
<title>cluster_python</title>
<polygon fill="none" stroke="#000000" points="126,-215.4 126,-292.2 344,-292.2 344,-215.4 126,-215.4"></polygon>
<text text-anchor="middle" x="235" y="-275.6" font-family="Times,serif" font-size="14.00" fill="#000000">Python</text>
</g>
<g class="jp-graphviz-cluster">
<title>cluster_ipython</title>
<polygon fill="none" stroke="#000000" points="33,-103.8 33,-180.6 165,-180.6 165,-103.8 33,-103.8"></polygon>
<text text-anchor="middle" x="99" y="-164" font-family="Times,serif" font-size="14.00" fill="#000000">IPython</text>
</g>
<g class="jp-graphviz-cluster">
<title>cluster_XXX</title>
<polygon fill="none" stroke="#000000" points="8,-215.4 8,-483.8 86,-483.8 86,-215.4 8,-215.4"></polygon>
<text text-anchor="middle" x="47" y="-467.2" font-family="Times,serif" font-size="14.00" fill="#000000">deathbeds</text>
</g>
<g class="jp-graphviz-cluster">
<title>cluster_directory</title>
<polygon fill="none" stroke="#000000" points="173,-103.8 173,-180.6 327,-180.6 327,-103.8 173,-103.8"></polygon>
<text text-anchor="middle" x="250" y="-164" font-family="Times,serif" font-size="14.00" fill="#000000">search paths</text>
</g>
<g class="jp-graphviz-cluster">
<title>cluster_before</title>
<polygon fill="none" stroke="#000000" points="94,-311.2 94,-388 168,-388 168,-311.2 94,-311.2"></polygon>
<text text-anchor="middle" x="131" y="-371.4" font-family="Times,serif" font-size="14.00" fill="#000000">Before</text>
</g>
<g class="jp-graphviz-cluster">
<title>cluster_import</title>
<polygon fill="none" stroke="#000000" points="171,-8 171,-84.8 245,-84.8 245,-8 171,-8"></polygon>
<text text-anchor="middle" x="208" y="-68.2" font-family="Times,serif" font-size="14.00" fill="#000000">ipynb</text>
</g>
<!-- MetaPathFinder -->
<g class="jp-graphviz-node">
<title>MetaPathFinder</title>
<text text-anchor="middle" x="187" y="-237.2" font-family="Times,serif" font-size="14.00" fill="#000000">MetaPathFinder</text>
</g>
<!-- root -->
<g class="jp-graphviz-node">
<title>root</title>
<text text-anchor="middle" x="208" y="-125.6" font-family="Times,serif" font-size="14.00" fill="#000000">.</text>
</g>
<!-- MetaPathFinder&#45;&gt;root -->
<g class="jp-graphviz-edge">
<title>MetaPathFinder-&gt;root</title>
<path fill="none" stroke="#000000" d="M190.4677,-222.9715C193.801,-205.2577 198.884,-178.2448 202.7202,-157.8581"></path>
<polygon fill="#000000" stroke="#000000" points="206.1871,-158.3604 204.5968,-147.8856 199.3078,-157.0658 206.1871,-158.3604"></polygon>
</g>
<!-- PathFinder -->
<g class="jp-graphviz-node">
<title>PathFinder</title>
<text text-anchor="middle" x="297" y="-237.2" font-family="Times,serif" font-size="14.00" fill="#000000">PathFinder</text>
</g>
<!-- sys -->
<g class="jp-graphviz-node">
<title>sys</title>
<text text-anchor="middle" x="286" y="-125.6" font-family="Times,serif" font-size="14.00" fill="#000000">sys.paths</text>
</g>
<!-- PathFinder&#45;&gt;sys -->
<g class="jp-graphviz-edge">
<title>PathFinder-&gt;sys</title>
<path fill="none" stroke="#000000" d="M295.1836,-222.9715C293.4376,-205.2577 290.775,-178.2448 288.7656,-157.8581"></path>
<polygon fill="#000000" stroke="#000000" points="292.2467,-157.494 287.7826,-147.8856 285.2805,-158.1807 292.2467,-157.494"></polygon>
</g>
<!-- InputTransformer -->
<g class="jp-graphviz-node">
<title>InputTransformer</title>
<text text-anchor="middle" x="99" y="-125.6" font-family="Times,serif" font-size="14.00" fill="#000000">InputTransformer</text>
</g>
<!-- module -->
<g class="jp-graphviz-node">
<title>module</title>
<text text-anchor="middle" x="208" y="-29.8" font-family="Times,serif" font-size="14.00" fill="#000000">module</text>
</g>
<!-- InputTransformer&#45;&gt;module -->
<g class="jp-graphviz-edge">
<title>InputTransformer-&gt;module</title>
<path fill="none" stroke="#000000" d="M119.5021,-111.7808C136.4457,-96.889 160.6888,-75.5818 179.5181,-59.0327"></path>
<polygon fill="#000000" stroke="#000000" points="182.0186,-61.4948 187.2193,-52.2642 177.3974,-56.2369 182.0186,-61.4948"></polygon>
</g>
<!-- aye -->
<g class="jp-graphviz-node">
<title>aye</title>
<text text-anchor="middle" x="51" y="-428.8" font-family="Times,serif" font-size="14.00" fill="#000000">aye</text>
</g>
<!-- aye&#45;&gt;PathFinder -->
<g class="jp-graphviz-edge">
<title>aye-&gt;PathFinder</title>
<path fill="none" stroke="#000000" d="M78.355,-427.0649C104.1893,-420.5251 143.1665,-408.1697 172,-388 218.8472,-355.2294 258.8621,-300.8637 280.2833,-268.3504"></path>
<polygon fill="#000000" stroke="#000000" points="283.3253,-270.092 285.8223,-259.7956 277.4494,-266.2875 283.3253,-270.092"></polygon>
<text text-anchor="middle" x="266.6662" y="-333" font-family="Times,serif" font-size="14.00" fill="#000000">import</text>
</g>
<!-- mumble -->
<g class="jp-graphviz-node">
<title>mumble</title>
<text text-anchor="middle" x="47" y="-237.2" font-family="Times,serif" font-size="14.00" fill="#000000">mumble</text>
</g>
<!-- aye&#45;&gt;mumble -->
<g class="jp-graphviz-edge">
<title>aye-&gt;mumble</title>
<path fill="none" stroke="#000000" d="M50.6237,-414.9747C49.9253,-381.5242 48.4242,-309.6193 47.5898,-269.6508"></path>
<polygon fill="#000000" stroke="#000000" points="51.0863,-269.4417 47.3782,-259.5169 44.0878,-269.5879 51.0863,-269.4417"></polygon>
</g>
<!-- literacy -->
<g class="jp-graphviz-node">
<title>literacy</title>
<text text-anchor="middle" x="131" y="-333" font-family="Times,serif" font-size="14.00" fill="#000000">literacy</text>
</g>
<!-- aye&#45;&gt;literacy -->
<g class="jp-graphviz-edge">
<title>aye-&gt;literacy</title>
<path fill="none" stroke="#000000" d="M67.0856,-414.7337C74.1777,-406.605 82.5711,-396.8815 90,-388 96.5841,-380.1284 103.6398,-371.47 110.0099,-363.566"></path>
<polygon fill="#000000" stroke="#000000" points="112.8203,-365.6561 116.3514,-355.667 107.3617,-361.2738 112.8203,-365.6561"></polygon>
</g>
<!-- mumble&#45;&gt;InputTransformer -->
<g class="jp-graphviz-edge">
<title>mumble-&gt;InputTransformer</title>
<path fill="none" stroke="#000000" d="M46.7062,-223.1971C47.1194,-212.7295 48.6527,-199.5295 53.1332,-188.6 58.0057,-176.7143 65.991,-165.2092 73.9445,-155.5752"></path>
<polygon fill="#000000" stroke="#000000" points="76.644,-157.8043 80.5488,-147.9553 71.3544,-153.2196 76.644,-157.8043"></polygon>
<text text-anchor="middle" x="73.4334" y="-192.8" font-family="Times,serif" font-size="14.00" fill="#000000">literate</text>
</g>
<!-- literacy&#45;&gt;MetaPathFinder -->
<g class="jp-graphviz-edge">
<title>literacy-&gt;MetaPathFinder</title>
<path fill="none" stroke="#000000" d="M141.5332,-319.1808C149.8495,-304.9538 161.5887,-284.8715 171.0554,-268.6766"></path>
<polygon fill="#000000" stroke="#000000" points="174.2987,-270.0637 176.3237,-259.6642 168.2554,-266.5311 174.2987,-270.0637"></polygon>
</g>
<!-- literacy&#45;&gt;InputTransformer -->
<g class="jp-graphviz-edge">
<title>literacy-&gt;InputTransformer</title>
<path fill="none" stroke="#000000" d="M127.0857,-318.8526C125.4116,-310.7089 123.5012,-300.9961 122,-292.2 113.9942,-245.2925 106.6398,-190.4245 102.4977,-157.9765"></path>
<polygon fill="#000000" stroke="#000000" points="105.9474,-157.3573 101.2198,-147.8757 99.0027,-158.236 105.9474,-157.3573"></polygon>
</g>
<!-- literacy&#45;&gt;mumble -->
<g class="jp-graphviz-edge">
<title>literacy-&gt;mumble</title>
<path fill="none" stroke="#000000" d="M110.0884,-319.1784C104.0344,-313.6261 97.5627,-307.3507 92,-301.2 82.5786,-290.7827 73.0899,-278.5001 65.2707,-267.7851"></path>
<polygon fill="#000000" stroke="#000000" points="68.0655,-265.6765 59.3909,-259.5936 62.3788,-269.7584 68.0655,-265.6765"></polygon>
</g>
<!-- root&#45;&gt;module -->
<g class="jp-graphviz-edge">
<title>root-&gt;module</title>
<path fill="none" stroke="#000000" d="M208,-111.7808C208,-97.9527 208,-78.593 208,-62.6477"></path>
<polygon fill="#000000" stroke="#000000" points="211.5001,-62.2641 208,-52.2642 204.5001,-62.2642 211.5001,-62.2641"></polygon>
</g>
<!-- sys&#45;&gt;module -->
<g class="jp-graphviz-edge">
<title>sys-&gt;module</title>
<path fill="none" stroke="#000000" d="M271.3288,-111.7808C259.5288,-97.2879 242.7814,-76.7187 229.4725,-60.3726"></path>
<polygon fill="#000000" stroke="#000000" points="231.8986,-57.809 222.8706,-52.2642 226.4703,-62.2287 231.8986,-57.809"></polygon>
</g>
<!-- star_ipynb -->
<g class="jp-graphviz-node">
<title>star_ipynb</title>
<text text-anchor="middle" x="136" y="-524.6" font-family="Times,serif" font-size="14.00" fill="#000000">*.ipynb</text>
</g>
<!-- star_ipynb&#45;&gt;aye -->
<g class="jp-graphviz-edge">
<title>star_ipynb-&gt;aye</title>
<path fill="none" stroke="#000000" d="M120.0122,-510.7808C107.0352,-496.1549 88.5675,-475.3407 74.0013,-458.9238"></path>
<polygon fill="#000000" stroke="#000000" points="76.4601,-456.4214 67.2052,-451.2642 71.224,-461.0672 76.4601,-456.4214"></polygon>
</g>
<!-- star_ipynb&#45;&gt;literacy -->
<g class="jp-graphviz-edge">
<title>star_ipynb-&gt;literacy</title>
<path fill="none" stroke="#000000" d="M135.5296,-510.7747C134.6567,-477.3242 132.7803,-405.4193 131.7372,-365.4508"></path>
<polygon fill="#000000" stroke="#000000" points="135.2326,-365.2222 131.4728,-355.3169 128.2349,-365.4049 135.2326,-365.2222"></polygon>
</g>
</g>
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment