This commit is contained in:
Alexander Wang 2023-01-01 01:46:24 -08:00
parent e4bbd3200a
commit 69c062d8ea
No known key found for this signature in database
GPG key ID: D89FA31966BDBECE
13 changed files with 408 additions and 405 deletions

View file

@ -1068,7 +1068,10 @@ func (g *Graph) SetDimensions(mtexts []*d2target.MText, ruler *textmeasure.Ruler
desiredHeight, _ = strconv.Atoi(obj.Attributes.Height.Value)
}
if obj.Attributes.Label.Value == "" && obj.Attributes.Shape.Value != d2target.ShapeImage {
if obj.Attributes.Label.Value == "" &&
obj.Attributes.Shape.Value != d2target.ShapeImage &&
obj.Attributes.Shape.Value != d2target.ShapeSQLTable &&
obj.Attributes.Shape.Value != d2target.ShapeClass {
obj.Width = DEFAULT_SHAPE_PADDING
obj.Height = DEFAULT_SHAPE_PADDING
if desiredWidth != 0 {

View file

@ -6,11 +6,11 @@
"id": "class",
"type": "class",
"pos": {
"x": 48,
"x": 0,
"y": 0
},
"width": 100,
"height": 100,
"width": 422,
"height": 368,
"opacity": 1,
"strokeDash": 0,
"strokeWidth": 2,
@ -80,11 +80,11 @@
"id": "users",
"type": "sql_table",
"pos": {
"x": 48,
"y": 200
"x": 107,
"y": 468
},
"width": 100,
"height": 100,
"width": 208,
"height": 186,
"opacity": 1,
"strokeDash": 0,
"strokeWidth": 2,
@ -112,8 +112,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 15,
"labelHeight": 26
},
"type": {
"label": "int",
@ -124,8 +124,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 23,
"labelHeight": 26
},
"constraint": "",
"reference": ""
@ -140,8 +140,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 47,
"labelHeight": 26
},
"type": {
"label": "string",
@ -152,8 +152,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 48,
"labelHeight": 26
},
"constraint": "",
"reference": ""
@ -168,8 +168,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 47,
"labelHeight": 26
},
"type": {
"label": "string",
@ -180,8 +180,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 48,
"labelHeight": 26
},
"constraint": "",
"reference": ""
@ -196,8 +196,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 80,
"labelHeight": 26
},
"type": {
"label": "string",
@ -208,8 +208,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 48,
"labelHeight": 26
},
"constraint": "",
"reference": ""
@ -224,8 +224,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 81,
"labelHeight": 26
},
"type": {
"label": "datetime",
@ -236,8 +236,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 77,
"labelHeight": 26
},
"constraint": "",
"reference": ""
@ -251,8 +251,8 @@
"italic": false,
"bold": true,
"underline": false,
"labelWidth": 0,
"labelHeight": 0,
"labelWidth": 59,
"labelHeight": 31,
"zIndex": 0,
"level": 1,
"primaryAccentColor": "#0D32B2",
@ -263,8 +263,8 @@
"id": "code",
"type": "code",
"pos": {
"x": 0,
"y": 400
"x": 113,
"y": 754
},
"width": 196,
"height": 70,
@ -326,20 +326,20 @@
"labelPercentage": 0,
"route": [
{
"x": 98,
"y": 100
"x": 211,
"y": 368
},
{
"x": 98,
"y": 140
"x": 211,
"y": 408
},
{
"x": 98,
"y": 160
"x": 211,
"y": 428
},
{
"x": 98,
"y": 200
"x": 211,
"y": 468
}
],
"isCurve": true,
@ -374,20 +374,20 @@
"labelPercentage": 0,
"route": [
{
"x": 98,
"y": 300
"x": 211,
"y": 654
},
{
"x": 98,
"y": 340
"x": 211,
"y": 694
},
{
"x": 98,
"y": 360
"x": 211,
"y": 714
},
{
"x": 98,
"y": 400
"x": 211,
"y": 754
}
],
"isCurve": true,

View file

@ -2,7 +2,7 @@
<svg
style="background: white;"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
width="400" height="674" viewBox="-102 -102 400 674"><style type="text/css">
width="626" height="1028" viewBox="-102 -102 626 1028"><style type="text/css">
<![CDATA[
.shape {
shape-rendering: geometricPrecision;
@ -18,32 +18,32 @@ width="400" height="674" viewBox="-102 -102 400 674"><style type="text/css">
}
]]>
</style><g id="class"><g class="shape" ><rect class="shape" x="48" y="0" width="100" height="100" style="fill:#FFFFFF;stroke:#0A0F25;opacity:1.000000;stroke-width:2;"/><rect class="class_header" x="48.000000" y="0.000000" width="100.000000" height="25.000000" fill="#0A0F25" /><text class="text-mono" x="58.000000" y="36.250000" style="text-anchor:start;font-size:20px;fill:#0D32B2">-</text>
<text class="text-mono" x="78.000000" y="36.250000" style="text-anchor:start;font-size:20px;fill:#0A0F25">num</text>
<text class="text-mono" x="128.000000" y="36.250000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">int</text><text class="text-mono" x="58.000000" y="48.750000" style="text-anchor:start;font-size:20px;fill:#0D32B2">-</text>
<text class="text-mono" x="78.000000" y="48.750000" style="text-anchor:start;font-size:20px;fill:#0A0F25">timeout</text>
<text class="text-mono" x="128.000000" y="48.750000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">int</text><text class="text-mono" x="58.000000" y="61.250000" style="text-anchor:start;font-size:20px;fill:#0D32B2">-</text>
<text class="text-mono" x="78.000000" y="61.250000" style="text-anchor:start;font-size:20px;fill:#0A0F25">pid</text>
<text class="text-mono" x="128.000000" y="61.250000" style="text-anchor:end;font-size:20px;fill:#4A6FF3"></text><line x1="48.000000" y1="62.500000" x2="148.000000" y2="62.500000" style="stroke-width:1;stroke:#0A0F25" /><text class="text-mono" x="58.000000" y="73.750000" style="text-anchor:start;font-size:20px;fill:#0D32B2">+</text>
<text class="text-mono" x="78.000000" y="73.750000" style="text-anchor:start;font-size:20px;fill:#0A0F25">getStatus()</text>
<text class="text-mono" x="128.000000" y="73.750000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">Enum</text><text class="text-mono" x="58.000000" y="86.250000" style="text-anchor:start;font-size:20px;fill:#0D32B2">+</text>
<text class="text-mono" x="78.000000" y="86.250000" style="text-anchor:start;font-size:20px;fill:#0A0F25">getJobs()</text>
<text class="text-mono" x="128.000000" y="86.250000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">Job[]</text><text class="text-mono" x="58.000000" y="98.750000" style="text-anchor:start;font-size:20px;fill:#0D32B2">+</text>
<text class="text-mono" x="78.000000" y="98.750000" style="text-anchor:start;font-size:20px;fill:#0A0F25">setTimeout(seconds int)</text>
<text class="text-mono" x="128.000000" y="98.750000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">void</text></g></g><g id="users"><g class="shape" ><rect class="shape" x="48" y="200" width="100" height="100" style="fill:#FFFFFF;stroke:#0A0F25;opacity:1.000000;stroke-width:2;"/><rect class="class_header" x="48.000000" y="200.000000" width="100.000000" height="16.666667" fill="#0A0F25" /><text class="text" x="58.000000" y="230.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">id</text>
<text class="text" x="78.000000" y="230.000000" style="text-anchor:start;font-size:20px;fill:#676C7E">int</text>
<text class="text" x="128.000000" y="230.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="48.000000" y1="233.333333" x2="148.000000" y2="233.333333" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="58.000000" y="246.666667" style="text-anchor:start;font-size:20px;fill:#0D32B2">name</text>
<text class="text" x="78.000000" y="246.666667" style="text-anchor:start;font-size:20px;fill:#676C7E">string</text>
<text class="text" x="128.000000" y="246.666667" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="48.000000" y1="250.000000" x2="148.000000" y2="250.000000" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="58.000000" y="263.333333" style="text-anchor:start;font-size:20px;fill:#0D32B2">email</text>
<text class="text" x="78.000000" y="263.333333" style="text-anchor:start;font-size:20px;fill:#676C7E">string</text>
<text class="text" x="128.000000" y="263.333333" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="48.000000" y1="266.666667" x2="148.000000" y2="266.666667" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="58.000000" y="280.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">password</text>
<text class="text" x="78.000000" y="280.000000" style="text-anchor:start;font-size:20px;fill:#676C7E">string</text>
<text class="text" x="128.000000" y="280.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="48.000000" y1="283.333333" x2="148.000000" y2="283.333333" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="58.000000" y="296.666667" style="text-anchor:start;font-size:20px;fill:#0D32B2">last_login</text>
<text class="text" x="78.000000" y="296.666667" style="text-anchor:start;font-size:20px;fill:#676C7E">datetime</text>
<text class="text" x="128.000000" y="296.666667" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="48.000000" y1="300.000000" x2="148.000000" y2="300.000000" style="stroke-width:2;stroke:#0A0F25" /></g></g><g id="code"><g class="shape" ></g><g transform="translate(0.000000 400.000000)" style="opacity:1.000000"><rect class="shape" width="196" height="70" style="stroke: #0A0F25;fill:#ffffff" /><g transform="translate(6 6)"><text class="text-mono" x="0" y="1.000000em" xml:space="preserve">a&#160;<tspan fill="#000000" font-weight="bold">:=</tspan>&#160;<tspan fill="#009999">5</tspan>
</style><g id="class"><g class="shape" ><rect class="shape" x="0" y="0" width="422" height="368" style="fill:#FFFFFF;stroke:#0A0F25;opacity:1.000000;stroke-width:2;"/><rect class="class_header" x="0.000000" y="0.000000" width="422.000000" height="92.000000" fill="#0A0F25" /><text class="text-mono" x="10.000000" y="120.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">-</text>
<text class="text-mono" x="30.000000" y="120.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">num</text>
<text class="text-mono" x="402.000000" y="120.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">int</text><text class="text-mono" x="10.000000" y="166.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">-</text>
<text class="text-mono" x="30.000000" y="166.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">timeout</text>
<text class="text-mono" x="402.000000" y="166.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">int</text><text class="text-mono" x="10.000000" y="212.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">-</text>
<text class="text-mono" x="30.000000" y="212.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">pid</text>
<text class="text-mono" x="402.000000" y="212.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3"></text><line x1="0.000000" y1="230.000000" x2="422.000000" y2="230.000000" style="stroke-width:1;stroke:#0A0F25" /><text class="text-mono" x="10.000000" y="258.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">+</text>
<text class="text-mono" x="30.000000" y="258.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">getStatus()</text>
<text class="text-mono" x="402.000000" y="258.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">Enum</text><text class="text-mono" x="10.000000" y="304.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">+</text>
<text class="text-mono" x="30.000000" y="304.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">getJobs()</text>
<text class="text-mono" x="402.000000" y="304.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">Job[]</text><text class="text-mono" x="10.000000" y="350.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">+</text>
<text class="text-mono" x="30.000000" y="350.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">setTimeout(seconds int)</text>
<text class="text-mono" x="402.000000" y="350.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">void</text></g></g><g id="users"><g class="shape" ><rect class="shape" x="107" y="468" width="208" height="186" style="fill:#FFFFFF;stroke:#0A0F25;opacity:1.000000;stroke-width:2;"/><rect class="class_header" x="107.000000" y="468.000000" width="208.000000" height="31.000000" fill="#0A0F25" /><text class="text" x="117.000000" y="519.500000" style="text-anchor:start;font-size:20px;fill:#0D32B2">id</text>
<text class="text" x="218.000000" y="519.500000" style="text-anchor:start;font-size:20px;fill:#676C7E">int</text>
<text class="text" x="295.000000" y="519.500000" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="107.000000" y1="530.000000" x2="315.000000" y2="530.000000" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="117.000000" y="550.500000" style="text-anchor:start;font-size:20px;fill:#0D32B2">name</text>
<text class="text" x="218.000000" y="550.500000" style="text-anchor:start;font-size:20px;fill:#676C7E">string</text>
<text class="text" x="295.000000" y="550.500000" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="107.000000" y1="561.000000" x2="315.000000" y2="561.000000" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="117.000000" y="581.500000" style="text-anchor:start;font-size:20px;fill:#0D32B2">email</text>
<text class="text" x="218.000000" y="581.500000" style="text-anchor:start;font-size:20px;fill:#676C7E">string</text>
<text class="text" x="295.000000" y="581.500000" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="107.000000" y1="592.000000" x2="315.000000" y2="592.000000" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="117.000000" y="612.500000" style="text-anchor:start;font-size:20px;fill:#0D32B2">password</text>
<text class="text" x="218.000000" y="612.500000" style="text-anchor:start;font-size:20px;fill:#676C7E">string</text>
<text class="text" x="295.000000" y="612.500000" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="107.000000" y1="623.000000" x2="315.000000" y2="623.000000" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="117.000000" y="643.500000" style="text-anchor:start;font-size:20px;fill:#0D32B2">last_login</text>
<text class="text" x="218.000000" y="643.500000" style="text-anchor:start;font-size:20px;fill:#676C7E">datetime</text>
<text class="text" x="295.000000" y="643.500000" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="107.000000" y1="654.000000" x2="315.000000" y2="654.000000" style="stroke-width:2;stroke:#0A0F25" /></g></g><g id="code"><g class="shape" ></g><g transform="translate(113.000000 754.000000)" style="opacity:1.000000"><rect class="shape" width="196" height="70" style="stroke: #0A0F25;fill:#ffffff" /><g transform="translate(6 6)"><text class="text-mono" x="0" y="1.000000em" xml:space="preserve">a&#160;<tspan fill="#000000" font-weight="bold">:=</tspan>&#160;<tspan fill="#009999">5</tspan>
</text><text class="text-mono" x="0" y="2.000000em" xml:space="preserve">b&#160;<tspan fill="#000000" font-weight="bold">:=</tspan>&#160;a&#160;<tspan fill="#000000" font-weight="bold">+</tspan>&#160;<tspan fill="#009999">7</tspan>
</text><text class="text-mono" x="0" y="3.000000em" xml:space="preserve">fmt.<tspan fill="#990000" font-weight="bold">Printf</tspan>(<tspan fill="#dd1144">&quot;%d&quot;</tspan>,&#160;b)</text></g></g></g><g id="(class -&gt; users)[0]"><marker id="mk-3990223579" markerWidth="10.000000" markerHeight="12.000000" refX="7.000000" refY="6.000000" viewBox="0.000000 0.000000 10.000000 12.000000" orient="auto" markerUnits="userSpaceOnUse"> <polygon class="connection" fill="#0D32B2" stroke-width="2" points="0.000000,0.000000 10.000000,6.000000 0.000000,12.000000" /> </marker><path d="M 98.000000 102.000000 C 98.000000 140.000000 98.000000 160.000000 98.000000 196.000000" class="connection" style="fill:none;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" marker-end="url(#mk-3990223579)" mask="url(#2425301786)"/></g><g id="(users -&gt; code)[0]"><path d="M 98.000000 302.000000 C 98.000000 340.000000 98.000000 360.000000 98.000000 396.000000" class="connection" style="fill:none;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" marker-end="url(#mk-3990223579)" mask="url(#2425301786)"/></g><mask id="2425301786" maskUnits="userSpaceOnUse" x="-100" y="-100" width="400" height="674">
<rect x="-100" y="-100" width="400" height="674" fill="white"></rect>
</text><text class="text-mono" x="0" y="3.000000em" xml:space="preserve">fmt.<tspan fill="#990000" font-weight="bold">Printf</tspan>(<tspan fill="#dd1144">&quot;%d&quot;</tspan>,&#160;b)</text></g></g></g><g id="(class -&gt; users)[0]"><marker id="mk-3990223579" markerWidth="10.000000" markerHeight="12.000000" refX="7.000000" refY="6.000000" viewBox="0.000000 0.000000 10.000000 12.000000" orient="auto" markerUnits="userSpaceOnUse"> <polygon class="connection" fill="#0D32B2" stroke-width="2" points="0.000000,0.000000 10.000000,6.000000 0.000000,12.000000" /> </marker><path d="M 211.000000 370.000000 C 211.000000 408.000000 211.000000 428.000000 211.000000 464.000000" class="connection" style="fill:none;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" marker-end="url(#mk-3990223579)" mask="url(#523458208)"/></g><g id="(users -&gt; code)[0]"><path d="M 211.000000 656.000000 C 211.000000 694.000000 211.000000 714.000000 211.000000 750.000000" class="connection" style="fill:none;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" marker-end="url(#mk-3990223579)" mask="url(#523458208)"/></g><mask id="523458208" maskUnits="userSpaceOnUse" x="-100" y="-100" width="626" height="1028">
<rect x="-100" y="-100" width="626" height="1028" fill="white"></rect>
</mask><style type="text/css"><![CDATA[
.text {

Before

Width:  |  Height:  |  Size: 512 KiB

After

Width:  |  Height:  |  Size: 512 KiB

View file

@ -6,11 +6,11 @@
"id": "class",
"type": "class",
"pos": {
"x": 60,
"x": 12,
"y": 12
},
"width": 100,
"height": 100,
"width": 422,
"height": 368,
"opacity": 1,
"strokeDash": 0,
"strokeWidth": 2,
@ -80,11 +80,11 @@
"id": "users",
"type": "sql_table",
"pos": {
"x": 60,
"y": 212
"x": 119,
"y": 480
},
"width": 100,
"height": 100,
"width": 208,
"height": 186,
"opacity": 1,
"strokeDash": 0,
"strokeWidth": 2,
@ -112,8 +112,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 15,
"labelHeight": 26
},
"type": {
"label": "int",
@ -124,8 +124,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 23,
"labelHeight": 26
},
"constraint": "",
"reference": ""
@ -140,8 +140,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 47,
"labelHeight": 26
},
"type": {
"label": "string",
@ -152,8 +152,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 48,
"labelHeight": 26
},
"constraint": "",
"reference": ""
@ -168,8 +168,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 47,
"labelHeight": 26
},
"type": {
"label": "string",
@ -180,8 +180,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 48,
"labelHeight": 26
},
"constraint": "",
"reference": ""
@ -196,8 +196,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 80,
"labelHeight": 26
},
"type": {
"label": "string",
@ -208,8 +208,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 48,
"labelHeight": 26
},
"constraint": "",
"reference": ""
@ -224,8 +224,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 81,
"labelHeight": 26
},
"type": {
"label": "datetime",
@ -236,8 +236,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 77,
"labelHeight": 26
},
"constraint": "",
"reference": ""
@ -251,8 +251,8 @@
"italic": false,
"bold": true,
"underline": false,
"labelWidth": 0,
"labelHeight": 0,
"labelWidth": 59,
"labelHeight": 31,
"zIndex": 0,
"level": 1,
"primaryAccentColor": "#0D32B2",
@ -263,8 +263,8 @@
"id": "code",
"type": "code",
"pos": {
"x": 12,
"y": 412
"x": 125,
"y": 766
},
"width": 196,
"height": 70,
@ -326,12 +326,12 @@
"labelPercentage": 0,
"route": [
{
"x": 110,
"y": 112
"x": 223,
"y": 380
},
{
"x": 110,
"y": 212
"x": 223,
"y": 480
}
],
"animated": false,
@ -365,12 +365,12 @@
"labelPercentage": 0,
"route": [
{
"x": 110,
"y": 312
"x": 223,
"y": 666
},
{
"x": 110,
"y": 412
"x": 223,
"y": 766
}
],
"animated": false,

