concord-consortium/rigse

View on GitHub
docs/diagrams/states.svg

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
 "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd" [
 <!ATTLIST svg xmlns:xlink CDATA #FIXED "http://www.w3.org/1999/xlink">
]>
<!-- Generated by Graphviz version 2.18 (Mon Mar 10 23:10:19 UTC 2008)
     For user: (stephen) stephen -->
<!-- Title: models_diagram Pages: 1 -->
<svg width="600pt" height="462pt"
 viewBox="0.00 0.00 600.00 462.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 458)">
<title>models_diagram</title>
<polygon style="fill:white;stroke:white;" points="-4,4 -4,-458 596,-458 596,4 -4,4"/>
<g id="cluster2" class="cluster"><title>cluster_user</title>
<polygon style="fill:none;stroke:black;" points="232,-16 232,-446 584,-446 584,-16 232,-16"/>
<text text-anchor="middle" x="408" y="-429.4" style="font-family:Times New Roman;font-size:11px;">User</text>
</g>
<!-- _diagram_info -->
<g id="node1" class="node"><title>_diagram_info</title>
<text text-anchor="start" x="7.5" y="-415.4" style="font-family:Times New Roman;font-size:11px;">Models diagram</text>
<text text-anchor="start" x="7.5" y="-399.4" style="font-family:Times New Roman;font-size:11px;">Date: May 20 2009 &#45; 23:49</text>
<text text-anchor="start" x="7.5" y="-383.4" style="font-family:Times New Roman;font-size:11px;">Migration version: 20090520220237</text>
<text text-anchor="start" x="7.5" y="-367.4" style="font-family:Times New Roman;font-size:11px;">Generated by RailRoad 0.7.7</text>
</g>
<!-- user_passive -->
<g id="node3" class="node"><title>user_passive</title>
<ellipse style="fill:none;stroke:black;" cx="480" cy="-396" rx="38.9076" ry="18"/>
<text text-anchor="middle" x="480" y="-391.4" style="font-family:Times New Roman;font-size:11px;">passive</text>
</g>
<!-- user_pending -->
<g id="node4" class="node"><title>user_pending</title>
<ellipse style="fill:none;stroke:black;" cx="362" cy="-294" rx="41.0898" ry="18"/>
<text text-anchor="middle" x="362" y="-289.4" style="font-family:Times New Roman;font-size:11px;">pending</text>
</g>
<!-- user_passive&#45;&gt;user_pending -->
<g id="edge9" class="edge"><title>user_passive&#45;&gt;user_pending</title>
<path style="fill:none;stroke:black;" d="M461,-380C454,-373 445,-366 437,-360 426,-351 422,-350 411,-342 403,-334 394,-326 386,-318"/>
<polygon style="fill:black;stroke:black;" points="387.831,-314.951 378,-311 383.221,-320.219 387.831,-314.951"/>
<text text-anchor="middle" x="433" y="-333" style="font-family:Times New Roman;font-size:10.00;">register</text>
</g>
<!-- user_suspended -->
<g id="node6" class="node"><title>user_suspended</title>
<ellipse style="fill:none;stroke:black;" cx="423" cy="-126" rx="49.8134" ry="18"/>
<text text-anchor="middle" x="423" y="-121.4" style="font-family:Times New Roman;font-size:11px;">suspended</text>
</g>
<!-- user_passive&#45;&gt;user_suspended -->
<g id="edge21" class="edge"><title>user_passive&#45;&gt;user_suspended</title>
<path style="fill:none;stroke:black;" d="M484,-378C490,-350 499,-293 492,-246 486,-206 485,-194 463,-162 460,-158 456,-154 453,-150"/>
<polygon style="fill:black;stroke:black;" points="454.831,-146.951 445,-143 450.221,-152.219 454.831,-146.951"/>
<text text-anchor="middle" x="508" y="-249" style="font-family:Times New Roman;font-size:10.00;">suspend</text>
</g>
<!-- user_deleted -->
<g id="node7" class="node"><title>user_deleted</title>
<ellipse style="fill:none;stroke:black;" cx="359" cy="-42" rx="38.2368" ry="18"/>
<text text-anchor="middle" x="359" y="-37.4" style="font-family:Times New Roman;font-size:11px;">deleted</text>
</g>
<!-- user_passive&#45;&gt;user_deleted -->
<g id="edge13" class="edge"><title>user_passive&#45;&gt;user_deleted</title>
<path style="fill:none;stroke:black;" d="M492,-378C508,-351 537,-295 529,-246 518,-182 523,-157 482,-108 462,-82 428,-65 401,-55"/>
<polygon style="fill:black;stroke:black;" points="401.584,-51.5212 391,-52 399.573,-58.2259 401.584,-51.5212"/>
<text text-anchor="middle" x="538" y="-207" style="font-family:Times New Roman;font-size:10.00;">delete</text>
</g>
<!-- user_active -->
<g id="node5" class="node"><title>user_active</title>
<ellipse style="fill:none;stroke:black;" cx="293" cy="-210" rx="33.0404" ry="18"/>
<text text-anchor="middle" x="293" y="-205.4" style="font-family:Times New Roman;font-size:11px;">active</text>
</g>
<!-- user_pending&#45;&gt;user_active -->
<g id="edge11" class="edge"><title>user_pending&#45;&gt;user_active</title>
<path style="fill:none;stroke:black;" d="M344,-278C338,-272 331,-265 325,-258 319,-251 314,-243 309,-236"/>
<polygon style="fill:black;stroke:black;" points="311.916,-234.042 304,-227 305.797,-237.441 311.916,-234.042"/>
<text text-anchor="middle" x="344" y="-249" style="font-family:Times New Roman;font-size:10.00;">activate</text>
</g>
<!-- user_pending&#45;&gt;user_suspended -->
<g id="edge23" class="edge"><title>user_pending&#45;&gt;user_suspended</title>
<path style="fill:none;stroke:black;" d="M361,-276C360,-250 359,-205 368,-192 383,-173 404,-192 418,-174 423,-169 425,-161 426,-154"/>
<polygon style="fill:black;stroke:black;" points="429.5,-154 426,-144 422.5,-154 429.5,-154"/>
<text text-anchor="middle" x="385" y="-207" style="font-family:Times New Roman;font-size:10.00;">suspend</text>
</g>
<!-- user_pending&#45;&gt;user_deleted -->
<g id="edge15" class="edge"><title>user_pending&#45;&gt;user_deleted</title>
<path style="fill:none;stroke:black;" d="M328,-284C302,-274 268,-256 251,-228 217,-168 288,-98 330,-63"/>
<polygon style="fill:black;stroke:black;" points="332.1,-65.8 338,-57 327.9,-60.2 332.1,-65.8"/>
<text text-anchor="middle" x="262" y="-165" style="font-family:Times New Roman;font-size:10.00;">delete</text>
</g>
<!-- user_active&#45;&gt;user_suspended -->
<g id="edge25" class="edge"><title>user_active&#45;&gt;user_suspended</title>
<path style="fill:none;stroke:black;" d="M296,-192C298,-182 303,-170 311,-162 320,-153 346,-144 370,-138"/>
<polygon style="fill:black;stroke:black;" points="371.427,-141.226 380,-135 369.416,-134.521 371.427,-141.226"/>
<text text-anchor="middle" x="328" y="-165" style="font-family:Times New Roman;font-size:10.00;">suspend</text>
</g>
<!-- user_active&#45;&gt;user_deleted -->
<g id="edge17" class="edge"><title>user_active&#45;&gt;user_deleted</title>
<path style="fill:none;stroke:black;" d="M294,-192C295,-183 296,-171 299,-162 310,-128 329,-92 343,-68"/>
<polygon style="fill:black;stroke:black;" points="346.203,-69.4414 348,-59 340.084,-66.0418 346.203,-69.4414"/>
<text text-anchor="middle" x="334" y="-123" style="font-family:Times New Roman;font-size:10.00;">delete</text>
</g>
<!-- user_suspended&#45;&gt;user_passive -->
<g id="edge7" class="edge"><title>user_suspended&#45;&gt;user_passive</title>
<path style="fill:none;stroke:black;" d="M440,-143C451,-155 464,-173 470,-192 474,-207 476,-213 470,-228 464,-239 453,-234 448,-246 446,-250 447,-252 448,-258 452,-296 464,-341 471,-368"/>
<polygon style="fill:black;stroke:black;" points="467.774,-369.427 474,-378 474.479,-367.416 467.774,-369.427"/>
<text text-anchor="middle" x="470" y="-249" style="font-family:Times New Roman;font-size:10.00;">unsuspend</text>
</g>
<!-- user_suspended&#45;&gt;user_pending -->
<g id="edge5" class="edge"><title>user_suspended&#45;&gt;user_pending</title>
<path style="fill:none;stroke:black;" d="M427,-144C428,-153 428,-164 426,-174 418,-209 397,-245 381,-269"/>
<polygon style="fill:black;stroke:black;" points="378.2,-266.9 375,-277 383.8,-271.1 378.2,-266.9"/>
<text text-anchor="middle" x="444" y="-207" style="font-family:Times New Roman;font-size:10.00;">unsuspend</text>
</g>
<!-- user_suspended&#45;&gt;user_active -->
<g id="edge3" class="edge"><title>user_suspended&#45;&gt;user_active</title>
<path style="fill:none;stroke:black;" d="M399,-142C385,-152 367,-164 351,-174 342,-179 333,-185 324,-191"/>
<polygon style="fill:black;stroke:black;" points="322.042,-188.084 315,-196 325.441,-194.203 322.042,-188.084"/>
<text text-anchor="middle" x="393" y="-165" style="font-family:Times New Roman;font-size:10.00;">unsuspend</text>
</g>
<!-- user_suspended&#45;&gt;user_deleted -->
<g id="edge19" class="edge"><title>user_suspended&#45;&gt;user_deleted</title>
<path style="fill:none;stroke:black;" d="M410,-109C401,-97 388,-81 378,-67"/>
<polygon style="fill:black;stroke:black;" points="380.8,-64.9 372,-59 375.2,-69.1 380.8,-64.9"/>
<text text-anchor="middle" x="411" y="-81" style="font-family:Times New Roman;font-size:10.00;">delete</text>
</g>
</g>
</svg>