turniere-backend/doc/models_brief.svg

195 lines
11 KiB
XML

<?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.40.1 (20161225.0304)
-->
<!-- Title: models_diagram Pages: 1 -->
<svg width="3146pt" height="158pt"
viewBox="0.00 0.00 3146.30 158.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 154)">
<title>models_diagram</title>
<polygon fill="transparent" stroke="transparent" points="-4,4 -4,-154 3142.2976,-154 3142.2976,4 -4,4"/>
<!-- _diagram_info -->
<g id="node1" class="node">
<title>_diagram_info</title>
<text text-anchor="start" x="22.7976" y="-135.6" font-family="Times,serif" font-size="13.00" fill="#000000">Models diagram</text>
<text text-anchor="start" x="22.7976" y="-121.6" font-family="Times,serif" font-size="13.00" fill="#000000">Date: Nov 12 2018 &#45; 13:00</text>
<text text-anchor="start" x="22.7976" y="-107.6" font-family="Times,serif" font-size="13.00" fill="#000000">Migration version: 0</text>
<text text-anchor="start" x="22.7976" y="-93.6" font-family="Times,serif" font-size="13.00" fill="#000000">Generated by RailRoady 1.5.3</text>
<text text-anchor="start" x="22.7976" y="-79.6" font-family="Times,serif" font-size="13.00" fill="#000000">http://railroady.prestonlee.com</text>
</g>
<!-- User -->
<g id="node2" class="node">
<title>User</title>
<ellipse fill="none" stroke="#000000" cx="27.2976" cy="-18" rx="27.0966" ry="18"/>
<text text-anchor="middle" x="27.2976" y="-14.3" font-family="Times,serif" font-size="14.00" fill="#000000">User</text>
</g>
<!-- Team -->
<g id="node3" class="node">
<title>Team</title>
<ellipse fill="none" stroke="#000000" cx="103.2976" cy="-18" rx="30.5947" ry="18"/>
<text text-anchor="middle" x="103.2976" y="-14.3" font-family="Times,serif" font-size="14.00" fill="#000000">Team</text>
</g>
<!-- Match -->
<g id="node4" class="node">
<title>Match</title>
<ellipse fill="none" stroke="#000000" cx="185.2976" cy="-18" rx="33.5952" ry="18"/>
<text text-anchor="middle" x="185.2976" y="-14.3" font-family="Times,serif" font-size="14.00" fill="#000000">Match</text>
</g>
<!-- PlayoffStage -->
<g id="node5" class="node">
<title>PlayoffStage</title>
<ellipse fill="none" stroke="#000000" cx="291.2976" cy="-18" rx="53.8905" ry="18"/>
<text text-anchor="middle" x="291.2976" y="-14.3" font-family="Times,serif" font-size="14.00" fill="#000000">PlayoffStage</text>
</g>
<!-- ApplicationRecord -->
<g id="node6" class="node">
<title>ApplicationRecord</title>
<ellipse fill="none" stroke="#000000" cx="291.2976" cy="-111" rx="77.1866" ry="18"/>
<text text-anchor="middle" x="291.2976" y="-107.3" font-family="Times,serif" font-size="14.00" fill="#000000">ApplicationRecord</text>
</g>
<!-- ApplicationRecord&#45;&gt;User -->
<g id="edge1" class="edge">
<title>ApplicationRecord&#45;&gt;User</title>
<path fill="none" stroke="#000000" d="M258.3762,-94.6351C242.3265,-87.0743 222.5828,-78.3798 204.2976,-72 143.2309,-50.6935 123.9009,-58.591 63.2976,-36 58.4524,-34.1939 53.4002,-31.9279 48.6657,-29.6188"/>
</g>
<!-- ApplicationRecord&#45;&gt;Team -->
<g id="edge2" class="edge">
<title>ApplicationRecord&#45;&gt;Team</title>
<path fill="none" stroke="#000000" d="M258.1197,-94.5875C220.4875,-75.9716 160.0633,-46.0809 126.9272,-29.6891"/>
</g>
<!-- ApplicationRecord&#45;&gt;Match -->
<g id="edge3" class="edge">
<title>ApplicationRecord&#45;&gt;Match</title>
<path fill="none" stroke="#000000" d="M271.3598,-93.5074C251.689,-76.2491 221.9014,-50.1147 203.0321,-33.5596"/>
</g>
<!-- ApplicationRecord&#45;&gt;PlayoffStage -->
<g id="edge4" class="edge">
<title>ApplicationRecord&#45;&gt;PlayoffStage</title>
<path fill="none" stroke="#000000" d="M291.2976,-92.6262C291.2976,-76.2161 291.2976,-52.3202 291.2976,-36.0192"/>
</g>
<!-- GroupStage -->
<g id="node7" class="node">
<title>GroupStage</title>
<ellipse fill="none" stroke="#000000" cx="415.2976" cy="-18" rx="51.9908" ry="18"/>
<text text-anchor="middle" x="415.2976" y="-14.3" font-family="Times,serif" font-size="14.00" fill="#000000">GroupStage</text>
</g>
<!-- ApplicationRecord&#45;&gt;GroupStage -->
<g id="edge5" class="edge">
<title>ApplicationRecord&#45;&gt;GroupStage</title>
<path fill="none" stroke="#000000" d="M314.3304,-93.7254C336.8829,-76.811 371.0034,-51.2206 393.2216,-34.557"/>
</g>
<!-- Group -->
<g id="node8" class="node">
<title>Group</title>
<ellipse fill="none" stroke="#000000" cx="518.2976" cy="-18" rx="33.2948" ry="18"/>
<text text-anchor="middle" x="518.2976" y="-14.3" font-family="Times,serif" font-size="14.00" fill="#000000">Group</text>
</g>
<!-- ApplicationRecord&#45;&gt;Group -->
<g id="edge6" class="edge">
<title>ApplicationRecord&#45;&gt;Group</title>
<path fill="none" stroke="#000000" d="M325.7748,-94.8827C341.6577,-87.6292 360.8215,-79.117 378.2976,-72 421.272,-54.4991 433.18,-53.1452 476.2976,-36 481.4578,-33.9481 486.9362,-31.6725 492.1731,-29.449"/>
</g>
<!-- Tournament -->
<g id="node9" class="node">
<title>Tournament</title>
<ellipse fill="none" stroke="#000000" cx="622.2976" cy="-18" rx="53.0913" ry="18"/>
<text text-anchor="middle" x="622.2976" y="-14.3" font-family="Times,serif" font-size="14.00" fill="#000000">Tournament</text>
</g>
<!-- ApplicationRecord&#45;&gt;Tournament -->
<g id="edge7" class="edge">
<title>ApplicationRecord&#45;&gt;Tournament</title>
<path fill="none" stroke="#000000" d="M323.2526,-94.5828C339.4107,-86.8253 359.5293,-77.9779 378.2976,-72 456.8647,-46.9756 480.1837,-55.5134 560.2976,-36 567.485,-34.2494 575.0873,-32.205 582.4129,-30.1347"/>
</g>
<!-- ActiveStorage::Attachment -->
<g id="node10" class="node">
<title>ActiveStorage::Attachment</title>
<ellipse fill="none" stroke="#000000" cx="492.2976" cy="-111" rx="105.0817" ry="18"/>
<text text-anchor="middle" x="492.2976" y="-107.3" font-family="Times,serif" font-size="14.00" fill="#000000">ActiveStorage::Attachment</text>
</g>
<!-- ActiveStorage::Variation -->
<g id="node11" class="node">
<title>ActiveStorage::Variation</title>
<polygon fill="none" stroke="#000000" points="763.2976,-129 615.2976,-129 615.2976,-93 763.2976,-93 763.2976,-129"/>
<text text-anchor="middle" x="689.2976" y="-107.3" font-family="Times,serif" font-size="14.00" fill="#000000">ActiveStorage::Variation</text>
</g>
<!-- ActiveStorage::Blob::Representable -->
<g id="node12" class="node">
<title>ActiveStorage::Blob::Representable</title>
<polygon fill="none" stroke="#000000" stroke-dasharray="1,5" points="990.7976,-129 781.7976,-129 781.7976,-93 990.7976,-93 990.7976,-129"/>
<text text-anchor="middle" x="886.2976" y="-107.3" font-family="Times,serif" font-size="14.00" fill="#000000">ActiveStorage::Blob::Representable</text>
</g>
<!-- ActiveStorage::Blob::Identifiable -->
<g id="node13" class="node">
<title>ActiveStorage::Blob::Identifiable</title>
<polygon fill="none" stroke="#000000" stroke-dasharray="1,5" points="1203.2976,-129 1009.2976,-129 1009.2976,-93 1203.2976,-93 1203.2976,-129"/>
<text text-anchor="middle" x="1106.2976" y="-107.3" font-family="Times,serif" font-size="14.00" fill="#000000">ActiveStorage::Blob::Identifiable</text>
</g>
<!-- ActiveStorage::Blob::Analyzable -->
<g id="node14" class="node">
<title>ActiveStorage::Blob::Analyzable</title>
<polygon fill="none" stroke="#000000" stroke-dasharray="1,5" points="1415.2976,-129 1221.2976,-129 1221.2976,-93 1415.2976,-93 1415.2976,-129"/>
<text text-anchor="middle" x="1318.2976" y="-107.3" font-family="Times,serif" font-size="14.00" fill="#000000">ActiveStorage::Blob::Analyzable</text>
</g>
<!-- ActiveStorage::Preview -->
<g id="node15" class="node">
<title>ActiveStorage::Preview</title>
<polygon fill="none" stroke="#000000" points="1574.7976,-129 1433.7976,-129 1433.7976,-93 1574.7976,-93 1574.7976,-129"/>
<text text-anchor="middle" x="1504.2976" y="-107.3" font-family="Times,serif" font-size="14.00" fill="#000000">ActiveStorage::Preview</text>
</g>
<!-- ActiveStorage::Variant -->
<g id="node16" class="node">
<title>ActiveStorage::Variant</title>
<polygon fill="none" stroke="#000000" points="1729.7976,-129 1592.7976,-129 1592.7976,-93 1729.7976,-93 1729.7976,-129"/>
<text text-anchor="middle" x="1661.2976" y="-107.3" font-family="Times,serif" font-size="14.00" fill="#000000">ActiveStorage::Variant</text>
</g>
<!-- ActiveStorage::Filename -->
<g id="node17" class="node">
<title>ActiveStorage::Filename</title>
<polygon fill="none" stroke="#000000" points="1896.7976,-129 1747.7976,-129 1747.7976,-93 1896.7976,-93 1896.7976,-129"/>
<text text-anchor="middle" x="1822.2976" y="-107.3" font-family="Times,serif" font-size="14.00" fill="#000000">ActiveStorage::Filename</text>
</g>
<!-- ActiveStorage::Current -->
<g id="node18" class="node">
<title>ActiveStorage::Current</title>
<polygon fill="none" stroke="#000000" points="2112.2976,-36 1972.2976,-36 1972.2976,0 2112.2976,0 2112.2976,-36"/>
<text text-anchor="middle" x="2042.2976" y="-14.3" font-family="Times,serif" font-size="14.00" fill="#000000">ActiveStorage::Current</text>
</g>
<!-- ActiveStorage::Blob -->
<g id="node19" class="node">
<title>ActiveStorage::Blob</title>
<ellipse fill="none" stroke="#000000" cx="2269.2976" cy="-111" rx="81.4863" ry="18"/>
<text text-anchor="middle" x="2269.2976" y="-107.3" font-family="Times,serif" font-size="14.00" fill="#000000">ActiveStorage::Blob</text>
</g>
<!-- ActiveStorage::Filename::Parameters -->
<g id="node20" class="node">
<title>ActiveStorage::Filename::Parameters</title>
<polygon fill="none" stroke="#000000" points="2586.2976,-129 2368.2976,-129 2368.2976,-93 2586.2976,-93 2586.2976,-129"/>
<text text-anchor="middle" x="2477.2976" y="-107.3" font-family="Times,serif" font-size="14.00" fill="#000000">ActiveStorage::Filename::Parameters</text>
</g>
<!-- DeviseTokenAuth::Concerns::User -->
<g id="node21" class="node">
<title>DeviseTokenAuth::Concerns::User</title>
<polygon fill="none" stroke="#000000" stroke-dasharray="1,5" points="2808.2976,-129 2604.2976,-129 2604.2976,-93 2808.2976,-93 2808.2976,-129"/>
<text text-anchor="middle" x="2706.2976" y="-107.3" font-family="Times,serif" font-size="14.00" fill="#000000">DeviseTokenAuth::Concerns::User</text>
</g>
<!-- DeviseTokenAuth::Concerns::UserOmniauthCallbacks -->
<g id="node22" class="node">
<title>DeviseTokenAuth::Concerns::UserOmniauthCallbacks</title>
<polygon fill="none" stroke="#000000" stroke-dasharray="1,5" points="3138.2976,-129 2826.2976,-129 2826.2976,-93 3138.2976,-93 3138.2976,-129"/>
<text text-anchor="middle" x="2982.2976" y="-107.3" font-family="Times,serif" font-size="14.00" fill="#000000">DeviseTokenAuth::Concerns::UserOmniauthCallbacks</text>
</g>
<!-- ActiveSupport::CurrentAttributes -->
<g id="node23" class="node">
<title>ActiveSupport::CurrentAttributes</title>
<ellipse fill="none" stroke="#000000" cx="2042.2976" cy="-111" rx="127.2775" ry="18"/>
<text text-anchor="middle" x="2042.2976" y="-107.3" font-family="Times,serif" font-size="14.00" fill="#000000">ActiveSupport::CurrentAttributes</text>
</g>
<!-- ActiveSupport::CurrentAttributes&#45;&gt;ActiveStorage::Current -->
<g id="edge8" class="edge">
<title>ActiveSupport::CurrentAttributes&#45;&gt;ActiveStorage::Current</title>
<path fill="none" stroke="#000000" d="M2042.2976,-92.6262C2042.2976,-76.2161 2042.2976,-52.3202 2042.2976,-36.0192"/>
</g>
</g>
</svg>