ngi-pointer-ap3/m3/pics/schema.svg

91 lines
5.7 KiB
XML
Raw Normal View History

2022-10-17 19:02:36 +02:00
<?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.43.0 (0)
-->
<!-- Title: deposit_policies Pages: 1 -->
<svg width="887pt" height="388pt"
viewBox="0.00 0.00 887.00 388.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 384)">
<title>deposit_policies</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-384 883,-384 883,4 -4,4"/>
<g id="clust1" class="cluster">
<title>cluster_deposits</title>
<polygon fill="none" stroke="black" points="8,-193 8,-372 263,-372 263,-193 8,-193"/>
<text text-anchor="start" x="102" y="-357.8" font-family="monospace" font-weight="bold" font-size="14.00">deposits</text>
</g>
<g id="clust2" class="cluster">
<title>cluster_policy_details</title>
<polygon fill="none" stroke="black" points="304,-78 304,-349 575,-349 575,-78 304,-78"/>
<text text-anchor="start" x="381.5" y="-334.8" font-family="monospace" font-weight="bold" font-size="14.00">policy_details</text>
</g>
<g id="clust3" class="cluster">
<title>cluster_policy_fulfillments</title>
<polygon fill="none" stroke="black" points="616,-8 616,-165 871,-165 871,-8 616,-8"/>
<text text-anchor="start" x="665" y="-150.8" font-family="monospace" font-weight="bold" font-size="14.00">policy_fulfillments</text>
</g>
<!-- deposits -->
<g id="node1" class="node">
<title>deposits</title>
<polygon fill="none" stroke="black" points="28,-213.5 28,-328.5 243,-328.5 243,-213.5 28,-213.5"/>
<text text-anchor="middle" x="135.5" y="-313.3" font-family="monospace" font-size="14.00">...</text>
<polyline fill="none" stroke="black" points="28,-305.5 243,-305.5 "/>
<text text-anchor="start" x="36" y="-290.3" font-family="monospace" font-size="14.00">policy_details_id (null)</text>
<polyline fill="none" stroke="black" points="28,-282.5 243,-282.5 "/>
<text text-anchor="middle" x="135.5" y="-267.3" font-family="monospace" font-size="14.00">...</text>
<polyline fill="none" stroke="black" points="28,-259.5 243,-259.5 "/>
<text text-anchor="start" x="36" y="-244.3" font-family="monospace" font-size="14.00">timestamp</text>
<polyline fill="none" stroke="black" points="28,-236.5 243,-236.5 "/>
<text text-anchor="middle" x="135.5" y="-221.3" font-family="monospace" font-size="14.00">...</text>
</g>
<!-- policy_details -->
<g id="node2" class="node">
<title>policy_details</title>
<polygon fill="none" stroke="black" points="324,-98.5 324,-305.5 555,-305.5 555,-98.5 324,-98.5"/>
<text text-anchor="start" x="332" y="-290.3" font-family="monospace" font-size="14.00">id</text>
<polyline fill="none" stroke="black" points="324,-282.5 555,-282.5 "/>
<text text-anchor="start" x="332" y="-267.3" font-family="monospace" font-size="14.00">policy_hash_code (unique)</text>
<polyline fill="none" stroke="black" points="324,-259.5 555,-259.5 "/>
<text text-anchor="start" x="332" y="-244.3" font-family="monospace" font-size="14.00">deadline</text>
<polyline fill="none" stroke="black" points="324,-236.5 555,-236.5 "/>
<text text-anchor="start" x="332" y="-221.3" font-family="monospace" font-size="14.00">commitment (amount)</text>
<polyline fill="none" stroke="black" points="324,-213.5 555,-213.5 "/>
<text text-anchor="start" x="332" y="-198.3" font-family="monospace" font-size="14.00">accumulated_total (amount)</text>
<polyline fill="none" stroke="black" points="324,-190.5 555,-190.5 "/>
<text text-anchor="start" x="332" y="-175.3" font-family="monospace" font-size="14.00">fee (amount)</text>
<polyline fill="none" stroke="black" points="324,-167.5 555,-167.5 "/>
<text text-anchor="start" x="332" y="-152.3" font-family="monospace" font-size="14.00">transferable (amount)</text>
<polyline fill="none" stroke="black" points="324,-144.5 555,-144.5 "/>
<text text-anchor="start" x="332" y="-129.3" font-family="monospace" font-size="14.00">fulfillment_state</text>
<polyline fill="none" stroke="black" points="324,-121.5 555,-121.5 "/>
<text text-anchor="start" x="332" y="-106.3" font-family="monospace" font-size="14.00">fulfillment_id (null)</text>
</g>
<!-- deposits&#45;&gt;policy_details -->
<g id="edge1" class="edge">
<title>deposits:ref&#45;&gt;policy_details:id</title>
<path fill="none" stroke="black" d="M244.5,-294C244.5,-294 291.16,-294 312.3,-294"/>
<polygon fill="black" stroke="black" points="312.5,-297.5 322.5,-294 312.5,-290.5 312.5,-297.5"/>
<text text-anchor="middle" x="283.5" y="-297.8" font-family="monospace" font-size="14.00">n:1</text>
</g>
<!-- policy_fulfillments -->
<g id="node3" class="node">
<title>policy_fulfillments</title>
<polygon fill="none" stroke="black" points="636,-29 636,-121 851,-121 851,-29 636,-29"/>
<text text-anchor="start" x="644" y="-105.8" font-family="monospace" font-size="14.00">id</text>
<polyline fill="none" stroke="black" points="636,-98 851,-98 "/>
<text text-anchor="start" x="644" y="-82.8" font-family="monospace" font-size="14.00">proof</text>
<polyline fill="none" stroke="black" points="636,-75 851,-75 "/>
<text text-anchor="start" x="644" y="-59.8" font-family="monospace" font-size="14.00">timestamp</text>
<polyline fill="none" stroke="black" points="636,-52 851,-52 "/>
<text text-anchor="start" x="644" y="-36.8" font-family="monospace" font-size="14.00">policy_hash_codes (blob)</text>
</g>
<!-- policy_details&#45;&gt;policy_fulfillments -->
<g id="edge2" class="edge">
<title>policy_details:fid&#45;&gt;policy_fulfillments:id</title>
<path fill="none" stroke="black" d="M556.5,-110C556.5,-110 603.16,-110 624.3,-110"/>
<polygon fill="black" stroke="black" points="624.5,-113.5 634.5,-110 624.5,-106.5 624.5,-113.5"/>
<text text-anchor="middle" x="595.5" y="-113.8" font-family="monospace" font-size="14.00">n:1</text>
</g>
</g>
</svg>