View file

@ -2,7 +2,7 @@
<svg
style="background: white;"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
width="400" height="674" viewBox="-90 -90 400 674"><style type="text/css">
width="626" height="1028" viewBox="-90 -90 626 1028"><style type="text/css">
<![CDATA[
.shape {
shape-rendering: geometricPrecision;
@ -18,32 +18,32 @@ width="400" height="674" viewBox="-90 -90 400 674"><style type="text/css">
}
]]>
</style><g id="class"><g class="shape" ><rect class="shape" x="60" y="12" width="100" height="100" style="fill:#FFFFFF;stroke:#0A0F25;opacity:1.000000;stroke-width:2;"/><rect class="class_header" x="60.000000" y="12.000000" width="100.000000" height="25.000000" fill="#0A0F25" /><text class="text-mono" x="70.000000" y="48.250000" style="text-anchor:start;font-size:20px;fill:#0D32B2">-</text>
<text class="text-mono" x="90.000000" y="48.250000" style="text-anchor:start;font-size:20px;fill:#0A0F25">num</text>
<text class="text-mono" x="140.000000" y="48.250000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">int</text><text class="text-mono" x="70.000000" y="60.750000" style="text-anchor:start;font-size:20px;fill:#0D32B2">-</text>
<text class="text-mono" x="90.000000" y="60.750000" style="text-anchor:start;font-size:20px;fill:#0A0F25">timeout</text>
<text class="text-mono" x="140.000000" y="60.750000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">int</text><text class="text-mono" x="70.000000" y="73.250000" style="text-anchor:start;font-size:20px;fill:#0D32B2">-</text>
<text class="text-mono" x="90.000000" y="73.250000" style="text-anchor:start;font-size:20px;fill:#0A0F25">pid</text>
<text class="text-mono" x="140.000000" y="73.250000" style="text-anchor:end;font-size:20px;fill:#4A6FF3"></text><line x1="60.000000" y1="74.500000" x2="160.000000" y2="74.500000" style="stroke-width:1;stroke:#0A0F25" /><text class="text-mono" x="70.000000" y="85.750000" style="text-anchor:start;font-size:20px;fill:#0D32B2">+</text>
<text class="text-mono" x="90.000000" y="85.750000" style="text-anchor:start;font-size:20px;fill:#0A0F25">getStatus()</text>
<text class="text-mono" x="140.000000" y="85.750000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">Enum</text><text class="text-mono" x="70.000000" y="98.250000" style="text-anchor:start;font-size:20px;fill:#0D32B2">+</text>
<text class="text-mono" x="90.000000" y="98.250000" style="text-anchor:start;font-size:20px;fill:#0A0F25">getJobs()</text>
<text class="text-mono" x="140.000000" y="98.250000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">Job[]</text><text class="text-mono" x="70.000000" y="110.750000" style="text-anchor:start;font-size:20px;fill:#0D32B2">+</text>
<text class="text-mono" x="90.000000" y="110.750000" style="text-anchor:start;font-size:20px;fill:#0A0F25">setTimeout(seconds int)</text>
<text class="text-mono" x="140.000000" y="110.750000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">void</text></g></g><g id="users"><g class="shape" ><rect class="shape" x="60" y="212" width="100" height="100" style="fill:#FFFFFF;stroke:#0A0F25;opacity:1.000000;stroke-width:2;"/><rect class="class_header" x="60.000000" y="212.000000" width="100.000000" height="16.666667" fill="#0A0F25" /><text class="text" x="70.000000" y="242.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">id</text>
<text class="text" x="90.000000" y="242.000000" style="text-anchor:start;font-size:20px;fill:#676C7E">int</text>
<text class="text" x="140.000000" y="242.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="60.000000" y1="245.333333" x2="160.000000" y2="245.333333" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="70.000000" y="258.666667" style="text-anchor:start;font-size:20px;fill:#0D32B2">name</text>
<text class="text" x="90.000000" y="258.666667" style="text-anchor:start;font-size:20px;fill:#676C7E">string</text>
<text class="text" x="140.000000" y="258.666667" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="60.000000" y1="262.000000" x2="160.000000" y2="262.000000" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="70.000000" y="275.333333" style="text-anchor:start;font-size:20px;fill:#0D32B2">email</text>
<text class="text" x="90.000000" y="275.333333" style="text-anchor:start;font-size:20px;fill:#676C7E">string</text>
<text class="text" x="140.000000" y="275.333333" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="60.000000" y1="278.666667" x2="160.000000" y2="278.666667" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="70.000000" y="292.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">password</text>
<text class="text" x="90.000000" y="292.000000" style="text-anchor:start;font-size:20px;fill:#676C7E">string</text>
<text class="text" x="140.000000" y="292.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="60.000000" y1="295.333333" x2="160.000000" y2="295.333333" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="70.000000" y="308.666667" style="text-anchor:start;font-size:20px;fill:#0D32B2">last_login</text>
<text class="text" x="90.000000" y="308.666667" style="text-anchor:start;font-size:20px;fill:#676C7E">datetime</text>
<text class="text" x="140.000000" y="308.666667" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="60.000000" y1="312.000000" x2="160.000000" y2="312.000000" style="stroke-width:2;stroke:#0A0F25" /></g></g><g id="code"><g class="shape" ></g><g transform="translate(12.000000 412.000000)" style="opacity:1.000000"><rect class="shape" width="196" height="70" style="stroke: #0A0F25;fill:#ffffff" /><g transform="translate(6 6)"><text class="text-mono" x="0" y="1.000000em" xml:space="preserve">a&#160;<tspan fill="#000000" font-weight="bold">:=</tspan>&#160;<tspan fill="#009999">5</tspan>
</style><g id="class"><g class="shape" ><rect class="shape" x="12" y="12" width="422" height="368" style="fill:#FFFFFF;stroke:#0A0F25;opacity:1.000000;stroke-width:2;"/><rect class="class_header" x="12.000000" y="12.000000" width="422.000000" height="92.000000" fill="#0A0F25" /><text class="text-mono" x="22.000000" y="132.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">-</text>
<text class="text-mono" x="42.000000" y="132.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">num</text>
<text class="text-mono" x="414.000000" y="132.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">int</text><text class="text-mono" x="22.000000" y="178.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">-</text>
<text class="text-mono" x="42.000000" y="178.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">timeout</text>
<text class="text-mono" x="414.000000" y="178.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">int</text><text class="text-mono" x="22.000000" y="224.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">-</text>
<text class="text-mono" x="42.000000" y="224.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">pid</text>
<text class="text-mono" x="414.000000" y="224.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3"></text><line x1="12.000000" y1="242.000000" x2="434.000000" y2="242.000000" style="stroke-width:1;stroke:#0A0F25" /><text class="text-mono" x="22.000000" y="270.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">+</text>
<text class="text-mono" x="42.000000" y="270.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">getStatus()</text>
<text class="text-mono" x="414.000000" y="270.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">Enum</text><text class="text-mono" x="22.000000" y="316.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">+</text>
<text class="text-mono" x="42.000000" y="316.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">getJobs()</text>
<text class="text-mono" x="414.000000" y="316.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">Job[]</text><text class="text-mono" x="22.000000" y="362.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">+</text>
<text class="text-mono" x="42.000000" y="362.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">setTimeout(seconds int)</text>
<text class="text-mono" x="414.000000" y="362.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">void</text></g></g><g id="users"><g class="shape" ><rect class="shape" x="119" y="480" width="208" height="186" style="fill:#FFFFFF;stroke:#0A0F25;opacity:1.000000;stroke-width:2;"/><rect class="class_header" x="119.000000" y="480.000000" width="208.000000" height="31.000000" fill="#0A0F25" /><text class="text" x="129.000000" y="531.500000" style="text-anchor:start;font-size:20px;fill:#0D32B2">id</text>
<text class="text" x="230.000000" y="531.500000" style="text-anchor:start;font-size:20px;fill:#676C7E">int</text>
<text class="text" x="307.000000" y="531.500000" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="119.000000" y1="542.000000" x2="327.000000" y2="542.000000" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="129.000000" y="562.500000" style="text-anchor:start;font-size:20px;fill:#0D32B2">name</text>
<text class="text" x="230.000000" y="562.500000" style="text-anchor:start;font-size:20px;fill:#676C7E">string</text>
<text class="text" x="307.000000" y="562.500000" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="119.000000" y1="573.000000" x2="327.000000" y2="573.000000" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="129.000000" y="593.500000" style="text-anchor:start;font-size:20px;fill:#0D32B2">email</text>
<text class="text" x="230.000000" y="593.500000" style="text-anchor:start;font-size:20px;fill:#676C7E">string</text>
<text class="text" x="307.000000" y="593.500000" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="119.000000" y1="604.000000" x2="327.000000" y2="604.000000" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="129.000000" y="624.500000" style="text-anchor:start;font-size:20px;fill:#0D32B2">password</text>
<text class="text" x="230.000000" y="624.500000" style="text-anchor:start;font-size:20px;fill:#676C7E">string</text>
<text class="text" x="307.000000" y="624.500000" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="119.000000" y1="635.000000" x2="327.000000" y2="635.000000" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="129.000000" y="655.500000" style="text-anchor:start;font-size:20px;fill:#0D32B2">last_login</text>
<text class="text" x="230.000000" y="655.500000" style="text-anchor:start;font-size:20px;fill:#676C7E">datetime</text>
<text class="text" x="307.000000" y="655.500000" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="119.000000" y1="666.000000" x2="327.000000" y2="666.000000" style="stroke-width:2;stroke:#0A0F25" /></g></g><g id="code"><g class="shape" ></g><g transform="translate(125.000000 766.000000)" style="opacity:1.000000"><rect class="shape" width="196" height="70" style="stroke: #0A0F25;fill:#ffffff" /><g transform="translate(6 6)"><text class="text-mono" x="0" y="1.000000em" xml:space="preserve">a&#160;<tspan fill="#000000" font-weight="bold">:=</tspan>&#160;<tspan fill="#009999">5</tspan>
</text><text class="text-mono" x="0" y="2.000000em" xml:space="preserve">b&#160;<tspan fill="#000000" font-weight="bold">:=</tspan>&#160;a&#160;<tspan fill="#000000" font-weight="bold">+</tspan>&#160;<tspan fill="#009999">7</tspan>
</text><text class="text-mono" x="0" y="3.000000em" xml:space="preserve">fmt.<tspan fill="#990000" font-weight="bold">Printf</tspan>(<tspan fill="#dd1144">&quot;%d&quot;</tspan>,&#160;b)</text></g></g></g><g id="(class -&gt; users)[0]"><marker id="mk-3990223579" markerWidth="10.000000" markerHeight="12.000000" refX="7.000000" refY="6.000000" viewBox="0.000000 0.000000 10.000000 12.000000" orient="auto" markerUnits="userSpaceOnUse"> <polygon class="connection" fill="#0D32B2" stroke-width="2" points="0.000000,0.000000 10.000000,6.000000 0.000000,12.000000" /> </marker><path d="M 110.000000 114.000000 L 110.000000 208.000000" class="connection" style="fill:none;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" marker-end="url(#mk-3990223579)" mask="url(#1185608436)"/></g><g id="(users -&gt; code)[0]"><path d="M 110.000000 314.000000 L 110.000000 408.000000" class="connection" style="fill:none;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" marker-end="url(#mk-3990223579)" mask="url(#1185608436)"/></g><mask id="1185608436" maskUnits="userSpaceOnUse" x="-100" y="-100" width="400" height="674">
<rect x="-100" y="-100" width="400" height="674" fill="white"></rect>
</text><text class="text-mono" x="0" y="3.000000em" xml:space="preserve">fmt.<tspan fill="#990000" font-weight="bold">Printf</tspan>(<tspan fill="#dd1144">&quot;%d&quot;</tspan>,&#160;b)</text></g></g></g><g id="(class -&gt; users)[0]"><marker id="mk-3990223579" markerWidth="10.000000" markerHeight="12.000000" refX="7.000000" refY="6.000000" viewBox="0.000000 0.000000 10.000000 12.000000" orient="auto" markerUnits="userSpaceOnUse"> <polygon class="connection" fill="#0D32B2" stroke-width="2" points="0.000000,0.000000 10.000000,6.000000 0.000000,12.000000" /> </marker><path d="M 223.000000 382.000000 L 223.000000 476.000000" class="connection" style="fill:none;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" marker-end="url(#mk-3990223579)" mask="url(#2661949018)"/></g><g id="(users -&gt; code)[0]"><path d="M 223.000000 668.000000 L 223.000000 762.000000" class="connection" style="fill:none;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" marker-end="url(#mk-3990223579)" mask="url(#2661949018)"/></g><mask id="2661949018" maskUnits="userSpaceOnUse" x="-100" y="-100" width="626" height="1028">
<rect x="-100" y="-100" width="626" height="1028" fill="white"></rect>
</mask><style type="text/css"><![CDATA[
.text {

Before

Width:  |  Height:  |  Size: 512 KiB

After

Width:  |  Height:  |  Size: 512 KiB

View file

@ -6,10 +6,10 @@
"id": "class",
"type": "class",
"pos": {
"x": 48,
"x": 0,
"y": 0
},
"width": 100,
"width": 422,
"height": 512,
"opacity": 1,
"strokeDash": 0,
@ -80,10 +80,10 @@
"id": "users",
"type": "sql_table",
"pos": {
"x": 48,
"x": 107,
"y": 612
},
"width": 100,
"width": 208,
"height": 512,
"opacity": 1,
"strokeDash": 0,
@ -112,8 +112,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 15,
"labelHeight": 26
},
"type": {
"label": "int",
@ -124,8 +124,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 23,
"labelHeight": 26
},
"constraint": "",
"reference": ""
@ -140,8 +140,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 47,
"labelHeight": 26
},
"type": {
"label": "string",
@ -152,8 +152,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 48,
"labelHeight": 26
},
"constraint": "",
"reference": ""
@ -168,8 +168,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 47,
"labelHeight": 26
},
"type": {
"label": "string",
@ -180,8 +180,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 48,
"labelHeight": 26
},
"constraint": "",
"reference": ""
@ -196,8 +196,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 80,
"labelHeight": 26
},
"type": {
"label": "string",
@ -208,8 +208,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 48,
"labelHeight": 26
},
"constraint": "",
"reference": ""
@ -224,8 +224,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 81,
"labelHeight": 26
},
"type": {
"label": "datetime",
@ -236,8 +236,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 77,
"labelHeight": 26
},
"constraint": "",
"reference": ""
@ -251,8 +251,8 @@
"italic": false,
"bold": true,
"underline": false,
"labelWidth": 0,
"labelHeight": 0,
"labelWidth": 59,
"labelHeight": 31,
"zIndex": 0,
"level": 1,
"primaryAccentColor": "#0D32B2",
@ -263,7 +263,7 @@
"id": "code",
"type": "code",
"pos": {
"x": 0,
"x": 113,
"y": 1224
},
"width": 196,
@ -302,7 +302,7 @@
"id": "package",
"type": "package",
"pos": {
"x": 48,
"x": 161,
"y": 1836
},
"width": 100,
@ -341,7 +341,7 @@
"id": "no height",
"type": "",
"pos": {
"x": 48,
"x": 161,
"y": 2448
},
"width": 100,
@ -404,19 +404,19 @@
"labelPercentage": 0,
"route": [
{
"x": 98,
"x": 211,
"y": 512
},
{
"x": 98,
"x": 211,
"y": 552
},
{
"x": 98,
"x": 211,
"y": 572
},
{
"x": 98,
"x": 211,
"y": 612
}
],
@ -452,19 +452,19 @@
"labelPercentage": 0,
"route": [
{
"x": 98,
"x": 211,
"y": 1124
},
{
"x": 98,
"x": 211,
"y": 1164
},
{
"x": 98,
"x": 211,
"y": 1184
},
{
"x": 98,
"x": 211,
"y": 1224
}
],
@ -500,19 +500,19 @@
"labelPercentage": 0,
"route": [
{
"x": 98,
"x": 211,
"y": 1736
},
{
"x": 98,
"x": 211,
"y": 1776
},
{
"x": 98,
"x": 211,
"y": 1796
},
{
"x": 98,
"x": 211,
"y": 1836
}
],
@ -548,19 +548,19 @@
"labelPercentage": 0,
"route": [
{
"x": 98,
"x": 211,
"y": 2348
},
{
"x": 98,
"x": 211,
"y": 2388
},
{
"x": 98,
"x": 211,
"y": 2408
},
{
"x": 98,
"x": 211,
"y": 2448
}
],

