preston/bittorious

View on GitHub
doc/models_brief.svg

Summary

Maintainability
Test Coverage
<?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.38.0 (20140413.2041)
 -->
<!-- Title: models_diagram Pages: 1 -->
<svg width="568pt" height="297pt"
 viewBox="0.00 0.00 567.72 297.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 293)">
<title>models_diagram</title>
<polygon fill="none" stroke="none" points="-4,4 -4,-293 563.72,-293 563.72,4 -4,4"/>
<!-- _diagram_info -->
<g id="node1" class="node"><title>_diagram_info</title>
<text text-anchor="start" x="8" y="-274.6" font-family="Times,serif" font-size="13.00">Models diagram</text>
<text text-anchor="start" x="8" y="-261.6" font-family="Times,serif" font-size="13.00">Date: Sep 22 2016 &#45; 16:27</text>
<text text-anchor="start" x="8" y="-248.6" font-family="Times,serif" font-size="13.00">Migration version: 1</text>
<text text-anchor="start" x="8" y="-235.6" font-family="Times,serif" font-size="13.00">Generated by RailRoady 1.5.2</text>
<text text-anchor="start" x="8" y="-222.6" font-family="Times,serif" font-size="13.00">http://railroady.prestonlee.com</text>
</g>
<!-- Ability -->
<g id="node2" class="node"><title>Ability</title>
<polygon fill="none" stroke="black" points="249.39,-270.5 194.05,-270.5 194.05,-234.5 249.39,-234.5 249.39,-270.5"/>
<text text-anchor="middle" x="221.72" y="-248.3" font-family="Times,serif" font-size="14.00">Ability</text>
</g>
<!-- ApplicationRecord -->
<g id="node3" class="node"><title>ApplicationRecord</title>
<ellipse fill="none" stroke="black" cx="344.72" cy="-252.5" rx="77.2916" ry="18"/>
<text text-anchor="middle" x="344.72" y="-248.3" font-family="Times,serif" font-size="14.00">ApplicationRecord</text>
</g>
<!-- Feed -->
<g id="node4" class="node"><title>Feed</title>
<ellipse fill="none" stroke="black" cx="438.72" cy="-162" rx="27.0958" ry="18"/>
<text text-anchor="middle" x="438.72" y="-157.8" font-family="Times,serif" font-size="14.00">Feed</text>
</g>
<!-- Permission -->
<g id="node6" class="node"><title>Permission</title>
<ellipse fill="none" stroke="black" cx="421.72" cy="-18" rx="49.3291" ry="18"/>
<text text-anchor="middle" x="421.72" y="-13.8" font-family="Times,serif" font-size="14.00">Permission</text>
</g>
<!-- Feed&#45;&gt;Permission -->
<g id="edge2" class="edge"><title>Feed&#45;&gt;Permission</title>
<path fill="none" stroke="#6de818" d="M435.674,-135.558C432.668,-110.444 428.085,-72.164 425,-46.3932"/>
<ellipse fill="none" stroke="#6de818" cx="436.194" cy="-139.9" rx="4.00001" ry="4.00001"/>
<polygon fill="#6de818" stroke="#6de818" points="424.967,-46.1184 428.246,-35.6543 424.372,-41.1538 423.778,-36.1893 423.778,-36.1893 423.778,-36.1893 424.372,-41.1538 419.31,-36.7242 424.967,-46.1184 424.967,-46.1184"/>
</g>
<!-- Torrent -->
<g id="node7" class="node"><title>Torrent</title>
<ellipse fill="none" stroke="black" cx="485.72" cy="-90" rx="36.0136" ry="18"/>
<text text-anchor="middle" x="485.72" y="-85.8" font-family="Times,serif" font-size="14.00">Torrent</text>
</g>
<!-- Feed&#45;&gt;Torrent -->
<g id="edge1" class="edge"><title>Feed&#45;&gt;Torrent</title>
<path fill="none" stroke="#e61ce0" d="M453.889,-138.409C458.776,-131.129 464.216,-123.027 469.197,-115.61"/>
<ellipse fill="none" stroke="#e61ce0" cx="451.615" cy="-141.795" rx="4.00002" ry="4.00002"/>
<polygon fill="#e61ce0" stroke="#e61ce0" points="469.197,-115.609 478.507,-109.815 471.984,-111.458 474.771,-107.307 474.771,-107.307 474.771,-107.307 471.984,-111.458 471.035,-104.799 469.197,-115.609 469.197,-115.609"/>
</g>
<!-- Peer -->
<g id="node5" class="node"><title>Peer</title>
<ellipse fill="none" stroke="black" cx="532.72" cy="-18" rx="27" ry="18"/>
<text text-anchor="middle" x="532.72" y="-13.8" font-family="Times,serif" font-size="14.00">Peer</text>
</g>
<!-- Torrent&#45;&gt;Peer -->
<g id="edge3" class="edge"><title>Torrent&#45;&gt;Peer</title>
<path fill="none" stroke="#f8131f" d="M501.189,-65.9612C506.033,-58.7465 511.395,-50.761 516.302,-43.4524"/>
<ellipse fill="none" stroke="#f8131f" cx="498.851" cy="-69.4438" rx="4.00002" ry="4.00002"/>
<polygon fill="#f8131f" stroke="#f8131f" points="516.627,-42.968 525.938,-37.1743 519.415,-38.8169 522.202,-34.6658 522.202,-34.6658 522.202,-34.6658 519.415,-38.8169 518.466,-32.1573 516.627,-42.968 516.627,-42.968"/>
</g>
<!-- Torrent&#45;&gt;Permission -->
<g id="edge4" class="edge"><title>Torrent&#45;&gt;Permission</title>
<path fill="none" stroke="#12c4fd" d="M464.26,-65.5282C457.599,-58.2419 450.251,-50.2053 443.563,-42.8908"/>
<polygon fill="#12c4fd" stroke="#12c4fd" points="464.45,-65.7356 467.876,-76.1524 467.824,-69.4258 471.198,-73.1159 471.198,-73.1159 471.198,-73.1159 467.824,-69.4258 474.519,-70.0794 464.45,-65.7356 464.45,-65.7356"/>
<polygon fill="#12c4fd" stroke="#12c4fd" points="443.377,-42.6873 439.951,-32.2705 440.003,-38.9972 436.629,-35.307 436.629,-35.307 436.629,-35.307 440.003,-38.9972 433.308,-38.3435 443.377,-42.6873 443.377,-42.6873"/>
</g>
<!-- User -->
<g id="node8" class="node"><title>User</title>
<ellipse fill="none" stroke="black" cx="466.72" cy="-252.5" rx="27" ry="18"/>
<text text-anchor="middle" x="466.72" y="-248.3" font-family="Times,serif" font-size="14.00">User</text>
</g>
<!-- User&#45;&gt;Feed -->
<g id="edge6" class="edge"><title>User&#45;&gt;Feed</title>
<path fill="none" stroke="#6d3f99" d="M458.826,-226.55C455.161,-214.965 450.801,-201.185 447.08,-189.422"/>
<ellipse fill="none" stroke="#6d3f99" cx="460.115" cy="-230.623" rx="4.00001" ry="4.00001"/>
<polygon fill="#6d3f99" stroke="#6d3f99" points="447.024,-189.245 448.298,-178.354 445.516,-184.478 444.007,-179.711 444.007,-179.711 444.007,-179.711 445.516,-184.478 439.717,-181.069 447.024,-189.245 447.024,-189.245"/>
</g>
<!-- User&#45;&gt;Peer -->
<g id="edge8" class="edge"><title>User&#45;&gt;Peer</title>
<path fill="none" stroke="#9b51f1" d="M480.595,-228.231C496.197,-200.648 520.664,-152.763 530.72,-108 535.315,-87.5491 535.602,-63.7884 534.857,-45.9643"/>
<ellipse fill="none" stroke="#9b51f1" cx="478.441" cy="-231.984" rx="4.00002" ry="4.00002"/>
<polygon fill="#9b51f1" stroke="#9b51f1" points="534.857,-45.9563 538.8,-35.7238 534.582,-40.9639 534.306,-35.9714 534.306,-35.9714 534.306,-35.9714 534.582,-40.9639 529.813,-36.2191 534.857,-45.9563 534.857,-45.9563"/>
</g>
<!-- User&#45;&gt;Permission -->
<g id="edge7" class="edge"><title>User&#45;&gt;Permission</title>
<path fill="none" stroke="#1932a2" d="M446.84,-230.835C428.935,-211.983 405.071,-186.152 402.72,-180 385.584,-135.163 399.712,-78.6135 411.054,-45.8555"/>
<ellipse fill="none" stroke="#1932a2" cx="449.883" cy="-234.028" rx="4.00002" ry="4.00002"/>
<polygon fill="#1932a2" stroke="#1932a2" points="411.182,-45.5005 418.825,-37.6364 412.889,-40.8006 414.595,-36.1008 414.595,-36.1008 414.595,-36.1008 412.889,-40.8006 410.365,-34.5652 411.182,-45.5005 411.182,-45.5005"/>
</g>
<!-- User&#45;&gt;Torrent -->
<g id="edge5" class="edge"><title>User&#45;&gt;Torrent</title>
<path fill="none" stroke="#ddb1ca" d="M469.73,-226.079C473.21,-196.675 478.919,-148.455 482.49,-118.284"/>
<ellipse fill="none" stroke="#ddb1ca" cx="469.224" cy="-230.351" rx="4.00001" ry="4.00001"/>
<polygon fill="#ddb1ca" stroke="#ddb1ca" points="482.526,-117.983 488.17,-108.582 483.114,-113.018 483.702,-108.053 483.702,-108.053 483.702,-108.053 483.114,-113.018 479.233,-107.524 482.526,-117.983 482.526,-117.983"/>
</g>
</g>
</svg>