Skip to content

Instantly share code, notes, and snippets.

@chrisnatali
Last active December 22, 2015 01:09
Show Gist options
  • Save chrisnatali/6394333 to your computer and use it in GitHub Desktop.
Save chrisnatali/6394333 to your computer and use it in GitHub Desktop.
NeXT data model
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.32.0 (20130829.2153)
-->
<!-- Title: next Pages: 1 -->
<svg width="292pt" height="294pt"
viewBox="0.00 0.00 292.49 294.00" 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 290)">
<title>next</title>
<polygon fill="white" stroke="white" points="-4,5 -4,-290 289.489,-290 289.489,5 -4,5"/>
<!-- scenarios -->
<g id="node1" class="node"><title>scenarios</title>
<polygon fill="none" stroke="black" points="160.739,-286 94.2393,-286 94.2393,-250 160.739,-250 160.739,-286"/>
<text text-anchor="middle" x="127.489" y="-264.3" font-family="Times,serif" font-size="14.00">scenarios</text>
</g>
<!-- phases -->
<g id="node2" class="node"><title>phases</title>
<polygon fill="none" stroke="black" points="154.489,-212 100.489,-212 100.489,-176 154.489,-176 154.489,-212"/>
<text text-anchor="middle" x="127.489" y="-190.3" font-family="Times,serif" font-size="14.00">phases</text>
</g>
<!-- scenarios&#45;&gt;phases -->
<g id="edge1" class="edge"><title>scenarios&#45;&gt;phases</title>
<path fill="none" stroke="black" d="M127.489,-249.937C127.489,-241.807 127.489,-231.876 127.489,-222.705"/>
<polygon fill="black" stroke="black" points="127.489,-222.441 131.989,-212.441 127.489,-217.441 127.489,-212.441 127.489,-212.441 127.489,-212.441 127.489,-217.441 122.989,-212.441 127.489,-222.441 127.489,-222.441"/>
</g>
<!-- edges -->
<g id="node3" class="node"><title>edges</title>
<polygon fill="none" stroke="black" points="99.4893,-124 45.4893,-124 45.4893,-88 99.4893,-88 99.4893,-124"/>
<text text-anchor="middle" x="72.4893" y="-102.3" font-family="Times,serif" font-size="14.00">edges</text>
</g>
<!-- phases&#45;&gt;edges -->
<g id="edge2" class="edge"><title>phases&#45;&gt;edges</title>
<path fill="none" stroke="black" d="M100.378,-182.159C90.0776,-176.566 79.4092,-168.642 73.4893,-158 69.5379,-150.897 68.2913,-142.332 68.318,-134.266"/>
<polygon fill="black" stroke="black" points="68.3288,-134.095 73.4568,-124.402 68.6474,-129.105 68.9659,-124.115 68.9659,-124.115 68.9659,-124.115 68.6474,-129.105 64.4751,-123.828 68.3288,-134.095 68.3288,-134.095"/>
<text text-anchor="middle" x="121.489" y="-146.3" font-family="Times,serif" font-size="14.00">nearest neighbors</text>
</g>
<!-- nodes -->
<g id="node4" class="node"><title>nodes</title>
<polygon fill="none" stroke="black" points="119.489,-36 65.4893,-36 65.4893,-0 119.489,-0 119.489,-36"/>
<text text-anchor="middle" x="92.4893" y="-14.3" font-family="Times,serif" font-size="14.00">nodes</text>
</g>
<!-- phases&#45;&gt;nodes -->
<g id="edge3" class="edge"><title>phases&#45;&gt;nodes</title>
<path fill="none" stroke="black" d="M154.747,-176.241C160.692,-171.172 166.188,-165.048 169.489,-158 180.447,-134.606 217.782,-134.019 164.489,-54 156.306,-41.7127 142.518,-33.5963 129.186,-28.3051"/>
<polygon fill="black" stroke="black" points="129.073,-28.2652 121.144,-20.6896 124.359,-26.5987 119.644,-24.9323 119.644,-24.9323 119.644,-24.9323 124.359,-26.5987 118.145,-29.175 129.073,-28.2652 129.073,-28.2652"/>
<text text-anchor="middle" x="237.989" y="-102.3" font-family="Times,serif" font-size="14.00">unique per phase</text>
</g>
<!-- edges&#45;&gt;nodes -->
<g id="edge4" class="edge"><title>edges&#45;&gt;nodes</title>
<path fill="none" stroke="black" d="M45.4568,-97.3312C20.7584,-88.882 -10.014,-73.8202 3.48928,-54 15.1377,-36.9023 36.5322,-28.1569 55.4254,-23.6836"/>
<polygon fill="black" stroke="black" points="55.5018,-23.668 66.2012,-26.0706 60.4002,-22.665 65.2985,-21.662 65.2985,-21.662 65.2985,-21.662 60.4002,-22.665 64.3958,-17.2535 55.5018,-23.668 55.5018,-23.668"/>
<text text-anchor="middle" x="36.9893" y="-58.3" font-family="Times,serif" font-size="14.00">demand (to)</text>
</g>
<!-- edges&#45;&gt;nodes -->
<g id="edge5" class="edge"><title>edges&#45;&gt;nodes</title>
<path fill="none" stroke="black" d="M76.5366,-87.5966C79.3199,-75.6285 83.0704,-59.5011 86.2356,-45.8907"/>
<polygon fill="black" stroke="black" points="86.251,-45.8241 92.8993,-37.1034 87.3836,-40.954 88.5163,-36.084 88.5163,-36.084 88.5163,-36.084 87.3836,-40.954 84.1332,-35.0647 86.251,-45.8241 86.251,-45.8241"/>
<text text-anchor="middle" x="122.489" y="-58.3" font-family="Times,serif" font-size="14.00">supply (from)</text>
</g>
</g>
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment