rename cutset -> corpus

This commit is contained in:
Bernard Xie 2023-03-29 10:03:44 -07:00
parent 28d14ac65e
commit 322d253fce
No known key found for this signature in database
GPG key ID: 3C3E0036CE0F892C
42 changed files with 1705 additions and 1752 deletions

View file

@ -32,11 +32,10 @@ func (f FontFamily) Font(size int, style FontStyle) Font {
}
}
func (f Font) GetEncodedSubset(cutset string) string {
func (f Font) GetEncodedSubset(corpus string) string {
fontBuf := make([]byte, len(FontFaces[f]))
copy(fontBuf, FontFaces[f])
// gofpdf subset only accepts .ttf fonts
fontBuf = gofpdf.UTF8CutFont(fontBuf, cutset)
fontBuf = gofpdf.UTF8CutFont(fontBuf, corpus)
fontBuf, err := fontlib.Sfnt2Woff(fontBuf)
if err != nil {

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 53 KiB

After

Width:  |  Height:  |  Size: 53 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 71 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 44 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 108 KiB

After

Width:  |  Height:  |  Size: 108 KiB

View file

@ -1387,7 +1387,7 @@ func RenderText(text string, x, height float64) string {
return strings.Join(rendered, "")
}
func EmbedFonts(buf *bytes.Buffer, diagramHash, source string, fontFamily *d2fonts.FontFamily, cutSet string) {
func EmbedFonts(buf *bytes.Buffer, diagramHash, source string, fontFamily *d2fonts.FontFamily, corpus string) {
fmt.Fprint(buf, `<style type="text/css"><![CDATA[`)
appendOnTrigger(
@ -1409,7 +1409,7 @@ func EmbedFonts(buf *bytes.Buffer, diagramHash, source string, fontFamily *d2fon
diagramHash,
diagramHash,
diagramHash,
fontFamily.Font(0, d2fonts.FONT_STYLE_REGULAR).GetEncodedSubset(cutSet),
fontFamily.Font(0, d2fonts.FONT_STYLE_REGULAR).GetEncodedSubset(corpus),
),
)
@ -1471,7 +1471,7 @@ func EmbedFonts(buf *bytes.Buffer, diagramHash, source string, fontFamily *d2fon
diagramHash,
diagramHash,
diagramHash,
fontFamily.Font(0, d2fonts.FONT_STYLE_BOLD).GetEncodedSubset(cutSet),
fontFamily.Font(0, d2fonts.FONT_STYLE_BOLD).GetEncodedSubset(corpus),
),
)
@ -1494,7 +1494,7 @@ func EmbedFonts(buf *bytes.Buffer, diagramHash, source string, fontFamily *d2fon
diagramHash,
diagramHash,
diagramHash,
fontFamily.Font(0, d2fonts.FONT_STYLE_ITALIC).GetEncodedSubset(cutSet),
fontFamily.Font(0, d2fonts.FONT_STYLE_ITALIC).GetEncodedSubset(corpus),
),
)
@ -1519,7 +1519,7 @@ func EmbedFonts(buf *bytes.Buffer, diagramHash, source string, fontFamily *d2fon
diagramHash,
diagramHash,
diagramHash,
d2fonts.SourceCodePro.Font(0, d2fonts.FONT_STYLE_REGULAR).GetEncodedSubset(cutSet),
d2fonts.SourceCodePro.Font(0, d2fonts.FONT_STYLE_REGULAR).GetEncodedSubset(corpus),
),
)
@ -1540,7 +1540,7 @@ func EmbedFonts(buf *bytes.Buffer, diagramHash, source string, fontFamily *d2fon
diagramHash,
diagramHash,
diagramHash,
d2fonts.SourceCodePro.Font(0, d2fonts.FONT_STYLE_BOLD).GetEncodedSubset(cutSet),
d2fonts.SourceCodePro.Font(0, d2fonts.FONT_STYLE_BOLD).GetEncodedSubset(corpus),
),
)
@ -1561,7 +1561,7 @@ func EmbedFonts(buf *bytes.Buffer, diagramHash, source string, fontFamily *d2fon
diagramHash,
diagramHash,
diagramHash,
d2fonts.SourceCodePro.Font(0, d2fonts.FONT_STYLE_ITALIC).GetEncodedSubset(cutSet),
d2fonts.SourceCodePro.Font(0, d2fonts.FONT_STYLE_ITALIC).GetEncodedSubset(corpus),
),
)

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View file

@ -46,25 +46,7 @@ func (cf ClassField) VisibilityToken() string {
func (cf ClassField) GetUniqueChars(uniqueMap map[rune]bool) string {
var uniqueChars string
for _, char := range "+-#" {
if _, exists := uniqueMap[char]; !exists {
uniqueMap[char] = true
uniqueChars = uniqueChars + string(char)
}
}
for _, char := range cf.Name {
if _, exists := uniqueMap[char]; !exists {
uniqueMap[char] = true
uniqueChars = uniqueChars + string(char)
}
}
for _, char := range cf.Type {
if _, exists := uniqueMap[char]; !exists {
uniqueMap[char] = true
uniqueChars = uniqueChars + string(char)
}
}
for _, char := range cf.Visibility {
for _, char := range fmt.Sprintf("%s%s%s", cf.VisibilityToken(), cf.Name, cf.Type) {
if _, exists := uniqueMap[char]; !exists {
uniqueMap[char] = true
uniqueChars = uniqueChars + string(char)
@ -81,7 +63,7 @@ type ClassMethod struct {
func (cm ClassMethod) Text(fontSize int) *MText {
return &MText{
Text: fmt.Sprintf("%s%s%s", cm.VisibilityToken(), cm.Name, cm.Return),
Text: fmt.Sprintf("%s%s", cm.Name, cm.Return),
FontSize: fontSize,
IsBold: false,
IsItalic: false,
@ -102,25 +84,7 @@ func (cm ClassMethod) VisibilityToken() string {
func (cm ClassMethod) GetUniqueChars(uniqueMap map[rune]bool) string {
var uniqueChars string
for _, char := range "+-#" {
if _, exists := uniqueMap[char]; !exists {
uniqueMap[char] = true
uniqueChars = uniqueChars + string(char)
}
}
for _, char := range cm.Name {
if _, exists := uniqueMap[char]; !exists {
uniqueMap[char] = true
uniqueChars = uniqueChars + string(char)
}
}
for _, char := range cm.Return {
if _, exists := uniqueMap[char]; !exists {
uniqueMap[char] = true
uniqueChars = uniqueChars + string(char)
}
}
for _, char := range cm.Visibility {
for _, char := range fmt.Sprintf("%s%s%s", cm.VisibilityToken(), cm.Name, cm.Return) {
if _, exists := uniqueMap[char]; !exists {
uniqueMap[char] = true
uniqueChars = uniqueChars + string(char)

View file

@ -1,5 +1,7 @@
package d2target
import "fmt"
const (
NamePadding = 10
TypePadding = 20
@ -55,19 +57,7 @@ func (c SQLColumn) ConstraintAbbr() string {
func (c SQLColumn) GetUniqueChars(uniqueMap map[rune]bool) string {
var uniqueChars string
for _, char := range c.Name.Label {
if _, exists := uniqueMap[char]; !exists {
uniqueMap[char] = true
uniqueChars = uniqueChars + string(char)
}
}
for _, char := range c.Type.Label {
if _, exists := uniqueMap[char]; !exists {
uniqueMap[char] = true
uniqueChars = uniqueChars + string(char)
}
}
for _, char := range c.ConstraintAbbr() {
for _, char := range fmt.Sprintf("%s%s%s", c.Name.Label, c.Type.Label, c.ConstraintAbbr()) {
if _, exists := uniqueMap[char]; !exists {
uniqueMap[char] = true
uniqueChars = uniqueChars + string(char)

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 12 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View file

@ -10,7 +10,7 @@
"x": 0,
"y": 0
},
"width": 434,
"width": 422,
"height": 368,
"opacity": 1,
"strokeDash": 0,
@ -82,7 +82,7 @@
"id": "users",
"type": "sql_table",
"pos": {
"x": 113,
"x": 107,
"y": 468
},
"width": 208,
@ -266,7 +266,7 @@
"id": "code",
"type": "code",
"pos": {
"x": 119,
"x": 113,
"y": 754
},
"width": 196,
@ -331,19 +331,19 @@
"labelPercentage": 0,
"route": [
{
"x": 217,
"x": 211,
"y": 368
},
{
"x": 217,
"x": 211,
"y": 408
},
{
"x": 217,
"x": 211,
"y": 428
},
{
"x": 217,
"x": 211,
"y": 468
}
],
@ -380,19 +380,19 @@
"labelPercentage": 0,
"route": [
{
"x": 217,
"x": 211,
"y": 654
},
{
"x": 217,
"x": 211,
"y": 694
},
{
"x": 217,
"x": 211,
"y": 714
},
{
"x": 217,
"x": 211,
"y": 754
}
],

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

View file

@ -10,7 +10,7 @@
"x": 12,
"y": 12
},
"width": 434,
"width": 422,
"height": 368,
"opacity": 1,
"strokeDash": 0,
@ -82,7 +82,7 @@
"id": "users",
"type": "sql_table",
"pos": {
"x": 125,
"x": 119,
"y": 450
},
"width": 208,
@ -266,7 +266,7 @@
"id": "code",
"type": "code",
"pos": {
"x": 131,
"x": 125,
"y": 706
},
"width": 196,
@ -331,11 +331,11 @@
"labelPercentage": 0,
"route": [
{
"x": 229,
"x": 223,
"y": 380
},
{
"x": 229,
"x": 223,
"y": 450
}
],
@ -371,11 +371,11 @@
"labelPercentage": 0,
"route": [
{
"x": 229,
"x": 223,
"y": 636
},
{
"x": 229,
"x": 223,
"y": 706
}
],

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

View file

@ -10,7 +10,7 @@
"x": 0,
"y": 0
},
"width": 434,
"width": 422,
"height": 368,
"opacity": 1,
"strokeDash": 0,

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View file

@ -10,7 +10,7 @@
"x": 12,
"y": 12
},
"width": 434,
"width": 422,
"height": 368,
"opacity": 1,
"strokeDash": 0,

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View file

@ -166,7 +166,7 @@
"x": 499,
"y": 0
},
"width": 419,
"width": 407,
"height": 184,
"opacity": 1,
"strokeDash": 0,
@ -218,7 +218,7 @@
"id": "c",
"type": "class",
"pos": {
"x": 978,
"x": 966,
"y": 46
},
"width": 117,
@ -261,7 +261,7 @@
"id": "d",
"type": "sql_table",
"pos": {
"x": 1155,
"x": 1143,
"y": 74
},
"width": 50,

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View file

@ -166,7 +166,7 @@
"x": 471,
"y": 12
},
"width": 419,
"width": 407,
"height": 184,
"opacity": 1,
"strokeDash": 0,
@ -218,7 +218,7 @@
"id": "c",
"type": "class",
"pos": {
"x": 910,
"x": 898,
"y": 58
},
"width": 117,
@ -261,7 +261,7 @@
"id": "d",
"type": "sql_table",
"pos": {
"x": 1047,
"x": 1035,
"y": 86
},
"width": 50,

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View file

@ -92,7 +92,7 @@
"x": 400,
"y": 52
},
"width": 314,
"width": 302,
"height": 184,
"opacity": 1,
"strokeDash": 0,
@ -144,7 +144,7 @@
"id": "d",
"type": "cloud",
"pos": {
"x": 754,
"x": 742,
"y": 152
},
"width": 140,
@ -185,7 +185,7 @@
"id": "e",
"type": "code",
"pos": {
"x": 934,
"x": 922,
"y": 166
},
"width": 196,
@ -226,7 +226,7 @@
"id": "f",
"type": "cylinder",
"pos": {
"x": 1152,
"x": 1140,
"y": 118
},
"width": 100,
@ -267,7 +267,7 @@
"id": "g",
"type": "diamond",
"pos": {
"x": 1302,
"x": 1290,
"y": 144
},
"width": 100,
@ -308,7 +308,7 @@
"id": "h",
"type": "document",
"pos": {
"x": 1452,
"x": 1440,
"y": 160
},
"width": 100,
@ -349,7 +349,7 @@
"id": "i",
"type": "hexagon",
"pos": {
"x": 1592,
"x": 1580,
"y": 167
},
"width": 146,
@ -390,7 +390,7 @@
"id": "j",
"type": "image",
"pos": {
"x": 1778,
"x": 1766,
"y": 87
},
"width": 128,
@ -443,7 +443,7 @@
"id": "k",
"type": "oval",
"pos": {
"x": 1944,
"x": 1932,
"y": 163
},
"width": 100,
@ -484,7 +484,7 @@
"id": "l",
"type": "package",
"pos": {
"x": 2094,
"x": 2082,
"y": 163
},
"width": 100,
@ -525,7 +525,7 @@
"id": "m",
"type": "page",
"pos": {
"x": 2238,
"x": 2226,
"y": 149
},
"width": 113,
@ -566,7 +566,7 @@
"id": "n",
"type": "parallelogram",
"pos": {
"x": 2391,
"x": 2379,
"y": 154
},
"width": 169,
@ -607,7 +607,7 @@
"id": "o",
"type": "person",
"pos": {
"x": 2580,
"x": 2568,
"y": 64
},
"width": 100,
@ -648,7 +648,7 @@
"id": "p",
"type": "queue",
"pos": {
"x": 2720,
"x": 2708,
"y": 170
},
"width": 151,
@ -689,7 +689,7 @@
"id": "q",
"type": "rectangle",
"pos": {
"x": 2911,
"x": 2899,
"y": 133
},
"width": 103,
@ -730,7 +730,7 @@
"id": "r",
"type": "step",
"pos": {
"x": 3054,
"x": 3042,
"y": 135
},
"width": 187,
@ -771,7 +771,7 @@
"id": "s",
"type": "stored_data",
"pos": {
"x": 3279,
"x": 3267,
"y": 170
},
"width": 100,
@ -812,7 +812,7 @@
"id": "t",
"type": "sql_table",
"pos": {
"x": 3419,
"x": 3407,
"y": 128
},
"width": 161,
@ -982,7 +982,7 @@
"y": 376
},
{
"x": 557,
"x": 551,
"y": 376
}
],
@ -1018,11 +1018,11 @@
"labelPercentage": 0,
"route": [
{
"x": 557,
"x": 551,
"y": 446
},
{
"x": 824,
"x": 812,
"y": 446
}
],
@ -1058,11 +1058,11 @@
"labelPercentage": 0,
"route": [
{
"x": 824,
"x": 812,
"y": 516
},
{
"x": 1032,
"x": 1020,
"y": 516
}
],
@ -1098,11 +1098,11 @@
"labelPercentage": 0,
"route": [
{
"x": 1032,
"x": 1020,
"y": 586
},
{
"x": 1202,
"x": 1190,
"y": 586
}
],
@ -1138,11 +1138,11 @@
"labelPercentage": 0,
"route": [
{
"x": 1202,
"x": 1190,
"y": 656
},
{
"x": 1352,
"x": 1340,
"y": 656
}
],
@ -1178,11 +1178,11 @@
"labelPercentage": 0,
"route": [
{
"x": 1352,
"x": 1340,
"y": 726
},
{
"x": 1502,
"x": 1490,
"y": 726
}
],
@ -1218,11 +1218,11 @@
"labelPercentage": 0,
"route": [
{
"x": 1502,
"x": 1490,
"y": 796
},
{
"x": 1665,
"x": 1653,
"y": 796
}
],
@ -1258,11 +1258,11 @@
"labelPercentage": 0,
"route": [
{
"x": 1665,
"x": 1653,
"y": 866
},
{
"x": 1842,
"x": 1830,
"y": 866
}
],
@ -1298,11 +1298,11 @@
"labelPercentage": 0,
"route": [
{
"x": 1842,
"x": 1830,
"y": 936
},
{
"x": 1994,
"x": 1982,
"y": 936
}
],
@ -1338,11 +1338,11 @@
"labelPercentage": 0,
"route": [
{
"x": 1994,
"x": 1982,
"y": 1006
},
{
"x": 2144,
"x": 2132,
"y": 1006
}
],
@ -1378,11 +1378,11 @@
"labelPercentage": 0,
"route": [
{
"x": 2144,
"x": 2132,
"y": 1076
},
{
"x": 2294.5,
"x": 2282.5,
"y": 1076
}
],
@ -1418,11 +1418,11 @@
"labelPercentage": 0,
"route": [
{
"x": 2294.5,
"x": 2282.5,
"y": 1146
},
{
"x": 2475.5,
"x": 2463.5,
"y": 1146
}
],
@ -1458,11 +1458,11 @@
"labelPercentage": 0,
"route": [
{
"x": 2475.5,
"x": 2463.5,
"y": 1216
},
{
"x": 2630,
"x": 2618,
"y": 1216
}
],
@ -1498,11 +1498,11 @@
"labelPercentage": 0,
"route": [
{
"x": 2630,
"x": 2618,
"y": 1286
},
{
"x": 2795.5,
"x": 2783.5,
"y": 1286
}
],
@ -1538,11 +1538,11 @@
"labelPercentage": 0,
"route": [
{
"x": 2795.5,
"x": 2783.5,
"y": 1356
},
{
"x": 2962.5,
"x": 2950.5,
"y": 1356
}
],
@ -1578,11 +1578,11 @@
"labelPercentage": 0,
"route": [
{
"x": 2962.5,
"x": 2950.5,
"y": 1426
},
{
"x": 3147.5,
"x": 3135.5,
"y": 1426
}
],
@ -1618,11 +1618,11 @@
"labelPercentage": 0,
"route": [
{
"x": 3147.5,
"x": 3135.5,
"y": 1496
},
{
"x": 3329,
"x": 3317,
"y": 1496
}
],
@ -1658,11 +1658,11 @@
"labelPercentage": 0,
"route": [
{
"x": 3329,
"x": 3317,
"y": 1566
},
{
"x": 3499.5,
"x": 3487.5,
"y": 1566
}
],
@ -1778,11 +1778,11 @@
"labelPercentage": 0,
"route": [
{
"x": 557,
"x": 551,
"y": 236
},
{
"x": 557,
"x": 551,
"y": 1636
}
],
@ -1818,11 +1818,11 @@
"labelPercentage": 0,
"route": [
{
"x": 824,
"x": 812,
"y": 236
},
{
"x": 824,
"x": 812,
"y": 1636
}
],
@ -1858,11 +1858,11 @@
"labelPercentage": 0,
"route": [
{
"x": 1032,
"x": 1020,
"y": 236
},
{
"x": 1032,
"x": 1020,
"y": 1636
}
],
@ -1898,11 +1898,11 @@
"labelPercentage": 0,
"route": [
{
"x": 1202,
"x": 1190,
"y": 236
},
{
"x": 1202,
"x": 1190,
"y": 1636
}
],
@ -1938,11 +1938,11 @@
"labelPercentage": 0,
"route": [
{
"x": 1352,
"x": 1340,
"y": 236
},
{
"x": 1352,
"x": 1340,
"y": 1636
}
],
@ -1978,11 +1978,11 @@
"labelPercentage": 0,
"route": [
{
"x": 1502,
"x": 1490,
"y": 236
},
{
"x": 1502,
"x": 1490,
"y": 1636
}
],
@ -2018,11 +2018,11 @@
"labelPercentage": 0,
"route": [
{
"x": 1665,
"x": 1653,
"y": 236
},
{
"x": 1665,
"x": 1653,
"y": 1636
}
],
@ -2058,11 +2058,11 @@
"labelPercentage": 0,
"route": [
{
"x": 1842,
"x": 1830,
"y": 241
},
{
"x": 1842,
"x": 1830,
"y": 1636
}
],
@ -2098,11 +2098,11 @@
"labelPercentage": 0,
"route": [
{
"x": 1994,
"x": 1982,
"y": 236
},
{
"x": 1994,
"x": 1982,
"y": 1636
}
],
@ -2138,11 +2138,11 @@
"labelPercentage": 0,
"route": [
{
"x": 2144,
"x": 2132,
"y": 236
},
{
"x": 2144,
"x": 2132,
"y": 1636
}
],
@ -2178,11 +2178,11 @@
"labelPercentage": 0,
"route": [
{
"x": 2294.5,
"x": 2282.5,
"y": 236
},
{
"x": 2294.5,
"x": 2282.5,
"y": 1636
}
],
@ -2218,11 +2218,11 @@
"labelPercentage": 0,
"route": [
{
"x": 2475.5,
"x": 2463.5,
"y": 236
},
{
"x": 2475.5,
"x": 2463.5,
"y": 1636
}
],
@ -2258,11 +2258,11 @@
"labelPercentage": 0,
"route": [
{
"x": 2630,
"x": 2618,
"y": 241
},
{
"x": 2630,
"x": 2618,
"y": 1636
}
],
@ -2298,11 +2298,11 @@
"labelPercentage": 0,
"route": [
{
"x": 2795.5,
"x": 2783.5,
"y": 236
},
{
"x": 2795.5,
"x": 2783.5,
"y": 1636
}
],
@ -2338,11 +2338,11 @@
"labelPercentage": 0,
"route": [
{
"x": 2962.5,
"x": 2950.5,
"y": 236
},
{
"x": 2962.5,
"x": 2950.5,
"y": 1636
}
],
@ -2378,11 +2378,11 @@
"labelPercentage": 0,
"route": [
{
"x": 3147.5,
"x": 3135.5,
"y": 236
},
{
"x": 3147.5,
"x": 3135.5,
"y": 1636
}
],
@ -2418,11 +2418,11 @@
"labelPercentage": 0,
"route": [
{
"x": 3329,
"x": 3317,
"y": 236
},
{
"x": 3329,
"x": 3317,
"y": 1636
}
],
@ -2458,11 +2458,11 @@
"labelPercentage": 0,
"route": [
{
"x": 3499.5,
"x": 3487.5,
"y": 236
},
{
"x": 3499.5,
"x": 3487.5,
"y": 1636
}
],

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 51 KiB

After

Width:  |  Height:  |  Size: 50 KiB

View file

@ -92,7 +92,7 @@
"x": 400,
"y": 52
},
"width": 314,
"width": 302,
"height": 184,
"opacity": 1,
"strokeDash": 0,
@ -144,7 +144,7 @@
"id": "d",
"type": "cloud",
"pos": {
"x": 754,
"x": 742,
"y": 152
},
"width": 140,
@ -185,7 +185,7 @@
"id": "e",
"type": "code",
"pos": {
"x": 934,
"x": 922,
"y": 166
},
"width": 196,
@ -226,7 +226,7 @@
"id": "f",
"type": "cylinder",
"pos": {
"x": 1152,
"x": 1140,
"y": 118
},
"width": 100,
@ -267,7 +267,7 @@
"id": "g",
"type": "diamond",
"pos": {
"x": 1302,
"x": 1290,
"y": 144
},
"width": 100,
@ -308,7 +308,7 @@
"id": "h",
"type": "document",
"pos": {
"x": 1452,
"x": 1440,
"y": 160
},
"width": 100,
@ -349,7 +349,7 @@
"id": "i",
"type": "hexagon",
"pos": {
"x": 1592,
"x": 1580,
"y": 167
},
"width": 146,
@ -390,7 +390,7 @@
"id": "j",
"type": "image",
"pos": {
"x": 1778,
"x": 1766,
"y": 87
},
"width": 128,
@ -443,7 +443,7 @@
"id": "k",
"type": "oval",
"pos": {
"x": 1944,
"x": 1932,
"y": 163
},
"width": 100,
@ -484,7 +484,7 @@
"id": "l",
"type": "package",
"pos": {
"x": 2094,
"x": 2082,
"y": 163
},
"width": 100,
@ -525,7 +525,7 @@
"id": "m",
"type": "page",
"pos": {
"x": 2238,
"x": 2226,
"y": 149
},
"width": 113,
@ -566,7 +566,7 @@
"id": "n",
"type": "parallelogram",
"pos": {
"x": 2391,
"x": 2379,
"y": 154
},
"width": 169,
@ -607,7 +607,7 @@
"id": "o",
"type": "person",
"pos": {
"x": 2580,
"x": 2568,
"y": 64
},
"width": 100,
@ -648,7 +648,7 @@
"id": "p",
"type": "queue",
"pos": {
"x": 2720,
"x": 2708,
"y": 170
},
"width": 151,
@ -689,7 +689,7 @@
"id": "q",
"type": "rectangle",
"pos": {
"x": 2911,
"x": 2899,
"y": 133
},
"width": 103,
@ -730,7 +730,7 @@
"id": "r",
"type": "step",
"pos": {
"x": 3054,
"x": 3042,
"y": 135
},
"width": 187,
@ -771,7 +771,7 @@
"id": "s",
"type": "stored_data",
"pos": {
"x": 3279,
"x": 3267,
"y": 170
},
"width": 100,
@ -812,7 +812,7 @@
"id": "t",
"type": "sql_table",
"pos": {
"x": 3419,
"x": 3407,
"y": 128
},
"width": 161,
@ -982,7 +982,7 @@
"y": 376
},
{
"x": 557,
"x": 551,
"y": 376
}
],
@ -1018,11 +1018,11 @@
"labelPercentage": 0,
"route": [
{
"x": 557,
"x": 551,
"y": 446
},
{
"x": 824,
"x": 812,
"y": 446
}
],
@ -1058,11 +1058,11 @@
"labelPercentage": 0,
"route": [
{
"x": 824,
"x": 812,
"y": 516
},
{
"x": 1032,
"x": 1020,
"y": 516
}
],
@ -1098,11 +1098,11 @@
"labelPercentage": 0,
"route": [
{
"x": 1032,
"x": 1020,
"y": 586
},
{
"x": 1202,
"x": 1190,
"y": 586
}
],
@ -1138,11 +1138,11 @@
"labelPercentage": 0,
"route": [
{
"x": 1202,
"x": 1190,
"y": 656
},
{
"x": 1352,
"x": 1340,
"y": 656
}
],
@ -1178,11 +1178,11 @@
"labelPercentage": 0,
"route": [
{
"x": 1352,
"x": 1340,
"y": 726
},
{
"x": 1502,
"x": 1490,
"y": 726
}
],
@ -1218,11 +1218,11 @@
"labelPercentage": 0,
"route": [
{
"x": 1502,
"x": 1490,
"y": 796
},
{
"x": 1665,
"x": 1653,
"y": 796
}
],
@ -1258,11 +1258,11 @@
"labelPercentage": 0,
"route": [
{
"x": 1665,
"x": 1653,
"y": 866
},
{
"x": 1842,
"x": 1830,
"y": 866
}
],
@ -1298,11 +1298,11 @@
"labelPercentage": 0,
"route": [
{
"x": 1842,
"x": 1830,
"y": 936
},
{
"x": 1994,
"x": 1982,
"y": 936
}
],
@ -1338,11 +1338,11 @@
"labelPercentage": 0,
"route": [
{
"x": 1994,
"x": 1982,
"y": 1006
},
{
"x": 2144,
"x": 2132,
"y": 1006
}
],
@ -1378,11 +1378,11 @@
"labelPercentage": 0,
"route": [
{
"x": 2144,
"x": 2132,
"y": 1076
},
{
"x": 2294.5,
"x": 2282.5,
"y": 1076
}
],
@ -1418,11 +1418,11 @@
"labelPercentage": 0,
"route": [
{
"x": 2294.5,
"x": 2282.5,
"y": 1146
},
{
"x": 2475.5,
"x": 2463.5,
"y": 1146
}
],
@ -1458,11 +1458,11 @@
"labelPercentage": 0,
"route": [
{
"x": 2475.5,
"x": 2463.5,
"y": 1216
},
{
"x": 2630,
"x": 2618,
"y": 1216
}
],
@ -1498,11 +1498,11 @@
"labelPercentage": 0,
"route": [
{
"x": 2630,
"x": 2618,
"y": 1286
},
{
"x": 2795.5,
"x": 2783.5,
"y": 1286
}
],
@ -1538,11 +1538,11 @@
"labelPercentage": 0,
"route": [
{
"x": 2795.5,
"x": 2783.5,
"y": 1356
},
{
"x": 2962.5,
"x": 2950.5,
"y": 1356
}
],
@ -1578,11 +1578,11 @@
"labelPercentage": 0,
"route": [
{
"x": 2962.5,
"x": 2950.5,
"y": 1426
},
{
"x": 3147.5,
"x": 3135.5,
"y": 1426
}
],
@ -1618,11 +1618,11 @@
"labelPercentage": 0,
"route": [
{
"x": 3147.5,
"x": 3135.5,
"y": 1496
},
{
"x": 3329,
"x": 3317,
"y": 1496
}
],
@ -1658,11 +1658,11 @@
"labelPercentage": 0,
"route": [
{
"x": 3329,
"x": 3317,
"y": 1566
},
{
"x": 3499.5,
"x": 3487.5,
"y": 1566
}
],
@ -1778,11 +1778,11 @@
"labelPercentage": 0,
"route": [
{
"x": 557,
"x": 551,
"y": 236
},
{
"x": 557,
"x": 551,
"y": 1636
}
],
@ -1818,11 +1818,11 @@
"labelPercentage": 0,
"route": [
{
"x": 824,
"x": 812,
"y": 236
},
{
"x": 824,
"x": 812,
"y": 1636
}
],
@ -1858,11 +1858,11 @@
"labelPercentage": 0,
"route": [
{
"x": 1032,
"x": 1020,
"y": 236
},
{
"x": 1032,
"x": 1020,
"y": 1636
}
],
@ -1898,11 +1898,11 @@
"labelPercentage": 0,
"route": [
{
"x": 1202,
"x": 1190,
"y": 236
},
{
"x": 1202,
"x": 1190,
"y": 1636
}
],
@ -1938,11 +1938,11 @@
"labelPercentage": 0,
"route": [
{
"x": 1352,
"x": 1340,
"y": 236
},
{
"x": 1352,
"x": 1340,
"y": 1636
}
],
@ -1978,11 +1978,11 @@
"labelPercentage": 0,
"route": [
{
"x": 1502,
"x": 1490,
"y": 236
},
{
"x": 1502,
"x": 1490,
"y": 1636
}
],
@ -2018,11 +2018,11 @@
"labelPercentage": 0,
"route": [
{
"x": 1665,
"x": 1653,
"y": 236
},
{
"x": 1665,
"x": 1653,
"y": 1636
}
],
@ -2058,11 +2058,11 @@
"labelPercentage": 0,
"route": [
{
"x": 1842,
"x": 1830,
"y": 241
},
{
"x": 1842,
"x": 1830,
"y": 1636
}
],
@ -2098,11 +2098,11 @@
"labelPercentage": 0,
"route": [
{
"x": 1994,
"x": 1982,
"y": 236
},
{
"x": 1994,
"x": 1982,
"y": 1636
}
],
@ -2138,11 +2138,11 @@
"labelPercentage": 0,
"route": [
{
"x": 2144,
"x": 2132,
"y": 236
},
{
"x": 2144,
"x": 2132,
"y": 1636
}
],
@ -2178,11 +2178,11 @@
"labelPercentage": 0,
"route": [
{
"x": 2294.5,
"x": 2282.5,
"y": 236
},
{
"x": 2294.5,
"x": 2282.5,
"y": 1636
}
],
@ -2218,11 +2218,11 @@
"labelPercentage": 0,
"route": [
{
"x": 2475.5,
"x": 2463.5,
"y": 236
},
{
"x": 2475.5,
"x": 2463.5,
"y": 1636
}
],
@ -2258,11 +2258,11 @@
"labelPercentage": 0,
"route": [
{
"x": 2630,
"x": 2618,
"y": 241
},
{
"x": 2630,
"x": 2618,
"y": 1636
}
],
@ -2298,11 +2298,11 @@
"labelPercentage": 0,
"route": [
{
"x": 2795.5,
"x": 2783.5,
"y": 236
},
{
"x": 2795.5,
"x": 2783.5,
"y": 1636
}
],
@ -2338,11 +2338,11 @@
"labelPercentage": 0,
"route": [
{
"x": 2962.5,
"x": 2950.5,
"y": 236
},
{
"x": 2962.5,
"x": 2950.5,
"y": 1636
}
],
@ -2378,11 +2378,11 @@
"labelPercentage": 0,
"route": [
{
"x": 3147.5,
"x": 3135.5,
"y": 236
},
{
"x": 3147.5,
"x": 3135.5,
"y": 1636
}
],
@ -2418,11 +2418,11 @@
"labelPercentage": 0,
"route": [
{
"x": 3329,
"x": 3317,
"y": 236
},
{
"x": 3329,
"x": 3317,
"y": 1636
}
],
@ -2458,11 +2458,11 @@
"labelPercentage": 0,
"route": [
{
"x": 3499.5,
"x": 3487.5,
"y": 236
},
{
"x": 3499.5,
"x": 3487.5,
"y": 1636
}
],

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 51 KiB

After

Width:  |  Height:  |  Size: 50 KiB

View file

@ -210,7 +210,7 @@
"x": 1790,
"y": 48
},
"width": 434,
"width": 422,
"height": 368,
"opacity": 1,
"strokeDash": 0,
@ -282,10 +282,10 @@
"id": "manager2",
"type": "class",
"pos": {
"x": 2284,
"x": 2272,
"y": 0
},
"width": 600,
"width": 582,
"height": 464,
"opacity": 1,
"strokeDash": 0,

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

View file

@ -210,7 +210,7 @@
"x": 1722,
"y": 60
},
"width": 434,
"width": 422,
"height": 368,
"opacity": 1,
"strokeDash": 0,
@ -282,10 +282,10 @@
"id": "manager2",
"type": "class",
"pos": {
"x": 2176,
"x": 2164,
"y": 12
},
"width": 600,
"width": 582,
"height": 464,
"opacity": 1,
"strokeDash": 0,

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

View file

@ -10,7 +10,7 @@
"x": 0,
"y": 0
},
"width": 434,
"width": 422,
"height": 512,
"opacity": 1,
"strokeDash": 0,
@ -82,7 +82,7 @@
"id": "users",
"type": "sql_table",
"pos": {
"x": 113,
"x": 107,
"y": 612
},
"width": 208,
@ -266,7 +266,7 @@
"id": "code",
"type": "code",
"pos": {
"x": 122,
"x": 116,
"y": 1224
},
"width": 191,
@ -306,7 +306,7 @@
"id": "package",
"type": "package",
"pos": {
"x": 167,
"x": 161,
"y": 1836
},
"width": 100,
@ -346,7 +346,7 @@
"id": "no height",
"type": "rectangle",
"pos": {
"x": 167,
"x": 161,
"y": 2448
},
"width": 100,
@ -411,19 +411,19 @@
"labelPercentage": 0,
"route": [
{
"x": 217,
"x": 211,
"y": 512
},
{
"x": 217,
"x": 211,
"y": 552
},
{
"x": 217,
"x": 211,
"y": 572
},
{
"x": 217,
"x": 211,
"y": 612
}
],
@ -460,19 +460,19 @@
"labelPercentage": 0,
"route": [
{
"x": 217,
"x": 211,
"y": 1124
},
{
"x": 217,
"x": 211,
"y": 1164
},
{
"x": 217,
"x": 211,
"y": 1184
},
{
"x": 217,
"x": 211,
"y": 1224
}
],
@ -509,19 +509,19 @@
"labelPercentage": 0,
"route": [
{
"x": 217,
"x": 211,
"y": 1736
},
{
"x": 217,
"x": 211,
"y": 1776
},
{
"x": 217,
"x": 211,
"y": 1796
},
{
"x": 217,
"x": 211,
"y": 1836
}
],
@ -558,19 +558,19 @@
"labelPercentage": 0,
"route": [
{
"x": 217,
"x": 211,
"y": 2348
},
{
"x": 217,
"x": 211,
"y": 2388
},
{
"x": 217,
"x": 211,
"y": 2408
},
{
"x": 217,
"x": 211,
"y": 2448
}
],

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 33 KiB

View file

@ -10,7 +10,7 @@
"x": 12,
"y": 12
},
"width": 434,
"width": 422,
"height": 512,
"opacity": 1,
"strokeDash": 0,
@ -82,7 +82,7 @@
"id": "users",
"type": "sql_table",
"pos": {
"x": 125,
"x": 119,
"y": 594
},
"width": 208,
@ -266,7 +266,7 @@
"id": "code",
"type": "code",
"pos": {
"x": 133,
"x": 127,
"y": 1176
},
"width": 191,
@ -306,7 +306,7 @@
"id": "package",
"type": "package",
"pos": {
"x": 179,
"x": 173,
"y": 1758
},
"width": 100,
@ -346,7 +346,7 @@
"id": "no height",
"type": "rectangle",
"pos": {
"x": 179,
"x": 173,
"y": 2340
},
"width": 100,
@ -411,11 +411,11 @@
"labelPercentage": 0,
"route": [
{
"x": 229,
"x": 223,
"y": 524
},
{
"x": 229,
"x": 223,
"y": 594
}
],
@ -451,11 +451,11 @@
"labelPercentage": 0,
"route": [
{
"x": 229,
"x": 223,
"y": 1106
},
{
"x": 229,
"x": 223,
"y": 1176
}
],
@ -491,11 +491,11 @@
"labelPercentage": 0,
"route": [
{
"x": 229,
"x": 223,
"y": 1688
},
{
"x": 229,
"x": 223,
"y": 1758
}
],
@ -531,11 +531,11 @@
"labelPercentage": 0,
"route": [
{
"x": 229,
"x": 223,
"y": 2270
},
{
"x": 229,
"x": 223,
"y": 2340
}
],

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 33 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 33 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 33 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 81 KiB

After

Width:  |  Height:  |  Size: 80 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 80 KiB

After

Width:  |  Height:  |  Size: 80 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 59 KiB

After

Width:  |  Height:  |  Size: 59 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 59 KiB

After

Width:  |  Height:  |  Size: 59 KiB