View file

@ -2,7 +2,7 @@
<svg
style="background: white;"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
width="400" height="2752" viewBox="-102 -102 400 2752"><style type="text/css">
width="626" height="2752" viewBox="-102 -102 626 2752"><style type="text/css">
<![CDATA[
.shape {
shape-rendering: geometricPrecision;
@ -18,32 +18,32 @@ width="400" height="2752" viewBox="-102 -102 400 2752"><style type="text/css">
}
]]>
</style><g id="class"><g class="shape" ><rect class="shape" x="48" y="0" width="100" height="512" style="fill:#FFFFFF;stroke:#0A0F25;opacity:1.000000;stroke-width:2;"/><rect class="class_header" x="48.000000" y="0.000000" width="100.000000" height="128.000000" fill="#0A0F25" /><text class="text-mono" x="58.000000" y="165.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">-</text>
<text class="text-mono" x="78.000000" y="165.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">num</text>
<text class="text-mono" x="128.000000" y="165.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">int</text><text class="text-mono" x="58.000000" y="229.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">-</text>
<text class="text-mono" x="78.000000" y="229.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">timeout</text>
<text class="text-mono" x="128.000000" y="229.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">int</text><text class="text-mono" x="58.000000" y="293.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">-</text>
<text class="text-mono" x="78.000000" y="293.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">pid</text>
<text class="text-mono" x="128.000000" y="293.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3"></text><line x1="48.000000" y1="320.000000" x2="148.000000" y2="320.000000" style="stroke-width:1;stroke:#0A0F25" /><text class="text-mono" x="58.000000" y="357.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">+</text>
<text class="text-mono" x="78.000000" y="357.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">getStatus()</text>
<text class="text-mono" x="128.000000" y="357.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">Enum</text><text class="text-mono" x="58.000000" y="421.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">+</text>
<text class="text-mono" x="78.000000" y="421.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">getJobs()</text>
<text class="text-mono" x="128.000000" y="421.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">Job[]</text><text class="text-mono" x="58.000000" y="485.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">+</text>
<text class="text-mono" x="78.000000" y="485.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">setTimeout(seconds int)</text>
<text class="text-mono" x="128.000000" y="485.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">void</text></g></g><g id="users"><g class="shape" ><rect class="shape" x="48" y="612" width="100" height="512" style="fill:#FFFFFF;stroke:#0A0F25;opacity:1.000000;stroke-width:2;"/><rect class="class_header" x="48.000000" y="612.000000" width="100.000000" height="85.333333" fill="#0A0F25" /><text class="text" x="58.000000" y="745.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">id</text>
<text class="text" x="78.000000" y="745.000000" style="text-anchor:start;font-size:20px;fill:#676C7E">int</text>
<text class="text" x="128.000000" y="745.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="48.000000" y1="782.666667" x2="148.000000" y2="782.666667" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="58.000000" y="830.333333" style="text-anchor:start;font-size:20px;fill:#0D32B2">name</text>
<text class="text" x="78.000000" y="830.333333" style="text-anchor:start;font-size:20px;fill:#676C7E">string</text>
<text class="text" x="128.000000" y="830.333333" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="48.000000" y1="868.000000" x2="148.000000" y2="868.000000" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="58.000000" y="915.666667" style="text-anchor:start;font-size:20px;fill:#0D32B2">email</text>
<text class="text" x="78.000000" y="915.666667" style="text-anchor:start;font-size:20px;fill:#676C7E">string</text>
<text class="text" x="128.000000" y="915.666667" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="48.000000" y1="953.333333" x2="148.000000" y2="953.333333" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="58.000000" y="1001.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">password</text>
<text class="text" x="78.000000" y="1001.000000" style="text-anchor:start;font-size:20px;fill:#676C7E">string</text>
<text class="text" x="128.000000" y="1001.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="48.000000" y1="1038.666667" x2="148.000000" y2="1038.666667" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="58.000000" y="1086.333333" style="text-anchor:start;font-size:20px;fill:#0D32B2">last_login</text>
<text class="text" x="78.000000" y="1086.333333" style="text-anchor:start;font-size:20px;fill:#676C7E">datetime</text>
<text class="text" x="128.000000" y="1086.333333" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="48.000000" y1="1124.000000" x2="148.000000" y2="1124.000000" style="stroke-width:2;stroke:#0A0F25" /></g></g><g id="code"><g class="shape" ></g><g transform="translate(0.000000 1224.000000)" style="opacity:1.000000"><rect class="shape" width="196" height="512" style="stroke: #0A0F25;fill:#ffffff" /><g transform="translate(6 6)"><text class="text-mono" x="0" y="1.000000em" xml:space="preserve">a&#160;<tspan fill="#000000" font-weight="bold">:=</tspan>&#160;<tspan fill="#009999">5</tspan>
</style><g id="class"><g class="shape" ><rect class="shape" x="0" y="0" width="422" height="512" style="fill:#FFFFFF;stroke:#0A0F25;opacity:1.000000;stroke-width:2;"/><rect class="class_header" x="0.000000" y="0.000000" width="422.000000" height="128.000000" fill="#0A0F25" /><text class="text-mono" x="10.000000" y="165.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">-</text>
<text class="text-mono" x="30.000000" y="165.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">num</text>
<text class="text-mono" x="402.000000" y="165.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">int</text><text class="text-mono" x="10.000000" y="229.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">-</text>
<text class="text-mono" x="30.000000" y="229.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">timeout</text>
<text class="text-mono" x="402.000000" y="229.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">int</text><text class="text-mono" x="10.000000" y="293.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">-</text>
<text class="text-mono" x="30.000000" y="293.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">pid</text>
<text class="text-mono" x="402.000000" y="293.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3"></text><line x1="0.000000" y1="320.000000" x2="422.000000" y2="320.000000" style="stroke-width:1;stroke:#0A0F25" /><text class="text-mono" x="10.000000" y="357.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">+</text>
<text class="text-mono" x="30.000000" y="357.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">getStatus()</text>
<text class="text-mono" x="402.000000" y="357.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">Enum</text><text class="text-mono" x="10.000000" y="421.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">+</text>
<text class="text-mono" x="30.000000" y="421.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">getJobs()</text>
<text class="text-mono" x="402.000000" y="421.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">Job[]</text><text class="text-mono" x="10.000000" y="485.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">+</text>
<text class="text-mono" x="30.000000" y="485.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">setTimeout(seconds int)</text>
<text class="text-mono" x="402.000000" y="485.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">void</text></g></g><g id="users"><g class="shape" ><rect class="shape" x="107" y="612" width="208" height="512" style="fill:#FFFFFF;stroke:#0A0F25;opacity:1.000000;stroke-width:2;"/><rect class="class_header" x="107.000000" y="612.000000" width="208.000000" height="85.333333" fill="#0A0F25" /><text class="text" x="117.000000" y="745.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">id</text>
<text class="text" x="218.000000" y="745.000000" style="text-anchor:start;font-size:20px;fill:#676C7E">int</text>
<text class="text" x="295.000000" y="745.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="107.000000" y1="782.666667" x2="315.000000" y2="782.666667" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="117.000000" y="830.333333" style="text-anchor:start;font-size:20px;fill:#0D32B2">name</text>
<text class="text" x="218.000000" y="830.333333" style="text-anchor:start;font-size:20px;fill:#676C7E">string</text>
<text class="text" x="295.000000" y="830.333333" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="107.000000" y1="868.000000" x2="315.000000" y2="868.000000" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="117.000000" y="915.666667" style="text-anchor:start;font-size:20px;fill:#0D32B2">email</text>
<text class="text" x="218.000000" y="915.666667" style="text-anchor:start;font-size:20px;fill:#676C7E">string</text>
<text class="text" x="295.000000" y="915.666667" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="107.000000" y1="953.333333" x2="315.000000" y2="953.333333" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="117.000000" y="1001.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">password</text>
<text class="text" x="218.000000" y="1001.000000" style="text-anchor:start;font-size:20px;fill:#676C7E">string</text>
<text class="text" x="295.000000" y="1001.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="107.000000" y1="1038.666667" x2="315.000000" y2="1038.666667" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="117.000000" y="1086.333333" style="text-anchor:start;font-size:20px;fill:#0D32B2">last_login</text>
<text class="text" x="218.000000" y="1086.333333" style="text-anchor:start;font-size:20px;fill:#676C7E">datetime</text>
<text class="text" x="295.000000" y="1086.333333" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="107.000000" y1="1124.000000" x2="315.000000" y2="1124.000000" style="stroke-width:2;stroke:#0A0F25" /></g></g><g id="code"><g class="shape" ></g><g transform="translate(113.000000 1224.000000)" style="opacity:1.000000"><rect class="shape" width="196" height="512" style="stroke: #0A0F25;fill:#ffffff" /><g transform="translate(6 6)"><text class="text-mono" x="0" y="1.000000em" xml:space="preserve">a&#160;<tspan fill="#000000" font-weight="bold">:=</tspan>&#160;<tspan fill="#009999">5</tspan>
</text><text class="text-mono" x="0" y="2.000000em" xml:space="preserve">b&#160;<tspan fill="#000000" font-weight="bold">:=</tspan>&#160;a&#160;<tspan fill="#000000" font-weight="bold">+</tspan>&#160;<tspan fill="#009999">7</tspan>
</text><text class="text-mono" x="0" y="3.000000em" xml:space="preserve">fmt.<tspan fill="#990000" font-weight="bold">Printf</tspan>(<tspan fill="#dd1144">&quot;%d&quot;</tspan>,&#160;b)</text></g></g></g><g id="package"><g class="shape" ><path d="M 48 1836 L 98 1836 L 98 1891 L 148 1891 L 148 2348 L 48 2348 Z" style="fill:#EDF0FD;stroke:#0D32B2;opacity:1.000000;stroke-width:2;"/></g></g><g id="no height"><g class="shape" ><rect x="48" y="2448" width="100" height="100" style="fill:#F7F8FE;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" /></g></g><g id="(class -&gt; users)[0]"><marker id="mk-3990223579" markerWidth="10.000000" markerHeight="12.000000" refX="7.000000" refY="6.000000" viewBox="0.000000 0.000000 10.000000 12.000000" orient="auto" markerUnits="userSpaceOnUse"> <polygon class="connection" fill="#0D32B2" stroke-width="2" points="0.000000,0.000000 10.000000,6.000000 0.000000,12.000000" /> </marker><path d="M 98.000000 514.000000 C 98.000000 552.000000 98.000000 572.000000 98.000000 608.000000" class="connection" style="fill:none;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" marker-end="url(#mk-3990223579)" mask="url(#3986396908)"/></g><g id="(users -&gt; code)[0]"><path d="M 98.000000 1126.000000 C 98.000000 1164.000000 98.000000 1184.000000 98.000000 1220.000000" class="connection" style="fill:none;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" marker-end="url(#mk-3990223579)" mask="url(#3986396908)"/></g><g id="(code -&gt; package)[0]"><path d="M 98.000000 1738.000000 C 98.000000 1776.000000 98.000000 1796.000000 98.000000 1832.000000" class="connection" style="fill:none;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" marker-end="url(#mk-3990223579)" mask="url(#3986396908)"/></g><g id="(package -&gt; no height)[0]"><path d="M 98.000000 2350.000000 C 98.000000 2388.000000 98.000000 2408.000000 98.000000 2444.000000" class="connection" style="fill:none;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" marker-end="url(#mk-3990223579)" mask="url(#3986396908)"/></g><mask id="3986396908" maskUnits="userSpaceOnUse" x="-100" y="-100" width="400" height="2752">
<rect x="-100" y="-100" width="400" height="2752" fill="white"></rect>
</text><text class="text-mono" x="0" y="3.000000em" xml:space="preserve">fmt.<tspan fill="#990000" font-weight="bold">Printf</tspan>(<tspan fill="#dd1144">&quot;%d&quot;</tspan>,&#160;b)</text></g></g></g><g id="package"><g class="shape" ><path d="M 161 1836 L 211 1836 L 211 1891 L 261 1891 L 261 2348 L 161 2348 Z" style="fill:#EDF0FD;stroke:#0D32B2;opacity:1.000000;stroke-width:2;"/></g></g><g id="no height"><g class="shape" ><rect x="161" y="2448" width="100" height="100" style="fill:#F7F8FE;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" /></g></g><g id="(class -&gt; users)[0]"><marker id="mk-3990223579" markerWidth="10.000000" markerHeight="12.000000" refX="7.000000" refY="6.000000" viewBox="0.000000 0.000000 10.000000 12.000000" orient="auto" markerUnits="userSpaceOnUse"> <polygon class="connection" fill="#0D32B2" stroke-width="2" points="0.000000,0.000000 10.000000,6.000000 0.000000,12.000000" /> </marker><path d="M 211.000000 514.000000 C 211.000000 552.000000 211.000000 572.000000 211.000000 608.000000" class="connection" style="fill:none;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" marker-end="url(#mk-3990223579)" mask="url(#2922064815)"/></g><g id="(users -&gt; code)[0]"><path d="M 211.000000 1126.000000 C 211.000000 1164.000000 211.000000 1184.000000 211.000000 1220.000000" class="connection" style="fill:none;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" marker-end="url(#mk-3990223579)" mask="url(#2922064815)"/></g><g id="(code -&gt; package)[0]"><path d="M 211.000000 1738.000000 C 211.000000 1776.000000 211.000000 1796.000000 211.000000 1832.000000" class="connection" style="fill:none;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" marker-end="url(#mk-3990223579)" mask="url(#2922064815)"/></g><g id="(package -&gt; no height)[0]"><path d="M 211.000000 2350.000000 C 211.000000 2388.000000 211.000000 2408.000000 211.000000 2444.000000" class="connection" style="fill:none;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" marker-end="url(#mk-3990223579)" mask="url(#2922064815)"/></g><mask id="2922064815" maskUnits="userSpaceOnUse" x="-100" y="-100" width="626" height="2752">
<rect x="-100" y="-100" width="626" height="2752" fill="white"></rect>
</mask><style type="text/css"><![CDATA[
.text {

Before

Width:  |  Height:  |  Size: 513 KiB

After

Width:  |  Height:  |  Size: 513 KiB

View file

@ -6,10 +6,10 @@
"id": "class",
"type": "class",
"pos": {
"x": 60,
"x": 12,
"y": 12
},
"width": 100,
"width": 422,
"height": 512,
"opacity": 1,
"strokeDash": 0,
@ -80,10 +80,10 @@
"id": "users",
"type": "sql_table",
"pos": {
"x": 60,
"x": 119,
"y": 624
},
"width": 100,
"width": 208,
"height": 512,
"opacity": 1,
"strokeDash": 0,
@ -112,8 +112,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 15,
"labelHeight": 26
},
"type": {
"label": "int",
@ -124,8 +124,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 23,
"labelHeight": 26
},
"constraint": "",
"reference": ""
@ -140,8 +140,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 47,
"labelHeight": 26
},
"type": {
"label": "string",
@ -152,8 +152,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 48,
"labelHeight": 26
},
"constraint": "",
"reference": ""
@ -168,8 +168,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 47,
"labelHeight": 26
},
"type": {
"label": "string",
@ -180,8 +180,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 48,
"labelHeight": 26
},
"constraint": "",
"reference": ""
@ -196,8 +196,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 80,
"labelHeight": 26
},
"type": {
"label": "string",
@ -208,8 +208,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 48,
"labelHeight": 26
},
"constraint": "",
"reference": ""
@ -224,8 +224,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 81,
"labelHeight": 26
},
"type": {
"label": "datetime",
@ -236,8 +236,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 77,
"labelHeight": 26
},
"constraint": "",
"reference": ""
@ -251,8 +251,8 @@
"italic": false,
"bold": true,
"underline": false,
"labelWidth": 0,
"labelHeight": 0,
"labelWidth": 59,
"labelHeight": 31,
"zIndex": 0,
"level": 1,
"primaryAccentColor": "#0D32B2",
@ -263,7 +263,7 @@
"id": "code",
"type": "code",
"pos": {
"x": 12,
"x": 125,
"y": 1236
},
"width": 196,
@ -302,7 +302,7 @@
"id": "package",
"type": "package",
"pos": {
"x": 60,
"x": 173,
"y": 1848
},
"width": 100,
@ -341,7 +341,7 @@
"id": "no height",
"type": "",
"pos": {
"x": 60,
"x": 173,
"y": 2460
},
"width": 100,
@ -404,11 +404,11 @@
"labelPercentage": 0,
"route": [
{
"x": 110,
"x": 223,
"y": 524
},
{
"x": 110,
"x": 223,
"y": 624
}
],
@ -443,11 +443,11 @@
"labelPercentage": 0,
"route": [
{
"x": 110,
"x": 223,
"y": 1136
},
{
"x": 110,
"x": 223,
"y": 1236
}
],
@ -482,11 +482,11 @@
"labelPercentage": 0,
"route": [
{
"x": 110,
"x": 223,
"y": 1748
},
{
"x": 110,
"x": 223,
"y": 1848
}
],
@ -521,11 +521,11 @@
"labelPercentage": 0,
"route": [
{
"x": 110,
"x": 223,
"y": 2360
},
{
"x": 110,
"x": 223,
"y": 2460
}
],

