Skip to content

Instantly share code, notes, and snippets.

@MasterLambaster
Created April 26, 2012 12:07
Show Gist options
  • Save MasterLambaster/2499163 to your computer and use it in GitHub Desktop.
Save MasterLambaster/2499163 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.js"></script>
</head>
<body>
<script type="text/javascript">
d3.xml("wrest-1.0.1-v.svg", "image/svg+xml", function(xml) {
document.body.appendChild(xml.documentElement);
});
</script>
</body>
</html>
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.26.3 (20100126.1600)
-->
<!-- Title: GemFamily Pages: 1 -->
<svg width="312pt" height="160pt"
viewBox="0.00 0.00 312.00 160.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph1" class="graph" transform="scale(1 1) rotate(0) translate(4 156)">
<title>GemFamily</title>
<polygon fill="white" stroke="white" points="-4,5 -4,-156 309,-156 309,5 -4,5"/>
<!-- wrest\n1\.0\.1 -->
<g id="node1" class="node"><title>wrest\n1\.0\.1</title>
<ellipse fill="none" stroke="black" cx="185" cy="-123" rx="33.234" ry="28.2843"/>
<text text-anchor="middle" x="185" y="-126.4" font-family="Times,serif" font-size="14.00">wrest</text>
<text text-anchor="middle" x="185" y="-110.4" font-family="Times,serif" font-size="14.00">1.0.1</text>
</g>
<!-- activesupport\n3\.0\.7 -->
<g id="node2" class="node"><title>activesupport\n3\.0\.7</title>
<ellipse fill="none" stroke="black" cx="64" cy="-29" rx="63.8479" ry="28.2843"/>
<text text-anchor="middle" x="64" y="-32.4" font-family="Times,serif" font-size="14.00">activesupport</text>
<text text-anchor="middle" x="64" y="-16.4" font-family="Times,serif" font-size="14.00">3.0.7</text>
</g>
<!-- wrest\n1\.0\.1&#45;&gt;activesupport\n3\.0\.7 -->
<g id="edge2" class="edge"><title>wrest\n1\.0\.1&#45;&gt;activesupport\n3\.0\.7</title>
<path fill="none" stroke="black" d="M160.222,-103.751C144.081,-91.2115 122.654,-74.5662 104.118,-60.1663"/>
<polygon fill="black" stroke="black" points="106.15,-57.3125 96.1056,-53.9416 101.855,-62.8405 106.15,-57.3125"/>
<text text-anchor="middle" x="125.825" y="-55.0349" font-family="Times,serif" font-size="10.00">~&gt; 3.0.0</text>
</g>
<!-- builder\n2\.1\.2 -->
<g id="node4" class="node"><title>builder\n2\.1\.2</title>
<ellipse fill="none" stroke="black" cx="185" cy="-29" rx="38.8909" ry="28.2843"/>
<text text-anchor="middle" x="185" y="-32.4" font-family="Times,serif" font-size="14.00">builder</text>
<text text-anchor="middle" x="185" y="-16.4" font-family="Times,serif" font-size="14.00">2.1.2</text>
</g>
<!-- wrest\n1\.0\.1&#45;&gt;builder\n2\.1\.2 -->
<g id="edge4" class="edge"><title>wrest\n1\.0\.1&#45;&gt;builder\n2\.1\.2</title>
<path fill="none" stroke="black" d="M185,-94.2861C185,-85.9039 185,-76.6024 185,-67.7098"/>
<polygon fill="black" stroke="black" points="188.5,-67.538 185,-57.538 181.5,-67.5381 188.5,-67.538"/>
<text text-anchor="middle" x="200" y="-80.5188" font-family="Times,serif" font-size="10.00">~&gt; 2.1.2</text>
</g>
<!-- json\n1\.4\.6 -->
<g id="node6" class="node"><title>json\n1\.4\.6</title>
<ellipse fill="none" stroke="black" cx="273" cy="-29" rx="31.1127" ry="28.2843"/>
<text text-anchor="middle" x="273" y="-32.4" font-family="Times,serif" font-size="14.00">json</text>
<text text-anchor="middle" x="273" y="-16.4" font-family="Times,serif" font-size="14.00">1.4.6</text>
</g>
<!-- wrest\n1\.0\.1&#45;&gt;json\n1\.4\.6 -->
<g id="edge6" class="edge"><title>wrest\n1\.0\.1&#45;&gt;json\n1\.4\.6</title>
<path fill="none" stroke="black" d="M205.855,-100.723C217.777,-87.9886 232.868,-71.8687 245.722,-58.1381"/>
<polygon fill="black" stroke="black" points="248.319,-60.4848 252.598,-50.7925 243.209,-55.7008 248.319,-60.4848"/>
<text text-anchor="middle" x="245.793" y="-77.0104" font-family="Times,serif" font-size="10.00">~&gt; 1.4.6</text>
</g>
</g>
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment