KarrLab/obj_tables

View on GitHub
examples/address_book/schema.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.40.1 (20161225.0304)
 -->
<!-- Title: %3 Pages: 1 -->
<svg width="528pt" height="252pt"
 viewBox="0.00 0.00 528.00 251.50" 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 247.5)">
<title>%3</title>
<polygon fill="#ffffff" stroke="transparent" points="-4,4 -4,-247.5 524,-247.5 524,4 -4,4"/>
<!-- Address -->
<g id="node1" class="node">
<title>Address</title>
<polygon fill="#ff8a5b" stroke="transparent" points="392,-209 392,-239 520,-239 520,-209 392,-209"/>
<polygon fill="none" stroke="#000000" points="392,-209 392,-239 520,-239 520,-209 392,-209"/>
<text text-anchor="start" x="424.5" y="-220.6" font-family="Times,serif" font-weight="bold" font-size="18.00" fill="#000000">Address</text>
<polygon fill="#bfffff" stroke="transparent" points="392,-184 392,-209 456,-209 456,-184 392,-184"/>
<polygon fill="none" stroke="#000000" points="392,-184 392,-209 456,-209 456,-184 392,-184"/>
<text text-anchor="start" x="407.5" y="-193.8" font-family="Times,serif" font-weight="bold" font-size="14.00" fill="#000000">street</text>
<polygon fill="#bfffff" stroke="transparent" points="456,-184 456,-209 520,-209 520,-184 456,-184"/>
<polygon fill="none" stroke="#000000" points="456,-184 456,-209 520,-209 520,-184 456,-184"/>
<text text-anchor="start" x="471" y="-192.8" font-family="Times,serif" font-size="14.00" fill="#000000">String</text>
<polygon fill="#ebffff" stroke="transparent" points="392,-159 392,-184 456,-184 456,-159 392,-159"/>
<polygon fill="none" stroke="#000000" points="392,-159 392,-184 456,-184 456,-159 392,-159"/>
<text text-anchor="start" x="413" y="-168.8" font-family="Times,serif" font-weight="bold" font-size="14.00" fill="#000000">city</text>
<polygon fill="#ebffff" stroke="transparent" points="456,-159 456,-184 520,-184 520,-159 456,-159"/>
<polygon fill="none" stroke="#000000" points="456,-159 456,-184 520,-184 520,-159 456,-159"/>
<text text-anchor="start" x="471" y="-167.8" font-family="Times,serif" font-size="14.00" fill="#000000">String</text>
<polygon fill="#bfffff" stroke="transparent" points="392,-134 392,-159 456,-159 456,-134 392,-134"/>
<polygon fill="none" stroke="#000000" points="392,-134 392,-159 456,-159 456,-134 392,-134"/>
<text text-anchor="start" x="410" y="-143.8" font-family="Times,serif" font-weight="bold" font-size="14.00" fill="#000000">state</text>
<polygon fill="#bfffff" stroke="transparent" points="456,-134 456,-159 520,-159 520,-134 456,-134"/>
<polygon fill="none" stroke="#000000" points="456,-134 456,-159 520,-159 520,-134 456,-134"/>
<text text-anchor="start" x="471" y="-142.8" font-family="Times,serif" font-size="14.00" fill="#000000">String</text>
<polygon fill="#ebffff" stroke="transparent" points="392,-109 392,-134 456,-134 456,-109 392,-109"/>
<polygon fill="none" stroke="#000000" points="392,-109 392,-134 456,-134 456,-109 392,-109"/>
<text text-anchor="start" x="398.5" y="-118.8" font-family="Times,serif" font-weight="bold" font-size="14.00" fill="#000000">zip_code</text>
<polygon fill="#ebffff" stroke="transparent" points="456,-109 456,-134 520,-134 520,-109 456,-109"/>
<polygon fill="none" stroke="#000000" points="456,-109 456,-134 520,-134 520,-109 456,-109"/>
<text text-anchor="start" x="471" y="-117.8" font-family="Times,serif" font-size="14.00" fill="#000000">String</text>
<polygon fill="#bfffff" stroke="transparent" points="392,-84 392,-109 456,-109 456,-84 392,-84"/>
<polygon fill="none" stroke="#000000" points="392,-84 392,-109 456,-109 456,-84 392,-84"/>
<text text-anchor="start" x="401" y="-93.8" font-family="Times,serif" font-weight="bold" font-size="14.00" fill="#000000">country</text>
<polygon fill="#bfffff" stroke="transparent" points="456,-84 456,-109 520,-109 520,-84 456,-84"/>
<polygon fill="none" stroke="#000000" points="456,-84 456,-109 520,-109 520,-84 456,-84"/>
<text text-anchor="start" x="471" y="-92.8" font-family="Times,serif" font-size="14.00" fill="#000000">String</text>
<polygon fill="#ebffff" stroke="transparent" points="392,-59 392,-84 456,-84 456,-59 392,-59"/>
<polygon fill="none" stroke="#000000" points="392,-59 392,-84 456,-84 456,-59 392,-59"/>
<text text-anchor="start" x="397" y="-68.8" font-family="Times,serif" font-weight="bold" font-size="14.00" fill="#000000">company</text>
<polygon fill="#ebffff" stroke="transparent" points="456,-59 456,-84 520,-84 520,-59 456,-59"/>
<polygon fill="none" stroke="#000000" points="456,-59 456,-84 520,-84 520,-59 456,-59"/>
<text text-anchor="start" x="461" y="-67.8" font-family="Times,serif" font-size="14.00" fill="#000000">Company</text>
<polygon fill="#bfffff" stroke="transparent" points="392,-34 392,-59 456,-59 456,-34 392,-34"/>
<polygon fill="none" stroke="#000000" points="392,-34 392,-59 456,-59 456,-34 392,-34"/>
<text text-anchor="start" x="404" y="-43.8" font-family="Times,serif" font-weight="bold" font-size="14.00" fill="#000000">person</text>
<polygon fill="#bfffff" stroke="transparent" points="456,-34 456,-59 520,-59 520,-34 456,-34"/>
<polygon fill="none" stroke="#000000" points="456,-34 456,-59 520,-59 520,-34 456,-34"/>
<text text-anchor="start" x="469.5" y="-42.8" font-family="Times,serif" font-size="14.00" fill="#000000">Person</text>
</g>
<!-- Company -->
<g id="node2" class="node">
<title>Company</title>
<polygon fill="#ff8a5b" stroke="transparent" points="199.5,-164 199.5,-194 356.5,-194 356.5,-164 199.5,-164"/>
<polygon fill="none" stroke="#000000" points="199.5,-164 199.5,-194 356.5,-194 356.5,-164 199.5,-164"/>
<text text-anchor="start" x="240.5" y="-175.6" font-family="Times,serif" font-weight="bold" font-size="18.00" fill="#000000">Company</text>
<polygon fill="#bfffff" stroke="transparent" points="199.5,-139 199.5,-164 270.5,-164 270.5,-139 199.5,-139"/>
<polygon fill="none" stroke="#000000" points="199.5,-139 199.5,-164 270.5,-164 270.5,-139 199.5,-139"/>
<text text-anchor="start" x="218.5" y="-148.8" font-family="Times,serif" font-weight="bold" font-size="14.00" fill="#000000">name</text>
<polygon fill="#bfffff" stroke="transparent" points="270.5,-139 270.5,-164 356.5,-164 356.5,-139 270.5,-139"/>
<polygon fill="none" stroke="#000000" points="270.5,-139 270.5,-164 356.5,-164 356.5,-139 270.5,-139"/>
<text text-anchor="start" x="296.5" y="-147.8" font-family="Times,serif" font-size="14.00" fill="#000000">String</text>
<polygon fill="#ebffff" stroke="transparent" points="199.5,-114 199.5,-139 270.5,-139 270.5,-114 199.5,-114"/>
<polygon fill="none" stroke="#000000" points="199.5,-114 199.5,-139 270.5,-139 270.5,-114 199.5,-114"/>
<text text-anchor="start" x="226" y="-123.8" font-family="Times,serif" font-weight="bold" font-size="14.00" fill="#000000">url</text>
<polygon fill="#ebffff" stroke="transparent" points="270.5,-114 270.5,-139 356.5,-139 356.5,-114 270.5,-114"/>
<polygon fill="none" stroke="#000000" points="270.5,-114 270.5,-139 356.5,-139 356.5,-114 270.5,-114"/>
<text text-anchor="start" x="304" y="-122.8" font-family="Times,serif" font-size="14.00" fill="#000000">Url</text>
<polygon fill="#bfffff" stroke="transparent" points="199.5,-89 199.5,-114 270.5,-114 270.5,-89 199.5,-89"/>
<polygon fill="none" stroke="#000000" points="199.5,-89 199.5,-114 270.5,-114 270.5,-89 199.5,-89"/>
<text text-anchor="start" x="212.5" y="-98.8" font-family="Times,serif" font-weight="bold" font-size="14.00" fill="#000000">address</text>
<polygon fill="#bfffff" stroke="transparent" points="270.5,-89 270.5,-114 356.5,-114 356.5,-89 270.5,-89"/>
<polygon fill="none" stroke="#000000" points="270.5,-89 270.5,-114 356.5,-114 356.5,-89 270.5,-89"/>
<text text-anchor="start" x="291" y="-97.8" font-family="Times,serif" font-size="14.00" fill="#000000">Address</text>
<polygon fill="#ebffff" stroke="transparent" points="199.5,-64 199.5,-89 270.5,-89 270.5,-64 199.5,-64"/>
<polygon fill="none" stroke="#000000" points="199.5,-64 199.5,-89 270.5,-89 270.5,-64 199.5,-64"/>
<text text-anchor="start" x="204.5" y="-73.8" font-family="Times,serif" font-weight="bold" font-size="14.00" fill="#000000">employees</text>
<polygon fill="#ebffff" stroke="transparent" points="270.5,-64 270.5,-89 356.5,-89 356.5,-64 270.5,-64"/>
<polygon fill="none" stroke="#000000" points="270.5,-64 270.5,-89 356.5,-89 356.5,-64 270.5,-64"/>
<text text-anchor="start" x="275.5" y="-73.8" font-family="Times,serif" font-style="italic" font-size="14.00" fill="#000000">list of </text>
<text text-anchor="start" x="310.5" y="-73.8" font-family="Times,serif" font-size="14.00" fill="#000000"> Person</text>
</g>
<!-- Company&#45;&gt;Address -->
<g id="edge1" class="edge">
<title>Company:2&#45;&gt;Address:5</title>
<path fill="none" stroke="#000000" d="M356,-101C372.7595,-101 372.3713,-81.5743 382.4325,-73.9862"/>
<polygon fill="#000000" stroke="#000000" points="383.497,-77.3205 392,-71 381.4113,-70.6385 383.497,-77.3205"/>
<text text-anchor="middle" x="388.5" y="-59.8" font-family="Times,serif" font-size="14.00" fill="#000000">1</text>
<text text-anchor="middle" x="359.5" y="-89.8" font-family="Times,serif" font-size="14.00" fill="#000000">1</text>
</g>
<!-- Person -->
<g id="node3" class="node">
<title>Person</title>
<polygon fill="#ff8a5b" stroke="transparent" points=".5,-154 .5,-184 163.5,-184 163.5,-154 .5,-154"/>
<polygon fill="none" stroke="#000000" points=".5,-154 .5,-184 163.5,-184 163.5,-154 .5,-154"/>
<text text-anchor="start" x="55" y="-165.6" font-family="Times,serif" font-weight="bold" font-size="18.00" fill="#000000">Person</text>
<polygon fill="#bfffff" stroke="transparent" points=".5,-129 .5,-154 99.5,-154 99.5,-129 .5,-129"/>
<polygon fill="none" stroke="#000000" points=".5,-129 .5,-154 99.5,-154 99.5,-129 .5,-129"/>
<text text-anchor="start" x="33.5" y="-138.8" font-family="Times,serif" font-weight="bold" font-size="14.00" fill="#000000">name</text>
<polygon fill="#bfffff" stroke="transparent" points="99.5,-129 99.5,-154 163.5,-154 163.5,-129 99.5,-129"/>
<polygon fill="none" stroke="#000000" points="99.5,-129 99.5,-154 163.5,-154 163.5,-129 99.5,-129"/>
<text text-anchor="start" x="114.5" y="-137.8" font-family="Times,serif" font-size="14.00" fill="#000000">String</text>
<polygon fill="#ebffff" stroke="transparent" points=".5,-104 .5,-129 99.5,-129 99.5,-104 .5,-104"/>
<polygon fill="none" stroke="#000000" points=".5,-104 .5,-129 99.5,-129 99.5,-104 .5,-104"/>
<text text-anchor="start" x="37.5" y="-113.8" font-family="Times,serif" font-weight="bold" font-size="14.00" fill="#000000">type</text>
<polygon fill="#ebffff" stroke="transparent" points="99.5,-104 99.5,-129 163.5,-129 163.5,-104 99.5,-104"/>
<polygon fill="none" stroke="#000000" points="99.5,-104 99.5,-129 163.5,-129 163.5,-104 99.5,-104"/>
<text text-anchor="start" x="114.5" y="-112.8" font-family="Times,serif" font-size="14.00" fill="#000000">Enum</text>
<polygon fill="#bfffff" stroke="transparent" points=".5,-79 .5,-104 99.5,-104 99.5,-79 .5,-79"/>
<polygon fill="none" stroke="#000000" points=".5,-79 .5,-104 99.5,-104 99.5,-79 .5,-79"/>
<text text-anchor="start" x="23" y="-88.8" font-family="Times,serif" font-weight="bold" font-size="14.00" fill="#000000">company</text>
<polygon fill="#bfffff" stroke="transparent" points="99.5,-79 99.5,-104 163.5,-104 163.5,-79 99.5,-79"/>
<polygon fill="none" stroke="#000000" points="99.5,-79 99.5,-104 163.5,-104 163.5,-79 99.5,-79"/>
<text text-anchor="start" x="104.5" y="-87.8" font-family="Times,serif" font-size="14.00" fill="#000000">Company</text>
<polygon fill="#ebffff" stroke="transparent" points=".5,-54 .5,-79 99.5,-79 99.5,-54 .5,-54"/>
<polygon fill="none" stroke="#000000" points=".5,-54 .5,-79 99.5,-79 99.5,-54 .5,-54"/>
<text text-anchor="start" x="8" y="-63.8" font-family="Times,serif" font-weight="bold" font-size="14.00" fill="#000000">email_address</text>
<polygon fill="#ebffff" stroke="transparent" points="99.5,-54 99.5,-79 163.5,-79 163.5,-54 99.5,-54"/>
<polygon fill="none" stroke="#000000" points="99.5,-54 99.5,-79 163.5,-79 163.5,-54 99.5,-54"/>
<text text-anchor="start" x="114.5" y="-62.8" font-family="Times,serif" font-size="14.00" fill="#000000">Email</text>
<polygon fill="#bfffff" stroke="transparent" points=".5,-29 .5,-54 99.5,-54 99.5,-29 .5,-29"/>
<polygon fill="none" stroke="#000000" points=".5,-29 .5,-54 99.5,-54 99.5,-29 .5,-29"/>
<text text-anchor="start" x="5.5" y="-38.8" font-family="Times,serif" font-weight="bold" font-size="14.00" fill="#000000">phone_number</text>
<polygon fill="#bfffff" stroke="transparent" points="99.5,-29 99.5,-54 163.5,-54 163.5,-29 99.5,-29"/>
<polygon fill="none" stroke="#000000" points="99.5,-29 99.5,-54 163.5,-54 163.5,-29 99.5,-29"/>
<text text-anchor="start" x="114.5" y="-37.8" font-family="Times,serif" font-size="14.00" fill="#000000">String</text>
<polygon fill="#ebffff" stroke="transparent" points=".5,-4 .5,-29 99.5,-29 99.5,-4 .5,-4"/>
<polygon fill="none" stroke="#000000" points=".5,-4 .5,-29 99.5,-29 99.5,-4 .5,-4"/>
<text text-anchor="start" x="27.5" y="-13.8" font-family="Times,serif" font-weight="bold" font-size="14.00" fill="#000000">address</text>
<polygon fill="#ebffff" stroke="transparent" points="99.5,-4 99.5,-29 163.5,-29 163.5,-4 99.5,-4"/>
<polygon fill="none" stroke="#000000" points="99.5,-4 99.5,-29 163.5,-29 163.5,-4 99.5,-4"/>
<text text-anchor="start" x="109" y="-12.8" font-family="Times,serif" font-size="14.00" fill="#000000">Address</text>
</g>
<!-- Person&#45;&gt;Address -->
<g id="edge3" class="edge">
<title>Person:5&#45;&gt;Address:6</title>
<path fill="none" stroke="#000000" d="M163,-16C262.139,-16 287.6399,-43.9843 381.745,-45.8973"/>
<polygon fill="#000000" stroke="#000000" points="381.9654,-49.3995 392,-46 382.0356,-42.3999 381.9654,-49.3995"/>
<text text-anchor="middle" x="388.5" y="-34.8" font-family="Times,serif" font-size="14.00" fill="#000000">1</text>
<text text-anchor="middle" x="166.5" y="-4.8" font-family="Times,serif" font-size="14.00" fill="#000000">1</text>
</g>
<!-- Person&#45;&gt;Company -->
<g id="edge2" class="edge">
<title>Person:2&#45;&gt;Company:3</title>
<path fill="none" stroke="#000000" d="M163,-91C176.5651,-91 180.4894,-82.0269 189.6861,-77.961"/>
<polygon fill="#000000" stroke="#000000" points="190.3797,-81.3917 199.5,-76 189.008,-74.5274 190.3797,-81.3917"/>
<text text-anchor="middle" x="194.5" y="-64.8" font-family="Times,serif" font-size="14.00" fill="#000000">N</text>
<text text-anchor="middle" x="166.5" y="-79.8" font-family="Times,serif" font-size="14.00" fill="#000000">1</text>
</g>
</g>
</svg>