View file

@ -2,7 +2,7 @@
<svg
style="background: white;"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
width="400" height="2752" viewBox="-90 -90 400 2752"><style type="text/css">
width="626" height="2752" viewBox="-90 -90 626 2752"><style type="text/css">
<![CDATA[
.shape {
shape-rendering: geometricPrecision;
@ -18,32 +18,32 @@ width="400" height="2752" viewBox="-90 -90 400 2752"><style type="text/css">
}
]]>
</style><g id="class"><g class="shape" ><rect class="shape" x="60" y="12" width="100" height="512" style="fill:#FFFFFF;stroke:#0A0F25;opacity:1.000000;stroke-width:2;"/><rect class="class_header" x="60.000000" y="12.000000" width="100.000000" height="128.000000" fill="#0A0F25" /><text class="text-mono" x="70.000000" y="177.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">-</text>
<text class="text-mono" x="90.000000" y="177.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">num</text>
<text class="text-mono" x="140.000000" y="177.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">int</text><text class="text-mono" x="70.000000" y="241.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">-</text>
<text class="text-mono" x="90.000000" y="241.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">timeout</text>
<text class="text-mono" x="140.000000" y="241.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">int</text><text class="text-mono" x="70.000000" y="305.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">-</text>
<text class="text-mono" x="90.000000" y="305.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">pid</text>
<text class="text-mono" x="140.000000" y="305.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3"></text><line x1="60.000000" y1="332.000000" x2="160.000000" y2="332.000000" style="stroke-width:1;stroke:#0A0F25" /><text class="text-mono" x="70.000000" y="369.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">+</text>
<text class="text-mono" x="90.000000" y="369.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">getStatus()</text>
<text class="text-mono" x="140.000000" y="369.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">Enum</text><text class="text-mono" x="70.000000" y="433.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">+</text>
<text class="text-mono" x="90.000000" y="433.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">getJobs()</text>
<text class="text-mono" x="140.000000" y="433.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">Job[]</text><text class="text-mono" x="70.000000" y="497.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">+</text>
<text class="text-mono" x="90.000000" y="497.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">setTimeout(seconds int)</text>
<text class="text-mono" x="140.000000" y="497.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">void</text></g></g><g id="users"><g class="shape" ><rect class="shape" x="60" y="624" width="100" height="512" style="fill:#FFFFFF;stroke:#0A0F25;opacity:1.000000;stroke-width:2;"/><rect class="class_header" x="60.000000" y="624.000000" width="100.000000" height="85.333333" fill="#0A0F25" /><text class="text" x="70.000000" y="757.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">id</text>
<text class="text" x="90.000000" y="757.000000" style="text-anchor:start;font-size:20px;fill:#676C7E">int</text>
<text class="text" x="140.000000" y="757.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="60.000000" y1="794.666667" x2="160.000000" y2="794.666667" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="70.000000" y="842.333333" style="text-anchor:start;font-size:20px;fill:#0D32B2">name</text>
<text class="text" x="90.000000" y="842.333333" style="text-anchor:start;font-size:20px;fill:#676C7E">string</text>
<text class="text" x="140.000000" y="842.333333" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="60.000000" y1="880.000000" x2="160.000000" y2="880.000000" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="70.000000" y="927.666667" style="text-anchor:start;font-size:20px;fill:#0D32B2">email</text>
<text class="text" x="90.000000" y="927.666667" style="text-anchor:start;font-size:20px;fill:#676C7E">string</text>
<text class="text" x="140.000000" y="927.666667" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="60.000000" y1="965.333333" x2="160.000000" y2="965.333333" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="70.000000" y="1013.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">password</text>
<text class="text" x="90.000000" y="1013.000000" style="text-anchor:start;font-size:20px;fill:#676C7E">string</text>
<text class="text" x="140.000000" y="1013.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="60.000000" y1="1050.666667" x2="160.000000" y2="1050.666667" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="70.000000" y="1098.333333" style="text-anchor:start;font-size:20px;fill:#0D32B2">last_login</text>
<text class="text" x="90.000000" y="1098.333333" style="text-anchor:start;font-size:20px;fill:#676C7E">datetime</text>
<text class="text" x="140.000000" y="1098.333333" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="60.000000" y1="1136.000000" x2="160.000000" y2="1136.000000" style="stroke-width:2;stroke:#0A0F25" /></g></g><g id="code"><g class="shape" ></g><g transform="translate(12.000000 1236.000000)" style="opacity:1.000000"><rect class="shape" width="196" height="512" style="stroke: #0A0F25;fill:#ffffff" /><g transform="translate(6 6)"><text class="text-mono" x="0" y="1.000000em" xml:space="preserve">a&#160;<tspan fill="#000000" font-weight="bold">:=</tspan>&#160;<tspan fill="#009999">5</tspan>
</style><g id="class"><g class="shape" ><rect class="shape" x="12" y="12" width="422" height="512" style="fill:#FFFFFF;stroke:#0A0F25;opacity:1.000000;stroke-width:2;"/><rect class="class_header" x="12.000000" y="12.000000" width="422.000000" height="128.000000" fill="#0A0F25" /><text class="text-mono" x="22.000000" y="177.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">-</text>
<text class="text-mono" x="42.000000" y="177.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">num</text>
<text class="text-mono" x="414.000000" y="177.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">int</text><text class="text-mono" x="22.000000" y="241.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">-</text>
<text class="text-mono" x="42.000000" y="241.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">timeout</text>
<text class="text-mono" x="414.000000" y="241.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">int</text><text class="text-mono" x="22.000000" y="305.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">-</text>
<text class="text-mono" x="42.000000" y="305.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">pid</text>
<text class="text-mono" x="414.000000" y="305.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3"></text><line x1="12.000000" y1="332.000000" x2="434.000000" y2="332.000000" style="stroke-width:1;stroke:#0A0F25" /><text class="text-mono" x="22.000000" y="369.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">+</text>
<text class="text-mono" x="42.000000" y="369.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">getStatus()</text>
<text class="text-mono" x="414.000000" y="369.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">Enum</text><text class="text-mono" x="22.000000" y="433.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">+</text>
<text class="text-mono" x="42.000000" y="433.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">getJobs()</text>
<text class="text-mono" x="414.000000" y="433.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">Job[]</text><text class="text-mono" x="22.000000" y="497.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">+</text>
<text class="text-mono" x="42.000000" y="497.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">setTimeout(seconds int)</text>
<text class="text-mono" x="414.000000" y="497.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">void</text></g></g><g id="users"><g class="shape" ><rect class="shape" x="119" y="624" width="208" height="512" style="fill:#FFFFFF;stroke:#0A0F25;opacity:1.000000;stroke-width:2;"/><rect class="class_header" x="119.000000" y="624.000000" width="208.000000" height="85.333333" fill="#0A0F25" /><text class="text" x="129.000000" y="757.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">id</text>
<text class="text" x="230.000000" y="757.000000" style="text-anchor:start;font-size:20px;fill:#676C7E">int</text>
<text class="text" x="307.000000" y="757.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="119.000000" y1="794.666667" x2="327.000000" y2="794.666667" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="129.000000" y="842.333333" style="text-anchor:start;font-size:20px;fill:#0D32B2">name</text>
<text class="text" x="230.000000" y="842.333333" style="text-anchor:start;font-size:20px;fill:#676C7E">string</text>
<text class="text" x="307.000000" y="842.333333" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="119.000000" y1="880.000000" x2="327.000000" y2="880.000000" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="129.000000" y="927.666667" style="text-anchor:start;font-size:20px;fill:#0D32B2">email</text>
<text class="text" x="230.000000" y="927.666667" style="text-anchor:start;font-size:20px;fill:#676C7E">string</text>
<text class="text" x="307.000000" y="927.666667" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="119.000000" y1="965.333333" x2="327.000000" y2="965.333333" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="129.000000" y="1013.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">password</text>
<text class="text" x="230.000000" y="1013.000000" style="text-anchor:start;font-size:20px;fill:#676C7E">string</text>
<text class="text" x="307.000000" y="1013.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="119.000000" y1="1050.666667" x2="327.000000" y2="1050.666667" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="129.000000" y="1098.333333" style="text-anchor:start;font-size:20px;fill:#0D32B2">last_login</text>
<text class="text" x="230.000000" y="1098.333333" style="text-anchor:start;font-size:20px;fill:#676C7E">datetime</text>
<text class="text" x="307.000000" y="1098.333333" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="119.000000" y1="1136.000000" x2="327.000000" y2="1136.000000" style="stroke-width:2;stroke:#0A0F25" /></g></g><g id="code"><g class="shape" ></g><g transform="translate(125.000000 1236.000000)" style="opacity:1.000000"><rect class="shape" width="196" height="512" style="stroke: #0A0F25;fill:#ffffff" /><g transform="translate(6 6)"><text class="text-mono" x="0" y="1.000000em" xml:space="preserve">a&#160;<tspan fill="#000000" font-weight="bold">:=</tspan>&#160;<tspan fill="#009999">5</tspan>
</text><text class="text-mono" x="0" y="2.000000em" xml:space="preserve">b&#160;<tspan fill="#000000" font-weight="bold">:=</tspan>&#160;a&#160;<tspan fill="#000000" font-weight="bold">+</tspan>&#160;<tspan fill="#009999">7</tspan>
</text><text class="text-mono" x="0" y="3.000000em" xml:space="preserve">fmt.<tspan fill="#990000" font-weight="bold">Printf</tspan>(<tspan fill="#dd1144">&quot;%d&quot;</tspan>,&#160;b)</text></g></g></g><g id="package"><g class="shape" ><path d="M 60 1848 L 110 1848 L 110 1903 L 160 1903 L 160 2360 L 60 2360 Z" style="fill:#EDF0FD;stroke:#0D32B2;opacity:1.000000;stroke-width:2;"/></g></g><g id="no height"><g class="shape" ><rect x="60" y="2460" width="100" height="100" style="fill:#F7F8FE;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" /></g></g><g id="(class -&gt; users)[0]"><marker id="mk-3990223579" markerWidth="10.000000" markerHeight="12.000000" refX="7.000000" refY="6.000000" viewBox="0.000000 0.000000 10.000000 12.000000" orient="auto" markerUnits="userSpaceOnUse"> <polygon class="connection" fill="#0D32B2" stroke-width="2" points="0.000000,0.000000 10.000000,6.000000 0.000000,12.000000" /> </marker><path d="M 110.000000 526.000000 L 110.000000 620.000000" class="connection" style="fill:none;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" marker-end="url(#mk-3990223579)" mask="url(#2379741530)"/></g><g id="(users -&gt; code)[0]"><path d="M 110.000000 1138.000000 L 110.000000 1232.000000" class="connection" style="fill:none;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" marker-end="url(#mk-3990223579)" mask="url(#2379741530)"/></g><g id="(code -&gt; package)[0]"><path d="M 110.000000 1750.000000 L 110.000000 1844.000000" class="connection" style="fill:none;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" marker-end="url(#mk-3990223579)" mask="url(#2379741530)"/></g><g id="(package -&gt; no height)[0]"><path d="M 110.000000 2362.000000 L 110.000000 2456.000000" class="connection" style="fill:none;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" marker-end="url(#mk-3990223579)" mask="url(#2379741530)"/></g><mask id="2379741530" maskUnits="userSpaceOnUse" x="-100" y="-100" width="400" height="2752">
<rect x="-100" y="-100" width="400" height="2752" fill="white"></rect>
</text><text class="text-mono" x="0" y="3.000000em" xml:space="preserve">fmt.<tspan fill="#990000" font-weight="bold">Printf</tspan>(<tspan fill="#dd1144">&quot;%d&quot;</tspan>,&#160;b)</text></g></g></g><g id="package"><g class="shape" ><path d="M 173 1848 L 223 1848 L 223 1903 L 273 1903 L 273 2360 L 173 2360 Z" style="fill:#EDF0FD;stroke:#0D32B2;opacity:1.000000;stroke-width:2;"/></g></g><g id="no height"><g class="shape" ><rect x="173" y="2460" width="100" height="100" style="fill:#F7F8FE;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" /></g></g><g id="(class -&gt; users)[0]"><marker id="mk-3990223579" markerWidth="10.000000" markerHeight="12.000000" refX="7.000000" refY="6.000000" viewBox="0.000000 0.000000 10.000000 12.000000" orient="auto" markerUnits="userSpaceOnUse"> <polygon class="connection" fill="#0D32B2" stroke-width="2" points="0.000000,0.000000 10.000000,6.000000 0.000000,12.000000" /> </marker><path d="M 223.000000 526.000000 L 223.000000 620.000000" class="connection" style="fill:none;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" marker-end="url(#mk-3990223579)" mask="url(#3595756787)"/></g><g id="(users -&gt; code)[0]"><path d="M 223.000000 1138.000000 L 223.000000 1232.000000" class="connection" style="fill:none;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" marker-end="url(#mk-3990223579)" mask="url(#3595756787)"/></g><g id="(code -&gt; package)[0]"><path d="M 223.000000 1750.000000 L 223.000000 1844.000000" class="connection" style="fill:none;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" marker-end="url(#mk-3990223579)" mask="url(#3595756787)"/></g><g id="(package -&gt; no height)[0]"><path d="M 223.000000 2362.000000 L 223.000000 2456.000000" class="connection" style="fill:none;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" marker-end="url(#mk-3990223579)" mask="url(#3595756787)"/></g><mask id="3595756787" maskUnits="userSpaceOnUse" x="-100" y="-100" width="626" height="2752">
<rect x="-100" y="-100" width="626" height="2752" fill="white"></rect>
</mask><style type="text/css"><![CDATA[
.text {

Before

Width:  |  Height:  |  Size: 512 KiB

After

Width:  |  Height:  |  Size: 512 KiB

View file

@ -10,7 +10,7 @@
"y": 0
},
"width": 512,
"height": 100,
"height": 368,
"opacity": 1,
"strokeDash": 0,
"strokeWidth": 2,
@ -81,10 +81,10 @@
"type": "sql_table",
"pos": {
"x": 0,
"y": 200
"y": 468
},
"width": 512,
"height": 100,
"height": 186,
"opacity": 1,
"strokeDash": 0,
"strokeWidth": 2,
@ -112,8 +112,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 15,
"labelHeight": 26
},
"type": {
"label": "int",
@ -124,8 +124,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 23,
"labelHeight": 26
},
"constraint": "",
"reference": ""
@ -140,8 +140,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 47,
"labelHeight": 26
},
"type": {
"label": "string",
@ -152,8 +152,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 48,
"labelHeight": 26
},
"constraint": "",
"reference": ""
@ -168,8 +168,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 47,
"labelHeight": 26
},
"type": {
"label": "string",
@ -180,8 +180,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 48,
"labelHeight": 26
},
"constraint": "",
"reference": ""
@ -196,8 +196,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 80,
"labelHeight": 26
},
"type": {
"label": "string",
@ -208,8 +208,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 48,
"labelHeight": 26
},
"constraint": "",
"reference": ""
@ -224,8 +224,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 81,
"labelHeight": 26
},
"type": {
"label": "datetime",
@ -236,8 +236,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 77,
"labelHeight": 26
},
"constraint": "",
"reference": ""
@ -251,8 +251,8 @@
"italic": false,
"bold": true,
"underline": false,
"labelWidth": 0,
"labelHeight": 0,
"labelWidth": 59,
"labelHeight": 31,
"zIndex": 0,
"level": 1,
"primaryAccentColor": "#0D32B2",
@ -264,7 +264,7 @@
"type": "code",
"pos": {
"x": 0,
"y": 400
"y": 754
},
"width": 512,
"height": 70,
@ -303,7 +303,7 @@
"type": "package",
"pos": {
"x": 0,
"y": 570
"y": 924
},
"width": 512,
"height": 100,
@ -342,7 +342,7 @@
"type": "",
"pos": {
"x": 206,
"y": 770
"y": 1124
},
"width": 100,
"height": 100,
@ -405,19 +405,19 @@
"route": [
{
"x": 256,
"y": 100
"y": 368
},
{
"x": 256,
"y": 140
"y": 408
},
{
"x": 256,
"y": 160
"y": 428
},
{
"x": 256,
"y": 200
"y": 468
}
],
"isCurve": true,
@ -453,19 +453,19 @@
"route": [
{
"x": 256,
"y": 300
"y": 654
},
{
"x": 256,
"y": 340
"y": 694
},
{
"x": 256,
"y": 360
"y": 714
},
{
"x": 256,
"y": 400
"y": 754
}
],
"isCurve": true,
@ -501,19 +501,19 @@
"route": [
{
"x": 256,
"y": 470
"y": 824
},
{
"x": 256,
"y": 510
"y": 864
},
{
"x": 256,
"y": 536.8
"y": 890.8
},
{
"x": 256,
"y": 604
"y": 958
}
],
"isCurve": true,
@ -549,19 +549,19 @@
"route": [
{
"x": 256,
"y": 670
"y": 1024
},
{
"x": 256,
"y": 710
"y": 1064
},
{
"x": 256,
"y": 730
"y": 1084
},
{
"x": 256,
"y": 770
"y": 1124
}
],
"isCurve": true,

View file

@ -2,7 +2,7 @@
<svg
style="background: white;"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
width="716" height="1074" viewBox="-102 -102 716 1074"><style type="text/css">
width="716" height="1428" viewBox="-102 -102 716 1428"><style type="text/css">
<![CDATA[
.shape {
shape-rendering: geometricPrecision;
@ -18,32 +18,32 @@ width="716" height="1074" viewBox="-102 -102 716 1074"><style type="text/css">
}
]]>
</style><g id="class"><g class="shape" ><rect class="shape" x="0" y="0" width="512" height="100" style="fill:#FFFFFF;stroke:#0A0F25;opacity:1.000000;stroke-width:2;"/><rect class="class_header" x="0.000000" y="0.000000" width="512.000000" height="25.000000" fill="#0A0F25" /><text class="text-mono" x="10.000000" y="36.250000" style="text-anchor:start;font-size:20px;fill:#0D32B2">-</text>
<text class="text-mono" x="30.000000" y="36.250000" style="text-anchor:start;font-size:20px;fill:#0A0F25">num</text>
<text class="text-mono" x="492.000000" y="36.250000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">int</text><text class="text-mono" x="10.000000" y="48.750000" style="text-anchor:start;font-size:20px;fill:#0D32B2">-</text>
<text class="text-mono" x="30.000000" y="48.750000" style="text-anchor:start;font-size:20px;fill:#0A0F25">timeout</text>
<text class="text-mono" x="492.000000" y="48.750000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">int</text><text class="text-mono" x="10.000000" y="61.250000" style="text-anchor:start;font-size:20px;fill:#0D32B2">-</text>
<text class="text-mono" x="30.000000" y="61.250000" style="text-anchor:start;font-size:20px;fill:#0A0F25">pid</text>
<text class="text-mono" x="492.000000" y="61.250000" style="text-anchor:end;font-size:20px;fill:#4A6FF3"></text><line x1="0.000000" y1="62.500000" x2="512.000000" y2="62.500000" style="stroke-width:1;stroke:#0A0F25" /><text class="text-mono" x="10.000000" y="73.750000" style="text-anchor:start;font-size:20px;fill:#0D32B2">+</text>
<text class="text-mono" x="30.000000" y="73.750000" style="text-anchor:start;font-size:20px;fill:#0A0F25">getStatus()</text>
<text class="text-mono" x="492.000000" y="73.750000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">Enum</text><text class="text-mono" x="10.000000" y="86.250000" style="text-anchor:start;font-size:20px;fill:#0D32B2">+</text>
<text class="text-mono" x="30.000000" y="86.250000" style="text-anchor:start;font-size:20px;fill:#0A0F25">getJobs()</text>
<text class="text-mono" x="492.000000" y="86.250000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">Job[]</text><text class="text-mono" x="10.000000" y="98.750000" style="text-anchor:start;font-size:20px;fill:#0D32B2">+</text>
<text class="text-mono" x="30.000000" y="98.750000" style="text-anchor:start;font-size:20px;fill:#0A0F25">setTimeout(seconds int)</text>
<text class="text-mono" x="492.000000" y="98.750000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">void</text></g></g><g id="users"><g class="shape" ><rect class="shape" x="0" y="200" width="512" height="100" style="fill:#FFFFFF;stroke:#0A0F25;opacity:1.000000;stroke-width:2;"/><rect class="class_header" x="0.000000" y="200.000000" width="512.000000" height="16.666667" fill="#0A0F25" /><text class="text" x="10.000000" y="230.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">id</text>
<text class="text" x="30.000000" y="230.000000" style="text-anchor:start;font-size:20px;fill:#676C7E">int</text>
<text class="text" x="492.000000" y="230.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="0.000000" y1="233.333333" x2="512.000000" y2="233.333333" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="10.000000" y="246.666667" style="text-anchor:start;font-size:20px;fill:#0D32B2">name</text>
<text class="text" x="30.000000" y="246.666667" style="text-anchor:start;font-size:20px;fill:#676C7E">string</text>
<text class="text" x="492.000000" y="246.666667" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="0.000000" y1="250.000000" x2="512.000000" y2="250.000000" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="10.000000" y="263.333333" style="text-anchor:start;font-size:20px;fill:#0D32B2">email</text>
<text class="text" x="30.000000" y="263.333333" style="text-anchor:start;font-size:20px;fill:#676C7E">string</text>
<text class="text" x="492.000000" y="263.333333" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="0.000000" y1="266.666667" x2="512.000000" y2="266.666667" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="10.000000" y="280.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">password</text>
<text class="text" x="30.000000" y="280.000000" style="text-anchor:start;font-size:20px;fill:#676C7E">string</text>
<text class="text" x="492.000000" y="280.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="0.000000" y1="283.333333" x2="512.000000" y2="283.333333" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="10.000000" y="296.666667" style="text-anchor:start;font-size:20px;fill:#0D32B2">last_login</text>
<text class="text" x="30.000000" y="296.666667" style="text-anchor:start;font-size:20px;fill:#676C7E">datetime</text>
<text class="text" x="492.000000" y="296.666667" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="0.000000" y1="300.000000" x2="512.000000" y2="300.000000" style="stroke-width:2;stroke:#0A0F25" /></g></g><g id="code"><g class="shape" ></g><g transform="translate(0.000000 400.000000)" style="opacity:1.000000"><rect class="shape" width="512" height="70" style="stroke: #0A0F25;fill:#ffffff" /><g transform="translate(6 6)"><text class="text-mono" x="0" y="1.000000em" xml:space="preserve">a&#160;<tspan fill="#000000" font-weight="bold">:=</tspan>&#160;<tspan fill="#009999">5</tspan>
</style><g id="class"><g class="shape" ><rect class="shape" x="0" y="0" width="512" height="368" style="fill:#FFFFFF;stroke:#0A0F25;opacity:1.000000;stroke-width:2;"/><rect class="class_header" x="0.000000" y="0.000000" width="512.000000" height="92.000000" fill="#0A0F25" /><text class="text-mono" x="10.000000" y="120.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">-</text>
<text class="text-mono" x="30.000000" y="120.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">num</text>
<text class="text-mono" x="492.000000" y="120.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">int</text><text class="text-mono" x="10.000000" y="166.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">-</text>
<text class="text-mono" x="30.000000" y="166.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">timeout</text>
<text class="text-mono" x="492.000000" y="166.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">int</text><text class="text-mono" x="10.000000" y="212.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">-</text>
<text class="text-mono" x="30.000000" y="212.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">pid</text>
<text class="text-mono" x="492.000000" y="212.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3"></text><line x1="0.000000" y1="230.000000" x2="512.000000" y2="230.000000" style="stroke-width:1;stroke:#0A0F25" /><text class="text-mono" x="10.000000" y="258.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">+</text>
<text class="text-mono" x="30.000000" y="258.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">getStatus()</text>
<text class="text-mono" x="492.000000" y="258.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">Enum</text><text class="text-mono" x="10.000000" y="304.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">+</text>
<text class="text-mono" x="30.000000" y="304.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">getJobs()</text>
<text class="text-mono" x="492.000000" y="304.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">Job[]</text><text class="text-mono" x="10.000000" y="350.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">+</text>
<text class="text-mono" x="30.000000" y="350.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">setTimeout(seconds int)</text>
<text class="text-mono" x="492.000000" y="350.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">void</text></g></g><g id="users"><g class="shape" ><rect class="shape" x="0" y="468" width="512" height="186" style="fill:#FFFFFF;stroke:#0A0F25;opacity:1.000000;stroke-width:2;"/><rect class="class_header" x="0.000000" y="468.000000" width="512.000000" height="31.000000" fill="#0A0F25" /><text class="text" x="10.000000" y="519.500000" style="text-anchor:start;font-size:20px;fill:#0D32B2">id</text>
<text class="text" x="111.000000" y="519.500000" style="text-anchor:start;font-size:20px;fill:#676C7E">int</text>
<text class="text" x="492.000000" y="519.500000" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="0.000000" y1="530.000000" x2="512.000000" y2="530.000000" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="10.000000" y="550.500000" style="text-anchor:start;font-size:20px;fill:#0D32B2">name</text>
<text class="text" x="111.000000" y="550.500000" style="text-anchor:start;font-size:20px;fill:#676C7E">string</text>
<text class="text" x="492.000000" y="550.500000" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="0.000000" y1="561.000000" x2="512.000000" y2="561.000000" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="10.000000" y="581.500000" style="text-anchor:start;font-size:20px;fill:#0D32B2">email</text>
<text class="text" x="111.000000" y="581.500000" style="text-anchor:start;font-size:20px;fill:#676C7E">string</text>
<text class="text" x="492.000000" y="581.500000" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="0.000000" y1="592.000000" x2="512.000000" y2="592.000000" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="10.000000" y="612.500000" style="text-anchor:start;font-size:20px;fill:#0D32B2">password</text>
<text class="text" x="111.000000" y="612.500000" style="text-anchor:start;font-size:20px;fill:#676C7E">string</text>
<text class="text" x="492.000000" y="612.500000" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="0.000000" y1="623.000000" x2="512.000000" y2="623.000000" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="10.000000" y="643.500000" style="text-anchor:start;font-size:20px;fill:#0D32B2">last_login</text>
<text class="text" x="111.000000" y="643.500000" style="text-anchor:start;font-size:20px;fill:#676C7E">datetime</text>
<text class="text" x="492.000000" y="643.500000" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="0.000000" y1="654.000000" x2="512.000000" y2="654.000000" style="stroke-width:2;stroke:#0A0F25" /></g></g><g id="code"><g class="shape" ></g><g transform="translate(0.000000 754.000000)" style="opacity:1.000000"><rect class="shape" width="512" height="70" style="stroke: #0A0F25;fill:#ffffff" /><g transform="translate(6 6)"><text class="text-mono" x="0" y="1.000000em" xml:space="preserve">a&#160;<tspan fill="#000000" font-weight="bold">:=</tspan>&#160;<tspan fill="#009999">5</tspan>
</text><text class="text-mono" x="0" y="2.000000em" xml:space="preserve">b&#160;<tspan fill="#000000" font-weight="bold">:=</tspan>&#160;a&#160;<tspan fill="#000000" font-weight="bold">+</tspan>&#160;<tspan fill="#009999">7</tspan>
</text><text class="text-mono" x="0" y="3.000000em" xml:space="preserve">fmt.<tspan fill="#990000" font-weight="bold">Printf</tspan>(<tspan fill="#dd1144">&quot;%d&quot;</tspan>,&#160;b)</text></g></g></g><g id="package"><g class="shape" ><path d="M 0 570 L 150 570 L 150 604 L 512 604 L 512 670 L 0 670 Z" style="fill:#EDF0FD;stroke:#0D32B2;opacity:1.000000;stroke-width:2;"/></g></g><g id="no width"><g class="shape" ><rect x="206" y="770" width="100" height="100" style="fill:#F7F8FE;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" /></g></g><g id="(class -&gt; users)[0]"><marker id="mk-3990223579" markerWidth="10.000000" markerHeight="12.000000" refX="7.000000" refY="6.000000" viewBox="0.000000 0.000000 10.000000 12.000000" orient="auto" markerUnits="userSpaceOnUse"> <polygon class="connection" fill="#0D32B2" stroke-width="2" points="0.000000,0.000000 10.000000,6.000000 0.000000,12.000000" /> </marker><path d="M 256.000000 102.000000 C 256.000000 140.000000 256.000000 160.000000 256.000000 196.000000" class="connection" style="fill:none;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" marker-end="url(#mk-3990223579)" mask="url(#4267691501)"/></g><g id="(users -&gt; code)[0]"><path d="M 256.000000 302.000000 C 256.000000 340.000000 256.000000 360.000000 256.000000 396.000000" class="connection" style="fill:none;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" marker-end="url(#mk-3990223579)" mask="url(#4267691501)"/></g><g id="(code -&gt; package)[0]"><path d="M 256.000000 472.000000 C 256.000000 510.000000 256.000000 536.800000 256.000000 600.000000" class="connection" style="fill:none;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" marker-end="url(#mk-3990223579)" mask="url(#4267691501)"/></g><g id="(package -&gt; no width)[0]"><path d="M 256.000000 672.000000 C 256.000000 710.000000 256.000000 730.000000 256.000000 766.000000" class="connection" style="fill:none;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" marker-end="url(#mk-3990223579)" mask="url(#4267691501)"/></g><mask id="4267691501" maskUnits="userSpaceOnUse" x="-100" y="-100" width="716" height="1074">
<rect x="-100" y="-100" width="716" height="1074" fill="white"></rect>
</text><text class="text-mono" x="0" y="3.000000em" xml:space="preserve">fmt.<tspan fill="#990000" font-weight="bold">Printf</tspan>(<tspan fill="#dd1144">&quot;%d&quot;</tspan>,&#160;b)</text></g></g></g><g id="package"><g class="shape" ><path d="M 0 924 L 150 924 L 150 958 L 512 958 L 512 1024 L 0 1024 Z" style="fill:#EDF0FD;stroke:#0D32B2;opacity:1.000000;stroke-width:2;"/></g></g><g id="no width"><g class="shape" ><rect x="206" y="1124" width="100" height="100" style="fill:#F7F8FE;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" /></g></g><g id="(class -&gt; users)[0]"><marker id="mk-3990223579" markerWidth="10.000000" markerHeight="12.000000" refX="7.000000" refY="6.000000" viewBox="0.000000 0.000000 10.000000 12.000000" orient="auto" markerUnits="userSpaceOnUse"> <polygon class="connection" fill="#0D32B2" stroke-width="2" points="0.000000,0.000000 10.000000,6.000000 0.000000,12.000000" /> </marker><path d="M 256.000000 370.000000 C 256.000000 408.000000 256.000000 428.000000 256.000000 464.000000" class="connection" style="fill:none;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" marker-end="url(#mk-3990223579)" mask="url(#874012353)"/></g><g id="(users -&gt; code)[0]"><path d="M 256.000000 656.000000 C 256.000000 694.000000 256.000000 714.000000 256.000000 750.000000" class="connection" style="fill:none;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" marker-end="url(#mk-3990223579)" mask="url(#874012353)"/></g><g id="(code -&gt; package)[0]"><path d="M 256.000000 826.000000 C 256.000000 864.000000 256.000000 890.800000 256.000000 954.000000" class="connection" style="fill:none;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" marker-end="url(#mk-3990223579)" mask="url(#874012353)"/></g><g id="(package -&gt; no width)[0]"><path d="M 256.000000 1026.000000 C 256.000000 1064.000000 256.000000 1084.000000 256.000000 1120.000000" class="connection" style="fill:none;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" marker-end="url(#mk-3990223579)" mask="url(#874012353)"/></g><mask id="874012353" maskUnits="userSpaceOnUse" x="-100" y="-100" width="716" height="1428">
<rect x="-100" y="-100" width="716" height="1428" fill="white"></rect>
</mask><style type="text/css"><![CDATA[
.text {

Before

Width:  |  Height:  |  Size: 513 KiB

After

Width:  |  Height:  |  Size: 513 KiB

View file

@ -10,7 +10,7 @@
"y": 12
},
"width": 512,
"height": 100,
"height": 368,
"opacity": 1,
"strokeDash": 0,
"strokeWidth": 2,
@ -81,10 +81,10 @@
"type": "sql_table",
"pos": {
"x": 12,
"y": 212
"y": 480
},
"width": 512,
"height": 100,
"height": 186,
"opacity": 1,
"strokeDash": 0,
"strokeWidth": 2,
@ -112,8 +112,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 15,
"labelHeight": 26
},
"type": {
"label": "int",
@ -124,8 +124,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 23,
"labelHeight": 26
},
"constraint": "",
"reference": ""
@ -140,8 +140,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 47,
"labelHeight": 26
},
"type": {
"label": "string",
@ -152,8 +152,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 48,
"labelHeight": 26
},
"constraint": "",
"reference": ""
@ -168,8 +168,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 47,
"labelHeight": 26
},
"type": {
"label": "string",
@ -180,8 +180,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 48,
"labelHeight": 26
},
"constraint": "",
"reference": ""
@ -196,8 +196,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 80,
"labelHeight": 26
},
"type": {
"label": "string",
@ -208,8 +208,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 48,
"labelHeight": 26
},
"constraint": "",
"reference": ""
@ -224,8 +224,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 81,
"labelHeight": 26
},
"type": {
"label": "datetime",
@ -236,8 +236,8 @@
"italic": false,
"bold": false,
"underline": false,
"labelWidth": 0,
"labelHeight": 0
"labelWidth": 77,
"labelHeight": 26
},
"constraint": "",
"reference": ""
@ -251,8 +251,8 @@
"italic": false,
"bold": true,
"underline": false,
"labelWidth": 0,
"labelHeight": 0,
"labelWidth": 59,
"labelHeight": 31,
"zIndex": 0,
"level": 1,
"primaryAccentColor": "#0D32B2",
@ -264,7 +264,7 @@
"type": "code",
"pos": {
"x": 12,
"y": 412
"y": 766
},
"width": 512,
"height": 70,
@ -303,7 +303,7 @@
"type": "package",
"pos": {
"x": 12,
"y": 582
"y": 936
},
"width": 512,
"height": 100,
@ -342,7 +342,7 @@
"type": "",
"pos": {
"x": 218,
"y": 782
"y": 1136
},
"width": 100,
"height": 100,
@ -405,11 +405,11 @@
"route": [
{
"x": 268,
"y": 112
"y": 380
},
{
"x": 268,
"y": 212
"y": 480
}
],
"animated": false,
@ -444,11 +444,11 @@
"route": [
{
"x": 268,
"y": 312
"y": 666
},
{
"x": 268,
"y": 412
"y": 766
}
],
"animated": false,
@ -483,11 +483,11 @@
"route": [
{
"x": 268,
"y": 482
"y": 836
},
{
"x": 268,
"y": 616
"y": 970
}
],
"animated": false,
@ -522,11 +522,11 @@
"route": [
{
"x": 268,
"y": 682
"y": 1036
},
{
"x": 268,
"y": 782
"y": 1136
}
],
"animated": false,

View file

@ -2,7 +2,7 @@
<svg
style="background: white;"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
width="716" height="1074" viewBox="-90 -90 716 1074"><style type="text/css">
width="716" height="1428" viewBox="-90 -90 716 1428"><style type="text/css">
<![CDATA[
.shape {
shape-rendering: geometricPrecision;
@ -18,32 +18,32 @@ width="716" height="1074" viewBox="-90 -90 716 1074"><style type="text/css">
}
]]>
</style><g id="class"><g class="shape" ><rect class="shape" x="12" y="12" width="512" height="100" style="fill:#FFFFFF;stroke:#0A0F25;opacity:1.000000;stroke-width:2;"/><rect class="class_header" x="12.000000" y="12.000000" width="512.000000" height="25.000000" fill="#0A0F25" /><text class="text-mono" x="22.000000" y="48.250000" style="text-anchor:start;font-size:20px;fill:#0D32B2">-</text>
<text class="text-mono" x="42.000000" y="48.250000" style="text-anchor:start;font-size:20px;fill:#0A0F25">num</text>
<text class="text-mono" x="504.000000" y="48.250000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">int</text><text class="text-mono" x="22.000000" y="60.750000" style="text-anchor:start;font-size:20px;fill:#0D32B2">-</text>
<text class="text-mono" x="42.000000" y="60.750000" style="text-anchor:start;font-size:20px;fill:#0A0F25">timeout</text>
<text class="text-mono" x="504.000000" y="60.750000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">int</text><text class="text-mono" x="22.000000" y="73.250000" style="text-anchor:start;font-size:20px;fill:#0D32B2">-</text>
<text class="text-mono" x="42.000000" y="73.250000" style="text-anchor:start;font-size:20px;fill:#0A0F25">pid</text>
<text class="text-mono" x="504.000000" y="73.250000" style="text-anchor:end;font-size:20px;fill:#4A6FF3"></text><line x1="12.000000" y1="74.500000" x2="524.000000" y2="74.500000" style="stroke-width:1;stroke:#0A0F25" /><text class="text-mono" x="22.000000" y="85.750000" style="text-anchor:start;font-size:20px;fill:#0D32B2">+</text>
<text class="text-mono" x="42.000000" y="85.750000" style="text-anchor:start;font-size:20px;fill:#0A0F25">getStatus()</text>
<text class="text-mono" x="504.000000" y="85.750000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">Enum</text><text class="text-mono" x="22.000000" y="98.250000" style="text-anchor:start;font-size:20px;fill:#0D32B2">+</text>
<text class="text-mono" x="42.000000" y="98.250000" style="text-anchor:start;font-size:20px;fill:#0A0F25">getJobs()</text>
<text class="text-mono" x="504.000000" y="98.250000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">Job[]</text><text class="text-mono" x="22.000000" y="110.750000" style="text-anchor:start;font-size:20px;fill:#0D32B2">+</text>
<text class="text-mono" x="42.000000" y="110.750000" style="text-anchor:start;font-size:20px;fill:#0A0F25">setTimeout(seconds int)</text>
<text class="text-mono" x="504.000000" y="110.750000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">void</text></g></g><g id="users"><g class="shape" ><rect class="shape" x="12" y="212" width="512" height="100" style="fill:#FFFFFF;stroke:#0A0F25;opacity:1.000000;stroke-width:2;"/><rect class="class_header" x="12.000000" y="212.000000" width="512.000000" height="16.666667" fill="#0A0F25" /><text class="text" x="22.000000" y="242.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">id</text>
<text class="text" x="42.000000" y="242.000000" style="text-anchor:start;font-size:20px;fill:#676C7E">int</text>
<text class="text" x="504.000000" y="242.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="12.000000" y1="245.333333" x2="524.000000" y2="245.333333" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="22.000000" y="258.666667" style="text-anchor:start;font-size:20px;fill:#0D32B2">name</text>
<text class="text" x="42.000000" y="258.666667" style="text-anchor:start;font-size:20px;fill:#676C7E">string</text>
<text class="text" x="504.000000" y="258.666667" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="12.000000" y1="262.000000" x2="524.000000" y2="262.000000" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="22.000000" y="275.333333" style="text-anchor:start;font-size:20px;fill:#0D32B2">email</text>
<text class="text" x="42.000000" y="275.333333" style="text-anchor:start;font-size:20px;fill:#676C7E">string</text>
<text class="text" x="504.000000" y="275.333333" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="12.000000" y1="278.666667" x2="524.000000" y2="278.666667" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="22.000000" y="292.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">password</text>
<text class="text" x="42.000000" y="292.000000" style="text-anchor:start;font-size:20px;fill:#676C7E">string</text>
<text class="text" x="504.000000" y="292.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="12.000000" y1="295.333333" x2="524.000000" y2="295.333333" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="22.000000" y="308.666667" style="text-anchor:start;font-size:20px;fill:#0D32B2">last_login</text>
<text class="text" x="42.000000" y="308.666667" style="text-anchor:start;font-size:20px;fill:#676C7E">datetime</text>
<text class="text" x="504.000000" y="308.666667" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="12.000000" y1="312.000000" x2="524.000000" y2="312.000000" style="stroke-width:2;stroke:#0A0F25" /></g></g><g id="code"><g class="shape" ></g><g transform="translate(12.000000 412.000000)" style="opacity:1.000000"><rect class="shape" width="512" height="70" style="stroke: #0A0F25;fill:#ffffff" /><g transform="translate(6 6)"><text class="text-mono" x="0" y="1.000000em" xml:space="preserve">a&#160;<tspan fill="#000000" font-weight="bold">:=</tspan>&#160;<tspan fill="#009999">5</tspan>
</style><g id="class"><g class="shape" ><rect class="shape" x="12" y="12" width="512" height="368" style="fill:#FFFFFF;stroke:#0A0F25;opacity:1.000000;stroke-width:2;"/><rect class="class_header" x="12.000000" y="12.000000" width="512.000000" height="92.000000" fill="#0A0F25" /><text class="text-mono" x="22.000000" y="132.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">-</text>
<text class="text-mono" x="42.000000" y="132.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">num</text>
<text class="text-mono" x="504.000000" y="132.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">int</text><text class="text-mono" x="22.000000" y="178.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">-</text>
<text class="text-mono" x="42.000000" y="178.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">timeout</text>
<text class="text-mono" x="504.000000" y="178.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">int</text><text class="text-mono" x="22.000000" y="224.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">-</text>
<text class="text-mono" x="42.000000" y="224.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">pid</text>
<text class="text-mono" x="504.000000" y="224.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3"></text><line x1="12.000000" y1="242.000000" x2="524.000000" y2="242.000000" style="stroke-width:1;stroke:#0A0F25" /><text class="text-mono" x="22.000000" y="270.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">+</text>
<text class="text-mono" x="42.000000" y="270.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">getStatus()</text>
<text class="text-mono" x="504.000000" y="270.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">Enum</text><text class="text-mono" x="22.000000" y="316.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">+</text>
<text class="text-mono" x="42.000000" y="316.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">getJobs()</text>
<text class="text-mono" x="504.000000" y="316.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">Job[]</text><text class="text-mono" x="22.000000" y="362.000000" style="text-anchor:start;font-size:20px;fill:#0D32B2">+</text>
<text class="text-mono" x="42.000000" y="362.000000" style="text-anchor:start;font-size:20px;fill:#0A0F25">setTimeout(seconds int)</text>
<text class="text-mono" x="504.000000" y="362.000000" style="text-anchor:end;font-size:20px;fill:#4A6FF3">void</text></g></g><g id="users"><g class="shape" ><rect class="shape" x="12" y="480" width="512" height="186" style="fill:#FFFFFF;stroke:#0A0F25;opacity:1.000000;stroke-width:2;"/><rect class="class_header" x="12.000000" y="480.000000" width="512.000000" height="31.000000" fill="#0A0F25" /><text class="text" x="22.000000" y="531.500000" style="text-anchor:start;font-size:20px;fill:#0D32B2">id</text>
<text class="text" x="123.000000" y="531.500000" style="text-anchor:start;font-size:20px;fill:#676C7E">int</text>
<text class="text" x="504.000000" y="531.500000" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="12.000000" y1="542.000000" x2="524.000000" y2="542.000000" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="22.000000" y="562.500000" style="text-anchor:start;font-size:20px;fill:#0D32B2">name</text>
<text class="text" x="123.000000" y="562.500000" style="text-anchor:start;font-size:20px;fill:#676C7E">string</text>
<text class="text" x="504.000000" y="562.500000" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="12.000000" y1="573.000000" x2="524.000000" y2="573.000000" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="22.000000" y="593.500000" style="text-anchor:start;font-size:20px;fill:#0D32B2">email</text>
<text class="text" x="123.000000" y="593.500000" style="text-anchor:start;font-size:20px;fill:#676C7E">string</text>
<text class="text" x="504.000000" y="593.500000" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="12.000000" y1="604.000000" x2="524.000000" y2="604.000000" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="22.000000" y="624.500000" style="text-anchor:start;font-size:20px;fill:#0D32B2">password</text>
<text class="text" x="123.000000" y="624.500000" style="text-anchor:start;font-size:20px;fill:#676C7E">string</text>
<text class="text" x="504.000000" y="624.500000" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="12.000000" y1="635.000000" x2="524.000000" y2="635.000000" style="stroke-width:2;stroke:#0A0F25" /><text class="text" x="22.000000" y="655.500000" style="text-anchor:start;font-size:20px;fill:#0D32B2">last_login</text>
<text class="text" x="123.000000" y="655.500000" style="text-anchor:start;font-size:20px;fill:#676C7E">datetime</text>
<text class="text" x="504.000000" y="655.500000" style="text-anchor:end;font-size:20px;fill:#4A6FF3;letter-spacing:2px;"></text><line x1="12.000000" y1="666.000000" x2="524.000000" y2="666.000000" style="stroke-width:2;stroke:#0A0F25" /></g></g><g id="code"><g class="shape" ></g><g transform="translate(12.000000 766.000000)" style="opacity:1.000000"><rect class="shape" width="512" height="70" style="stroke: #0A0F25;fill:#ffffff" /><g transform="translate(6 6)"><text class="text-mono" x="0" y="1.000000em" xml:space="preserve">a&#160;<tspan fill="#000000" font-weight="bold">:=</tspan>&#160;<tspan fill="#009999">5</tspan>
</text><text class="text-mono" x="0" y="2.000000em" xml:space="preserve">b&#160;<tspan fill="#000000" font-weight="bold">:=</tspan>&#160;a&#160;<tspan fill="#000000" font-weight="bold">+</tspan>&#160;<tspan fill="#009999">7</tspan>
</text><text class="text-mono" x="0" y="3.000000em" xml:space="preserve">fmt.<tspan fill="#990000" font-weight="bold">Printf</tspan>(<tspan fill="#dd1144">&quot;%d&quot;</tspan>,&#160;b)</text></g></g></g><g id="package"><g class="shape" ><path d="M 12 582 L 162 582 L 162 616 L 524 616 L 524 682 L 12 682 Z" style="fill:#EDF0FD;stroke:#0D32B2;opacity:1.000000;stroke-width:2;"/></g></g><g id="no width"><g class="shape" ><rect x="218" y="782" width="100" height="100" style="fill:#F7F8FE;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" /></g></g><g id="(class -&gt; users)[0]"><marker id="mk-3990223579" markerWidth="10.000000" markerHeight="12.000000" refX="7.000000" refY="6.000000" viewBox="0.000000 0.000000 10.000000 12.000000" orient="auto" markerUnits="userSpaceOnUse"> <polygon class="connection" fill="#0D32B2" stroke-width="2" points="0.000000,0.000000 10.000000,6.000000 0.000000,12.000000" /> </marker><path d="M 268.000000 114.000000 L 268.000000 208.000000" class="connection" style="fill:none;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" marker-end="url(#mk-3990223579)" mask="url(#926343403)"/></g><g id="(users -&gt; code)[0]"><path d="M 268.000000 314.000000 L 268.000000 408.000000" class="connection" style="fill:none;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" marker-end="url(#mk-3990223579)" mask="url(#926343403)"/></g><g id="(code -&gt; package)[0]"><path d="M 268.000000 484.000000 L 268.000000 612.000000" class="connection" style="fill:none;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" marker-end="url(#mk-3990223579)" mask="url(#926343403)"/></g><g id="(package -&gt; no width)[0]"><path d="M 268.000000 684.000000 L 268.000000 778.000000" class="connection" style="fill:none;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" marker-end="url(#mk-3990223579)" mask="url(#926343403)"/></g><mask id="926343403" maskUnits="userSpaceOnUse" x="-100" y="-100" width="716" height="1074">
<rect x="-100" y="-100" width="716" height="1074" fill="white"></rect>
</text><text class="text-mono" x="0" y="3.000000em" xml:space="preserve">fmt.<tspan fill="#990000" font-weight="bold">Printf</tspan>(<tspan fill="#dd1144">&quot;%d&quot;</tspan>,&#160;b)</text></g></g></g><g id="package"><g class="shape" ><path d="M 12 936 L 162 936 L 162 970 L 524 970 L 524 1036 L 12 1036 Z" style="fill:#EDF0FD;stroke:#0D32B2;opacity:1.000000;stroke-width:2;"/></g></g><g id="no width"><g class="shape" ><rect x="218" y="1136" width="100" height="100" style="fill:#F7F8FE;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" /></g></g><g id="(class -&gt; users)[0]"><marker id="mk-3990223579" markerWidth="10.000000" markerHeight="12.000000" refX="7.000000" refY="6.000000" viewBox="0.000000 0.000000 10.000000 12.000000" orient="auto" markerUnits="userSpaceOnUse"> <polygon class="connection" fill="#0D32B2" stroke-width="2" points="0.000000,0.000000 10.000000,6.000000 0.000000,12.000000" /> </marker><path d="M 268.000000 382.000000 L 268.000000 476.000000" class="connection" style="fill:none;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" marker-end="url(#mk-3990223579)" mask="url(#3645018067)"/></g><g id="(users -&gt; code)[0]"><path d="M 268.000000 668.000000 L 268.000000 762.000000" class="connection" style="fill:none;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" marker-end="url(#mk-3990223579)" mask="url(#3645018067)"/></g><g id="(code -&gt; package)[0]"><path d="M 268.000000 838.000000 L 268.000000 966.000000" class="connection" style="fill:none;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" marker-end="url(#mk-3990223579)" mask="url(#3645018067)"/></g><g id="(package -&gt; no width)[0]"><path d="M 268.000000 1038.000000 L 268.000000 1132.000000" class="connection" style="fill:none;stroke:#0D32B2;opacity:1.000000;stroke-width:2;" marker-end="url(#mk-3990223579)" mask="url(#3645018067)"/></g><mask id="3645018067" maskUnits="userSpaceOnUse" x="-100" y="-100" width="716" height="1428">
<rect x="-100" y="-100" width="716" height="1428" fill="white"></rect>
</mask><style type="text/css"><![CDATA[
.text {

Before

Width:  |  Height:  |  Size: 512 KiB

After

Width:  |  Height:  |  Size: 512 KiB