diff --git a/d2graph/d2graph.go b/d2graph/d2graph.go index 5cccdaf07..3b481cc7d 100644 --- a/d2graph/d2graph.go +++ b/d2graph/d2graph.go @@ -1005,7 +1005,7 @@ func (obj *Object) GetDefaultSize(mtexts []*d2target.MText, ruler *textmeasure.R case d2target.ShapeSQLTable: maxNameWidth := 0 maxTypeWidth := 0 - constraintWidth := 0 + maxConstraintWidth := 0 colFontSize := d2fonts.FONT_SIZE_L if obj.Style.FontSize != nil { @@ -1032,23 +1032,24 @@ func (obj *Object) GetDefaultSize(mtexts []*d2target.MText, ruler *textmeasure.R } c.Type.LabelWidth = typeDims.Width c.Type.LabelHeight = typeDims.Height - if maxTypeWidth < typeDims.Width { - maxTypeWidth = typeDims.Width - } maxTypeWidth = go2.Max(maxTypeWidth, typeDims.Width) if l := len(c.Constraint); l > 0 { - // 60 covers UNQ constraint with padding, 40 for further constraints covers UNQ + comma + space - if newWidth := 60 + 40*(l-1); newWidth > constraintWidth { - constraintWidth = newWidth + constraintDims := GetTextDimensions(mtexts, ruler, ctexts[2], fontFamily) + if typeDims == nil { + return nil, fmt.Errorf("dimensions for sql_table constraint %#v not found", ctexts[2].Text) } + maxConstraintWidth = go2.Max(maxConstraintWidth, constraintDims.Width) } } // The rows get padded a little due to header font being larger than row font dims.Height = go2.Max(12, labelDims.Height*(len(obj.SQLTable.Columns)+1)) headerWidth := d2target.HeaderPadding + labelDims.Width + d2target.HeaderPadding - rowsWidth := d2target.NamePadding + maxNameWidth + d2target.TypePadding + maxTypeWidth + d2target.TypePadding + constraintWidth + rowsWidth := d2target.NamePadding + maxNameWidth + d2target.TypePadding + maxTypeWidth + d2target.TypePadding + maxConstraintWidth + if maxConstraintWidth != 0 { + rowsWidth += d2target.ConstraintPadding + } dims.Width = go2.Max(12, go2.Max(headerWidth, rowsWidth)) } diff --git a/d2renderers/d2sketch/testdata/class_and_sqlTable_border_radius/sketch.exp.svg b/d2renderers/d2sketch/testdata/class_and_sqlTable_border_radius/sketch.exp.svg index d7640b75f..19adf8d00 100644 --- a/d2renderers/d2sketch/testdata/class_and_sqlTable_border_radius/sketch.exp.svg +++ b/d2renderers/d2sketch/testdata/class_and_sqlTable_border_radius/sketch.exp.svg @@ -1,16 +1,16 @@ - + .d2-2607227077 .fill-N1{fill:#0A0F25;} + .d2-2607227077 .fill-N2{fill:#676C7E;} + .d2-2607227077 .fill-N3{fill:#9499AB;} + .d2-2607227077 .fill-N4{fill:#CFD2DD;} + .d2-2607227077 .fill-N5{fill:#DEE1EB;} + .d2-2607227077 .fill-N6{fill:#EEF1F8;} + .d2-2607227077 .fill-N7{fill:#FFFFFF;} + .d2-2607227077 .fill-B1{fill:#0D32B2;} + .d2-2607227077 .fill-B2{fill:#0D32B2;} + .d2-2607227077 .fill-B3{fill:#E3E9FD;} + .d2-2607227077 .fill-B4{fill:#E3E9FD;} + .d2-2607227077 .fill-B5{fill:#EDF0FD;} + .d2-2607227077 .fill-B6{fill:#F7F8FE;} + .d2-2607227077 .fill-AA2{fill:#4A6FF3;} + .d2-2607227077 .fill-AA4{fill:#EDF0FD;} + .d2-2607227077 .fill-AA5{fill:#F7F8FE;} + .d2-2607227077 .fill-AB4{fill:#EDF0FD;} + .d2-2607227077 .fill-AB5{fill:#F7F8FE;} + .d2-2607227077 .stroke-N1{stroke:#0A0F25;} + .d2-2607227077 .stroke-N2{stroke:#676C7E;} + .d2-2607227077 .stroke-N3{stroke:#9499AB;} + .d2-2607227077 .stroke-N4{stroke:#CFD2DD;} + .d2-2607227077 .stroke-N5{stroke:#DEE1EB;} + .d2-2607227077 .stroke-N6{stroke:#EEF1F8;} + .d2-2607227077 .stroke-N7{stroke:#FFFFFF;} + .d2-2607227077 .stroke-B1{stroke:#0D32B2;} + .d2-2607227077 .stroke-B2{stroke:#0D32B2;} + .d2-2607227077 .stroke-B3{stroke:#E3E9FD;} + .d2-2607227077 .stroke-B4{stroke:#E3E9FD;} + .d2-2607227077 .stroke-B5{stroke:#EDF0FD;} + .d2-2607227077 .stroke-B6{stroke:#F7F8FE;} + .d2-2607227077 .stroke-AA2{stroke:#4A6FF3;} + .d2-2607227077 .stroke-AA4{stroke:#EDF0FD;} + .d2-2607227077 .stroke-AA5{stroke:#F7F8FE;} + .d2-2607227077 .stroke-AB4{stroke:#EDF0FD;} + .d2-2607227077 .stroke-AB5{stroke:#F7F8FE;} + .d2-2607227077 .background-color-N1{background-color:#0A0F25;} + .d2-2607227077 .background-color-N2{background-color:#676C7E;} + .d2-2607227077 .background-color-N3{background-color:#9499AB;} + .d2-2607227077 .background-color-N4{background-color:#CFD2DD;} + .d2-2607227077 .background-color-N5{background-color:#DEE1EB;} + .d2-2607227077 .background-color-N6{background-color:#EEF1F8;} + .d2-2607227077 .background-color-N7{background-color:#FFFFFF;} + .d2-2607227077 .background-color-B1{background-color:#0D32B2;} + .d2-2607227077 .background-color-B2{background-color:#0D32B2;} + .d2-2607227077 .background-color-B3{background-color:#E3E9FD;} + .d2-2607227077 .background-color-B4{background-color:#E3E9FD;} + .d2-2607227077 .background-color-B5{background-color:#EDF0FD;} + .d2-2607227077 .background-color-B6{background-color:#F7F8FE;} + .d2-2607227077 .background-color-AA2{background-color:#4A6FF3;} + .d2-2607227077 .background-color-AA4{background-color:#EDF0FD;} + .d2-2607227077 .background-color-AA5{background-color:#F7F8FE;} + .d2-2607227077 .background-color-AB4{background-color:#EDF0FD;} + .d2-2607227077 .background-color-AB5{background-color:#F7F8FE;} + .d2-2607227077 .color-N1{color:#0A0F25;} + .d2-2607227077 .color-N2{color:#676C7E;} + .d2-2607227077 .color-N3{color:#9499AB;} + .d2-2607227077 .color-N4{color:#CFD2DD;} + .d2-2607227077 .color-N5{color:#DEE1EB;} + .d2-2607227077 .color-N6{color:#EEF1F8;} + .d2-2607227077 .color-N7{color:#FFFFFF;} + .d2-2607227077 .color-B1{color:#0D32B2;} + .d2-2607227077 .color-B2{color:#0D32B2;} + .d2-2607227077 .color-B3{color:#E3E9FD;} + .d2-2607227077 .color-B4{color:#E3E9FD;} + .d2-2607227077 .color-B5{color:#EDF0FD;} + .d2-2607227077 .color-B6{color:#F7F8FE;} + .d2-2607227077 .color-AA2{color:#4A6FF3;} + .d2-2607227077 .color-AA4{color:#EDF0FD;} + .d2-2607227077 .color-AA5{color:#F7F8FE;} + .d2-2607227077 .color-AB4{color:#EDF0FD;} + .d2-2607227077 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> @@ -112,7 +112,7 @@ -aidintPKdiskintFKjsonjsonbUNQlast_updatedtimestamp with time zoneb+field[]string+method(a uint64)(x, y int)cd - +aidintPKdiskintFKjsonjsonbUNQlast_updatedtimestamp with time zoneb+field[]string+method(a uint64)(x, y int)cd + \ No newline at end of file diff --git a/d2renderers/d2sketch/testdata/sql_tables/sketch.exp.svg b/d2renderers/d2sketch/testdata/sql_tables/sketch.exp.svg index 56ec37a37..d6929ac06 100644 --- a/d2renderers/d2sketch/testdata/sql_tables/sketch.exp.svg +++ b/d2renderers/d2sketch/testdata/sql_tables/sketch.exp.svg @@ -1,9 +1,9 @@ - + .d2-4027692135 .fill-N1{fill:#0A0F25;} + .d2-4027692135 .fill-N2{fill:#676C7E;} + .d2-4027692135 .fill-N3{fill:#9499AB;} + .d2-4027692135 .fill-N4{fill:#CFD2DD;} + .d2-4027692135 .fill-N5{fill:#DEE1EB;} + .d2-4027692135 .fill-N6{fill:#EEF1F8;} + .d2-4027692135 .fill-N7{fill:#FFFFFF;} + .d2-4027692135 .fill-B1{fill:#0D32B2;} + .d2-4027692135 .fill-B2{fill:#0D32B2;} + .d2-4027692135 .fill-B3{fill:#E3E9FD;} + .d2-4027692135 .fill-B4{fill:#E3E9FD;} + .d2-4027692135 .fill-B5{fill:#EDF0FD;} + .d2-4027692135 .fill-B6{fill:#F7F8FE;} + .d2-4027692135 .fill-AA2{fill:#4A6FF3;} + .d2-4027692135 .fill-AA4{fill:#EDF0FD;} + .d2-4027692135 .fill-AA5{fill:#F7F8FE;} + .d2-4027692135 .fill-AB4{fill:#EDF0FD;} + .d2-4027692135 .fill-AB5{fill:#F7F8FE;} + .d2-4027692135 .stroke-N1{stroke:#0A0F25;} + .d2-4027692135 .stroke-N2{stroke:#676C7E;} + .d2-4027692135 .stroke-N3{stroke:#9499AB;} + .d2-4027692135 .stroke-N4{stroke:#CFD2DD;} + .d2-4027692135 .stroke-N5{stroke:#DEE1EB;} + .d2-4027692135 .stroke-N6{stroke:#EEF1F8;} + .d2-4027692135 .stroke-N7{stroke:#FFFFFF;} + .d2-4027692135 .stroke-B1{stroke:#0D32B2;} + .d2-4027692135 .stroke-B2{stroke:#0D32B2;} + .d2-4027692135 .stroke-B3{stroke:#E3E9FD;} + .d2-4027692135 .stroke-B4{stroke:#E3E9FD;} + .d2-4027692135 .stroke-B5{stroke:#EDF0FD;} + .d2-4027692135 .stroke-B6{stroke:#F7F8FE;} + .d2-4027692135 .stroke-AA2{stroke:#4A6FF3;} + .d2-4027692135 .stroke-AA4{stroke:#EDF0FD;} + .d2-4027692135 .stroke-AA5{stroke:#F7F8FE;} + .d2-4027692135 .stroke-AB4{stroke:#EDF0FD;} + .d2-4027692135 .stroke-AB5{stroke:#F7F8FE;} + .d2-4027692135 .background-color-N1{background-color:#0A0F25;} + .d2-4027692135 .background-color-N2{background-color:#676C7E;} + .d2-4027692135 .background-color-N3{background-color:#9499AB;} + .d2-4027692135 .background-color-N4{background-color:#CFD2DD;} + .d2-4027692135 .background-color-N5{background-color:#DEE1EB;} + .d2-4027692135 .background-color-N6{background-color:#EEF1F8;} + .d2-4027692135 .background-color-N7{background-color:#FFFFFF;} + .d2-4027692135 .background-color-B1{background-color:#0D32B2;} + .d2-4027692135 .background-color-B2{background-color:#0D32B2;} + .d2-4027692135 .background-color-B3{background-color:#E3E9FD;} + .d2-4027692135 .background-color-B4{background-color:#E3E9FD;} + .d2-4027692135 .background-color-B5{background-color:#EDF0FD;} + .d2-4027692135 .background-color-B6{background-color:#F7F8FE;} + .d2-4027692135 .background-color-AA2{background-color:#4A6FF3;} + .d2-4027692135 .background-color-AA4{background-color:#EDF0FD;} + .d2-4027692135 .background-color-AA5{background-color:#F7F8FE;} + .d2-4027692135 .background-color-AB4{background-color:#EDF0FD;} + .d2-4027692135 .background-color-AB5{background-color:#F7F8FE;} + .d2-4027692135 .color-N1{color:#0A0F25;} + .d2-4027692135 .color-N2{color:#676C7E;} + .d2-4027692135 .color-N3{color:#9499AB;} + .d2-4027692135 .color-N4{color:#CFD2DD;} + .d2-4027692135 .color-N5{color:#DEE1EB;} + .d2-4027692135 .color-N6{color:#EEF1F8;} + .d2-4027692135 .color-N7{color:#FFFFFF;} + .d2-4027692135 .color-B1{color:#0D32B2;} + .d2-4027692135 .color-B2{color:#0D32B2;} + .d2-4027692135 .color-B3{color:#E3E9FD;} + .d2-4027692135 .color-B4{color:#E3E9FD;} + .d2-4027692135 .color-B5{color:#EDF0FD;} + .d2-4027692135 .color-B6{color:#F7F8FE;} + .d2-4027692135 .color-AA2{color:#4A6FF3;} + .d2-4027692135 .color-AA4{color:#EDF0FD;} + .d2-4027692135 .color-AA5{color:#F7F8FE;} + .d2-4027692135 .color-AB4{color:#EDF0FD;} + .d2-4027692135 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> @@ -97,7 +97,7 @@ -usersidintnamestringemailstringpasswordstringlast_logindatetimeproductsidintpricedecimalskustringnamestringordersidintuser_idintproduct_idintshipmentsidintorder_idinttracking_numberstringPKstatusstring - +usersidintnamestringemailstringpasswordstringlast_logindatetimeproductsidintpricedecimalskustringnamestringordersidintuser_idintproduct_idintshipmentsidintorder_idinttracking_numberstringPKstatusstring + \ No newline at end of file diff --git a/d2renderers/d2sketch/testdata/sql_tables_dark/sketch.exp.svg b/d2renderers/d2sketch/testdata/sql_tables_dark/sketch.exp.svg index 5bcf0a0cf..7184cfd6c 100644 --- a/d2renderers/d2sketch/testdata/sql_tables_dark/sketch.exp.svg +++ b/d2renderers/d2sketch/testdata/sql_tables_dark/sketch.exp.svg @@ -1,9 +1,9 @@ - + .d2-4027692135 .fill-N1{fill:#CDD6F4;} + .d2-4027692135 .fill-N2{fill:#BAC2DE;} + .d2-4027692135 .fill-N3{fill:#A6ADC8;} + .d2-4027692135 .fill-N4{fill:#585B70;} + .d2-4027692135 .fill-N5{fill:#45475A;} + .d2-4027692135 .fill-N6{fill:#313244;} + .d2-4027692135 .fill-N7{fill:#1E1E2E;} + .d2-4027692135 .fill-B1{fill:#CBA6f7;} + .d2-4027692135 .fill-B2{fill:#CBA6f7;} + .d2-4027692135 .fill-B3{fill:#6C7086;} + .d2-4027692135 .fill-B4{fill:#585B70;} + .d2-4027692135 .fill-B5{fill:#45475A;} + .d2-4027692135 .fill-B6{fill:#313244;} + .d2-4027692135 .fill-AA2{fill:#f38BA8;} + .d2-4027692135 .fill-AA4{fill:#45475A;} + .d2-4027692135 .fill-AA5{fill:#313244;} + .d2-4027692135 .fill-AB4{fill:#45475A;} + .d2-4027692135 .fill-AB5{fill:#313244;} + .d2-4027692135 .stroke-N1{stroke:#CDD6F4;} + .d2-4027692135 .stroke-N2{stroke:#BAC2DE;} + .d2-4027692135 .stroke-N3{stroke:#A6ADC8;} + .d2-4027692135 .stroke-N4{stroke:#585B70;} + .d2-4027692135 .stroke-N5{stroke:#45475A;} + .d2-4027692135 .stroke-N6{stroke:#313244;} + .d2-4027692135 .stroke-N7{stroke:#1E1E2E;} + .d2-4027692135 .stroke-B1{stroke:#CBA6f7;} + .d2-4027692135 .stroke-B2{stroke:#CBA6f7;} + .d2-4027692135 .stroke-B3{stroke:#6C7086;} + .d2-4027692135 .stroke-B4{stroke:#585B70;} + .d2-4027692135 .stroke-B5{stroke:#45475A;} + .d2-4027692135 .stroke-B6{stroke:#313244;} + .d2-4027692135 .stroke-AA2{stroke:#f38BA8;} + .d2-4027692135 .stroke-AA4{stroke:#45475A;} + .d2-4027692135 .stroke-AA5{stroke:#313244;} + .d2-4027692135 .stroke-AB4{stroke:#45475A;} + .d2-4027692135 .stroke-AB5{stroke:#313244;} + .d2-4027692135 .background-color-N1{background-color:#CDD6F4;} + .d2-4027692135 .background-color-N2{background-color:#BAC2DE;} + .d2-4027692135 .background-color-N3{background-color:#A6ADC8;} + .d2-4027692135 .background-color-N4{background-color:#585B70;} + .d2-4027692135 .background-color-N5{background-color:#45475A;} + .d2-4027692135 .background-color-N6{background-color:#313244;} + .d2-4027692135 .background-color-N7{background-color:#1E1E2E;} + .d2-4027692135 .background-color-B1{background-color:#CBA6f7;} + .d2-4027692135 .background-color-B2{background-color:#CBA6f7;} + .d2-4027692135 .background-color-B3{background-color:#6C7086;} + .d2-4027692135 .background-color-B4{background-color:#585B70;} + .d2-4027692135 .background-color-B5{background-color:#45475A;} + .d2-4027692135 .background-color-B6{background-color:#313244;} + .d2-4027692135 .background-color-AA2{background-color:#f38BA8;} + .d2-4027692135 .background-color-AA4{background-color:#45475A;} + .d2-4027692135 .background-color-AA5{background-color:#313244;} + .d2-4027692135 .background-color-AB4{background-color:#45475A;} + .d2-4027692135 .background-color-AB5{background-color:#313244;} + .d2-4027692135 .color-N1{color:#CDD6F4;} + .d2-4027692135 .color-N2{color:#BAC2DE;} + .d2-4027692135 .color-N3{color:#A6ADC8;} + .d2-4027692135 .color-N4{color:#585B70;} + .d2-4027692135 .color-N5{color:#45475A;} + .d2-4027692135 .color-N6{color:#313244;} + .d2-4027692135 .color-N7{color:#1E1E2E;} + .d2-4027692135 .color-B1{color:#CBA6f7;} + .d2-4027692135 .color-B2{color:#CBA6f7;} + .d2-4027692135 .color-B3{color:#6C7086;} + .d2-4027692135 .color-B4{color:#585B70;} + .d2-4027692135 .color-B5{color:#45475A;} + .d2-4027692135 .color-B6{color:#313244;} + .d2-4027692135 .color-AA2{color:#f38BA8;} + .d2-4027692135 .color-AA4{color:#45475A;} + .d2-4027692135 .color-AA5{color:#313244;} + .d2-4027692135 .color-AB4{color:#45475A;} + .d2-4027692135 .color-AB5{color:#313244;}.appendix text.text{fill:#CDD6F4}.md{--color-fg-default:#CDD6F4;--color-fg-muted:#BAC2DE;--color-fg-subtle:#A6ADC8;--color-canvas-default:#1E1E2E;--color-canvas-subtle:#313244;--color-border-default:#CBA6f7;--color-border-muted:#CBA6f7;--color-neutral-muted:#313244;--color-accent-fg:#CBA6f7;--color-accent-emphasis:#CBA6f7;--color-attention-subtle:#BAC2DE;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-B2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-B3{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-B4{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-B5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B6{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AA2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-AA4{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AA5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AB4{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AB5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N1{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N6{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N7{fill:url(#streaks-darker);mix-blend-mode:lighten}.light-code{display: none}.dark-code{display: block}]]> -usersidintnamestringemailstringpasswordstringlast_logindatetimeproductsidintpricedecimalskustringnamestringordersidintuser_idintproduct_idintshipmentsidintorder_idinttracking_numberstringPKstatusstring - +usersidintnamestringemailstringpasswordstringlast_logindatetimeproductsidintpricedecimalskustringnamestringordersidintuser_idintproduct_idintshipmentsidintorder_idinttracking_numberstringPKstatusstring + \ No newline at end of file diff --git a/d2renderers/d2svg/dark_theme/testdata/opacity/dark_theme.exp.svg b/d2renderers/d2svg/dark_theme/testdata/opacity/dark_theme.exp.svg index 1a8b468be..e2c961242 100644 --- a/d2renderers/d2svg/dark_theme/testdata/opacity/dark_theme.exp.svg +++ b/d2renderers/d2svg/dark_theme/testdata/opacity/dark_theme.exp.svg @@ -844,7 +844,7 @@ margin: 0 -1.6em 0.25em 0.2em; } xlinux: because a PC is a terrible thing to waste -auserslast_logindatetime You don't have to know how the computer works,just how to work the computer. +auserslast_logindatetime You don't have to know how the computer works,just how to work the computer. \ No newline at end of file diff --git a/d2renderers/d2svg/dark_theme/testdata/sql_tables/dark_theme.exp.svg b/d2renderers/d2svg/dark_theme/testdata/sql_tables/dark_theme.exp.svg index 8348b75ca..75cc29881 100644 --- a/d2renderers/d2svg/dark_theme/testdata/sql_tables/dark_theme.exp.svg +++ b/d2renderers/d2svg/dark_theme/testdata/sql_tables/dark_theme.exp.svg @@ -1,9 +1,9 @@ -usersidintnamestringemailstringpasswordstringlast_logindatetimeproductsidintpricedecimalskustringnamestringordersidintuser_idintproduct_idintshipmentsidintorder_idinttracking_numberstringPKstatusstring - + .d2-4027692135 .fill-N1{fill:#CDD6F4;} + .d2-4027692135 .fill-N2{fill:#BAC2DE;} + .d2-4027692135 .fill-N3{fill:#A6ADC8;} + .d2-4027692135 .fill-N4{fill:#585B70;} + .d2-4027692135 .fill-N5{fill:#45475A;} + .d2-4027692135 .fill-N6{fill:#313244;} + .d2-4027692135 .fill-N7{fill:#1E1E2E;} + .d2-4027692135 .fill-B1{fill:#CBA6f7;} + .d2-4027692135 .fill-B2{fill:#CBA6f7;} + .d2-4027692135 .fill-B3{fill:#6C7086;} + .d2-4027692135 .fill-B4{fill:#585B70;} + .d2-4027692135 .fill-B5{fill:#45475A;} + .d2-4027692135 .fill-B6{fill:#313244;} + .d2-4027692135 .fill-AA2{fill:#f38BA8;} + .d2-4027692135 .fill-AA4{fill:#45475A;} + .d2-4027692135 .fill-AA5{fill:#313244;} + .d2-4027692135 .fill-AB4{fill:#45475A;} + .d2-4027692135 .fill-AB5{fill:#313244;} + .d2-4027692135 .stroke-N1{stroke:#CDD6F4;} + .d2-4027692135 .stroke-N2{stroke:#BAC2DE;} + .d2-4027692135 .stroke-N3{stroke:#A6ADC8;} + .d2-4027692135 .stroke-N4{stroke:#585B70;} + .d2-4027692135 .stroke-N5{stroke:#45475A;} + .d2-4027692135 .stroke-N6{stroke:#313244;} + .d2-4027692135 .stroke-N7{stroke:#1E1E2E;} + .d2-4027692135 .stroke-B1{stroke:#CBA6f7;} + .d2-4027692135 .stroke-B2{stroke:#CBA6f7;} + .d2-4027692135 .stroke-B3{stroke:#6C7086;} + .d2-4027692135 .stroke-B4{stroke:#585B70;} + .d2-4027692135 .stroke-B5{stroke:#45475A;} + .d2-4027692135 .stroke-B6{stroke:#313244;} + .d2-4027692135 .stroke-AA2{stroke:#f38BA8;} + .d2-4027692135 .stroke-AA4{stroke:#45475A;} + .d2-4027692135 .stroke-AA5{stroke:#313244;} + .d2-4027692135 .stroke-AB4{stroke:#45475A;} + .d2-4027692135 .stroke-AB5{stroke:#313244;} + .d2-4027692135 .background-color-N1{background-color:#CDD6F4;} + .d2-4027692135 .background-color-N2{background-color:#BAC2DE;} + .d2-4027692135 .background-color-N3{background-color:#A6ADC8;} + .d2-4027692135 .background-color-N4{background-color:#585B70;} + .d2-4027692135 .background-color-N5{background-color:#45475A;} + .d2-4027692135 .background-color-N6{background-color:#313244;} + .d2-4027692135 .background-color-N7{background-color:#1E1E2E;} + .d2-4027692135 .background-color-B1{background-color:#CBA6f7;} + .d2-4027692135 .background-color-B2{background-color:#CBA6f7;} + .d2-4027692135 .background-color-B3{background-color:#6C7086;} + .d2-4027692135 .background-color-B4{background-color:#585B70;} + .d2-4027692135 .background-color-B5{background-color:#45475A;} + .d2-4027692135 .background-color-B6{background-color:#313244;} + .d2-4027692135 .background-color-AA2{background-color:#f38BA8;} + .d2-4027692135 .background-color-AA4{background-color:#45475A;} + .d2-4027692135 .background-color-AA5{background-color:#313244;} + .d2-4027692135 .background-color-AB4{background-color:#45475A;} + .d2-4027692135 .background-color-AB5{background-color:#313244;} + .d2-4027692135 .color-N1{color:#CDD6F4;} + .d2-4027692135 .color-N2{color:#BAC2DE;} + .d2-4027692135 .color-N3{color:#A6ADC8;} + .d2-4027692135 .color-N4{color:#585B70;} + .d2-4027692135 .color-N5{color:#45475A;} + .d2-4027692135 .color-N6{color:#313244;} + .d2-4027692135 .color-N7{color:#1E1E2E;} + .d2-4027692135 .color-B1{color:#CBA6f7;} + .d2-4027692135 .color-B2{color:#CBA6f7;} + .d2-4027692135 .color-B3{color:#6C7086;} + .d2-4027692135 .color-B4{color:#585B70;} + .d2-4027692135 .color-B5{color:#45475A;} + .d2-4027692135 .color-B6{color:#313244;} + .d2-4027692135 .color-AA2{color:#f38BA8;} + .d2-4027692135 .color-AA4{color:#45475A;} + .d2-4027692135 .color-AA5{color:#313244;} + .d2-4027692135 .color-AB4{color:#45475A;} + .d2-4027692135 .color-AB5{color:#313244;}.appendix text.text{fill:#CDD6F4}.md{--color-fg-default:#CDD6F4;--color-fg-muted:#BAC2DE;--color-fg-subtle:#A6ADC8;--color-canvas-default:#1E1E2E;--color-canvas-subtle:#313244;--color-border-default:#CBA6f7;--color-border-muted:#CBA6f7;--color-neutral-muted:#313244;--color-accent-fg:#CBA6f7;--color-accent-emphasis:#CBA6f7;--color-attention-subtle:#BAC2DE;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-B2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-B3{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-B4{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-B5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B6{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AA2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-AA4{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AA5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AB4{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-AB5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N1{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N2{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N5{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N6{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N7{fill:url(#streaks-darker);mix-blend-mode:lighten}.light-code{display: none}.dark-code{display: block}]]>usersidintnamestringemailstringpasswordstringlast_logindatetimeproductsidintpricedecimalskustringnamestringordersidintuser_idintproduct_idintshipmentsidintorder_idinttracking_numberstringPKstatusstring + \ No newline at end of file diff --git a/d2renderers/d2svg/table.go b/d2renderers/d2svg/table.go index 2707553c4..7192ed70a 100644 --- a/d2renderers/d2svg/table.go +++ b/d2renderers/d2svg/table.go @@ -74,18 +74,12 @@ func tableHeader(diagramHash string, shape d2target.Shape, box *geo.Box, text st return str } -func tableRow(shape d2target.Shape, box *geo.Box, nameText, typeText, constraintText string, fontSize, longestNameWidth float64) string { +func tableRow(shape d2target.Shape, box *geo.Box, nameText, typeText, constraintText string, fontSize, longestNameWidth, longestTypeWidth float64) string { // Row is made up of name, type, and constraint // e.g. | diagram int FK | nameTL := label.InsideMiddleLeft.GetPointOnBox( box, d2target.NamePadding, - box.Width, - fontSize, - ) - constraintTR := label.InsideMiddleRight.GetPointOnBox( - box, - d2target.TypePadding, 0, fontSize, ) @@ -99,15 +93,14 @@ func tableRow(shape d2target.Shape, box *geo.Box, nameText, typeText, constraint textEl.Content = svg.EscapeText(nameText) out := textEl.Render() - textEl.X = nameTL.X + longestNameWidth + 2*d2target.NamePadding + textEl.X += longestNameWidth + d2target.TypePadding textEl.Fill = shape.NeutralAccentColor textEl.Content = svg.EscapeText(typeText) out += textEl.Render() - textEl.X = constraintTR.X - textEl.Y = constraintTR.Y + fontSize*3/4 + textEl.X = box.TopLeft.X + (box.Width - d2target.NamePadding) textEl.Fill = shape.SecondaryAccentColor - textEl.Style = fmt.Sprintf("text-anchor:%s;font-size:%vpx;letter-spacing:2px", "end", fontSize) + textEl.Style = fmt.Sprintf("text-anchor:%s;font-size:%vpx", "end", fontSize) textEl.Content = constraintText out += textEl.Render() @@ -144,15 +137,17 @@ func drawTable(writer io.Writer, diagramHash string, targetShape d2target.Shape) ) var longestNameWidth int + var longestTypeWidth int for _, f := range targetShape.Columns { longestNameWidth = go2.Max(longestNameWidth, f.Name.LabelWidth) + longestTypeWidth = go2.Max(longestTypeWidth, f.Type.LabelWidth) } rowBox := geo.NewBox(box.TopLeft.Copy(), box.Width, rowHeight) rowBox.TopLeft.Y += headerBox.Height for idx, f := range targetShape.Columns { fmt.Fprint(writer, - tableRow(targetShape, rowBox, f.Name.Label, f.Type.Label, f.ConstraintAbbr(), float64(targetShape.FontSize), float64(longestNameWidth)), + tableRow(targetShape, rowBox, f.Name.Label, f.Type.Label, f.ConstraintAbbr(), float64(targetShape.FontSize), float64(longestNameWidth), float64(longestTypeWidth)), ) rowBox.TopLeft.Y += rowHeight diff --git a/d2target/sqltable.go b/d2target/sqltable.go index bfb1e45d9..3b5932351 100644 --- a/d2target/sqltable.go +++ b/d2target/sqltable.go @@ -3,9 +3,10 @@ package d2target import "strings" const ( - NamePadding = 10 - TypePadding = 20 - HeaderPadding = 10 + NamePadding = 10 + TypePadding = 20 + ConstraintPadding = 20 + HeaderPadding = 10 // Setting table font size sets it for columns // The header needs to be a little larger for visual hierarchy @@ -39,26 +40,31 @@ func (c SQLColumn) Texts(fontSize int) []*MText { IsItalic: false, Shape: "sql_table", }, + { + Text: c.ConstraintAbbr(), + FontSize: fontSize, + IsBold: false, + IsItalic: false, + Shape: "sql_table", + }, } } func (c SQLColumn) ConstraintAbbr() string { - var abbrs []string - - for _, constraint := range c.Constraint { - var abbr string + constraints := make([]string, len(c.Constraint)) + for i, constraint := range c.Constraint { switch constraint { case "primary_key": - abbr = "PK" + constraint = "PK" case "foreign_key": - abbr = "FK" + constraint = "FK" case "unique": - abbr = "UNQ" + constraint = "UNQ" } - abbrs = append(abbrs, abbr) + constraints[i] = constraint } - return strings.Join(abbrs, ", ") + return strings.Join(constraints, ", ") } diff --git a/e2etests-cli/testdata/TestCLI_E2E/internal_linked_pdf.exp.pdf b/e2etests-cli/testdata/TestCLI_E2E/internal_linked_pdf.exp.pdf index 30d233b92..7e40a29cb 100644 Binary files a/e2etests-cli/testdata/TestCLI_E2E/internal_linked_pdf.exp.pdf and b/e2etests-cli/testdata/TestCLI_E2E/internal_linked_pdf.exp.pdf differ diff --git a/e2etests/stable_test.go b/e2etests/stable_test.go index 977eaba8f..358a4799e 100644 --- a/e2etests/stable_test.go +++ b/e2etests/stable_test.go @@ -2409,6 +2409,16 @@ d: { shape: sql_table x: INT {constraint: [primary_key; foreign_key; unique]} } +e: { + shape: sql_table + x: INT {constraint: [no_abbrev; foreign_key; hello]} + y: string + z: STRING {constraint: yo} +} +f: { + shape: sql_table + x: INT +} `, }, { diff --git a/e2etests/testdata/patterns/real-lines/dagre/board.exp.json b/e2etests/testdata/patterns/real-lines/dagre/board.exp.json index 50ee233e6..2c27a790a 100644 --- a/e2etests/testdata/patterns/real-lines/dagre/board.exp.json +++ b/e2etests/testdata/patterns/real-lines/dagre/board.exp.json @@ -176,7 +176,7 @@ "x": 401, "y": 100 }, - "width": 311, + "width": 294, "height": 180, "opacity": 1, "strokeDash": 0, @@ -335,7 +335,7 @@ "x": 401, "y": 401 }, - "width": 311, + "width": 294, "height": 180, "opacity": 1, "strokeDash": 0, @@ -655,19 +655,19 @@ "labelPercentage": 0, "route": [ { - "x": 556, + "x": 547.5, "y": 280 }, { - "x": 556, + "x": 547.5, "y": 328.3999938964844 }, { - "x": 556, + "x": 547.5, "y": 352.70001220703125 }, { - "x": 556, + "x": 547.5, "y": 401.5 } ], diff --git a/e2etests/testdata/patterns/real-lines/dagre/sketch.exp.svg b/e2etests/testdata/patterns/real-lines/dagre/sketch.exp.svg index fa533964a..4ef5b16ba 100644 --- a/e2etests/testdata/patterns/real-lines/dagre/sketch.exp.svg +++ b/e2etests/testdata/patterns/real-lines/dagre/sketch.exp.svg @@ -1,23 +1,23 @@ -RefreshAuthorizationPolicyProtocolServerSideTranslatorProtocolBufferRefreshAuthorizationPolicyCacheRefreshAuthorizationPolicyCacheok + .d2-3940939446 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>RefreshAuthorizationPolicyProtocolServerSideTranslatorProtocolBufferRefreshAuthorizationPolicyCacheRefreshAuthorizationPolicyCacheok \ No newline at end of file diff --git a/e2etests/testdata/regression/only_header_class_table/elk/sketch.exp.svg b/e2etests/testdata/regression/only_header_class_table/elk/sketch.exp.svg index 6fc820c58..47de3bbf9 100644 --- a/e2etests/testdata/regression/only_header_class_table/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/only_header_class_table/elk/sketch.exp.svg @@ -96,7 +96,7 @@ .d2-3935436195 .color-AA4{color:#EDF0FD;} .d2-3935436195 .color-AA5{color:#F7F8FE;} .d2-3935436195 .color-AB4{color:#EDF0FD;} - .d2-3935436195 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>RefreshAuthorizationPolicyProtocolServerSideTranslatorProtocolBufferRefreshAuthorizationPolicyCacheRefreshAuthorizationPolicyCacheok + .d2-3935436195 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>RefreshAuthorizationPolicyProtocolServerSideTranslatorProtocolBufferRefreshAuthorizationPolicyCacheRefreshAuthorizationPolicyCacheok \ No newline at end of file diff --git a/e2etests/testdata/regression/sql_table_overflow/dagre/board.exp.json b/e2etests/testdata/regression/sql_table_overflow/dagre/board.exp.json index 937116c15..3aa233bf9 100644 --- a/e2etests/testdata/regression/sql_table_overflow/dagre/board.exp.json +++ b/e2etests/testdata/regression/sql_table_overflow/dagre/board.exp.json @@ -110,7 +110,7 @@ "x": 594, "y": 0 }, - "width": 594, + "width": 592, "height": 108, "opacity": 1, "strokeDash": 0, diff --git a/e2etests/testdata/regression/sql_table_overflow/dagre/sketch.exp.svg b/e2etests/testdata/regression/sql_table_overflow/dagre/sketch.exp.svg index 144f930fe..451a19c9c 100644 --- a/e2etests/testdata/regression/sql_table_overflow/dagre/sketch.exp.svg +++ b/e2etests/testdata/regression/sql_table_overflow/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -sql_table_overflowshortloooooooooooooooooooongloooooooooooooooooooongshortsql_table_constrained_overflowshortloooooooooooooooooooongUNQloooooooooooooooooooongshortFK - + .d2-1684363094 .fill-N1{fill:#0A0F25;} + .d2-1684363094 .fill-N2{fill:#676C7E;} + .d2-1684363094 .fill-N3{fill:#9499AB;} + .d2-1684363094 .fill-N4{fill:#CFD2DD;} + .d2-1684363094 .fill-N5{fill:#DEE1EB;} + .d2-1684363094 .fill-N6{fill:#EEF1F8;} + .d2-1684363094 .fill-N7{fill:#FFFFFF;} + .d2-1684363094 .fill-B1{fill:#0D32B2;} + .d2-1684363094 .fill-B2{fill:#0D32B2;} + .d2-1684363094 .fill-B3{fill:#E3E9FD;} + .d2-1684363094 .fill-B4{fill:#E3E9FD;} + .d2-1684363094 .fill-B5{fill:#EDF0FD;} + .d2-1684363094 .fill-B6{fill:#F7F8FE;} + .d2-1684363094 .fill-AA2{fill:#4A6FF3;} + .d2-1684363094 .fill-AA4{fill:#EDF0FD;} + .d2-1684363094 .fill-AA5{fill:#F7F8FE;} + .d2-1684363094 .fill-AB4{fill:#EDF0FD;} + .d2-1684363094 .fill-AB5{fill:#F7F8FE;} + .d2-1684363094 .stroke-N1{stroke:#0A0F25;} + .d2-1684363094 .stroke-N2{stroke:#676C7E;} + .d2-1684363094 .stroke-N3{stroke:#9499AB;} + .d2-1684363094 .stroke-N4{stroke:#CFD2DD;} + .d2-1684363094 .stroke-N5{stroke:#DEE1EB;} + .d2-1684363094 .stroke-N6{stroke:#EEF1F8;} + .d2-1684363094 .stroke-N7{stroke:#FFFFFF;} + .d2-1684363094 .stroke-B1{stroke:#0D32B2;} + .d2-1684363094 .stroke-B2{stroke:#0D32B2;} + .d2-1684363094 .stroke-B3{stroke:#E3E9FD;} + .d2-1684363094 .stroke-B4{stroke:#E3E9FD;} + .d2-1684363094 .stroke-B5{stroke:#EDF0FD;} + .d2-1684363094 .stroke-B6{stroke:#F7F8FE;} + .d2-1684363094 .stroke-AA2{stroke:#4A6FF3;} + .d2-1684363094 .stroke-AA4{stroke:#EDF0FD;} + .d2-1684363094 .stroke-AA5{stroke:#F7F8FE;} + .d2-1684363094 .stroke-AB4{stroke:#EDF0FD;} + .d2-1684363094 .stroke-AB5{stroke:#F7F8FE;} + .d2-1684363094 .background-color-N1{background-color:#0A0F25;} + .d2-1684363094 .background-color-N2{background-color:#676C7E;} + .d2-1684363094 .background-color-N3{background-color:#9499AB;} + .d2-1684363094 .background-color-N4{background-color:#CFD2DD;} + .d2-1684363094 .background-color-N5{background-color:#DEE1EB;} + .d2-1684363094 .background-color-N6{background-color:#EEF1F8;} + .d2-1684363094 .background-color-N7{background-color:#FFFFFF;} + .d2-1684363094 .background-color-B1{background-color:#0D32B2;} + .d2-1684363094 .background-color-B2{background-color:#0D32B2;} + .d2-1684363094 .background-color-B3{background-color:#E3E9FD;} + .d2-1684363094 .background-color-B4{background-color:#E3E9FD;} + .d2-1684363094 .background-color-B5{background-color:#EDF0FD;} + .d2-1684363094 .background-color-B6{background-color:#F7F8FE;} + .d2-1684363094 .background-color-AA2{background-color:#4A6FF3;} + .d2-1684363094 .background-color-AA4{background-color:#EDF0FD;} + .d2-1684363094 .background-color-AA5{background-color:#F7F8FE;} + .d2-1684363094 .background-color-AB4{background-color:#EDF0FD;} + .d2-1684363094 .background-color-AB5{background-color:#F7F8FE;} + .d2-1684363094 .color-N1{color:#0A0F25;} + .d2-1684363094 .color-N2{color:#676C7E;} + .d2-1684363094 .color-N3{color:#9499AB;} + .d2-1684363094 .color-N4{color:#CFD2DD;} + .d2-1684363094 .color-N5{color:#DEE1EB;} + .d2-1684363094 .color-N6{color:#EEF1F8;} + .d2-1684363094 .color-N7{color:#FFFFFF;} + .d2-1684363094 .color-B1{color:#0D32B2;} + .d2-1684363094 .color-B2{color:#0D32B2;} + .d2-1684363094 .color-B3{color:#E3E9FD;} + .d2-1684363094 .color-B4{color:#E3E9FD;} + .d2-1684363094 .color-B5{color:#EDF0FD;} + .d2-1684363094 .color-B6{color:#F7F8FE;} + .d2-1684363094 .color-AA2{color:#4A6FF3;} + .d2-1684363094 .color-AA4{color:#EDF0FD;} + .d2-1684363094 .color-AA5{color:#F7F8FE;} + .d2-1684363094 .color-AB4{color:#EDF0FD;} + .d2-1684363094 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>sql_table_overflowshortloooooooooooooooooooongloooooooooooooooooooongshortsql_table_constrained_overflowshortloooooooooooooooooooongUNQloooooooooooooooooooongshortFK + \ No newline at end of file diff --git a/e2etests/testdata/regression/sql_table_overflow/elk/board.exp.json b/e2etests/testdata/regression/sql_table_overflow/elk/board.exp.json index c4ddc7c1b..3c6ee9d9e 100644 --- a/e2etests/testdata/regression/sql_table_overflow/elk/board.exp.json +++ b/e2etests/testdata/regression/sql_table_overflow/elk/board.exp.json @@ -110,7 +110,7 @@ "x": 566, "y": 12 }, - "width": 594, + "width": 592, "height": 108, "opacity": 1, "strokeDash": 0, diff --git a/e2etests/testdata/regression/sql_table_overflow/elk/sketch.exp.svg b/e2etests/testdata/regression/sql_table_overflow/elk/sketch.exp.svg index 194ca57cd..6b83845ad 100644 --- a/e2etests/testdata/regression/sql_table_overflow/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/sql_table_overflow/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -sql_table_overflowshortloooooooooooooooooooongloooooooooooooooooooongshortsql_table_constrained_overflowshortloooooooooooooooooooongUNQloooooooooooooooooooongshortFK - + .d2-1261803308 .fill-N1{fill:#0A0F25;} + .d2-1261803308 .fill-N2{fill:#676C7E;} + .d2-1261803308 .fill-N3{fill:#9499AB;} + .d2-1261803308 .fill-N4{fill:#CFD2DD;} + .d2-1261803308 .fill-N5{fill:#DEE1EB;} + .d2-1261803308 .fill-N6{fill:#EEF1F8;} + .d2-1261803308 .fill-N7{fill:#FFFFFF;} + .d2-1261803308 .fill-B1{fill:#0D32B2;} + .d2-1261803308 .fill-B2{fill:#0D32B2;} + .d2-1261803308 .fill-B3{fill:#E3E9FD;} + .d2-1261803308 .fill-B4{fill:#E3E9FD;} + .d2-1261803308 .fill-B5{fill:#EDF0FD;} + .d2-1261803308 .fill-B6{fill:#F7F8FE;} + .d2-1261803308 .fill-AA2{fill:#4A6FF3;} + .d2-1261803308 .fill-AA4{fill:#EDF0FD;} + .d2-1261803308 .fill-AA5{fill:#F7F8FE;} + .d2-1261803308 .fill-AB4{fill:#EDF0FD;} + .d2-1261803308 .fill-AB5{fill:#F7F8FE;} + .d2-1261803308 .stroke-N1{stroke:#0A0F25;} + .d2-1261803308 .stroke-N2{stroke:#676C7E;} + .d2-1261803308 .stroke-N3{stroke:#9499AB;} + .d2-1261803308 .stroke-N4{stroke:#CFD2DD;} + .d2-1261803308 .stroke-N5{stroke:#DEE1EB;} + .d2-1261803308 .stroke-N6{stroke:#EEF1F8;} + .d2-1261803308 .stroke-N7{stroke:#FFFFFF;} + .d2-1261803308 .stroke-B1{stroke:#0D32B2;} + .d2-1261803308 .stroke-B2{stroke:#0D32B2;} + .d2-1261803308 .stroke-B3{stroke:#E3E9FD;} + .d2-1261803308 .stroke-B4{stroke:#E3E9FD;} + .d2-1261803308 .stroke-B5{stroke:#EDF0FD;} + .d2-1261803308 .stroke-B6{stroke:#F7F8FE;} + .d2-1261803308 .stroke-AA2{stroke:#4A6FF3;} + .d2-1261803308 .stroke-AA4{stroke:#EDF0FD;} + .d2-1261803308 .stroke-AA5{stroke:#F7F8FE;} + .d2-1261803308 .stroke-AB4{stroke:#EDF0FD;} + .d2-1261803308 .stroke-AB5{stroke:#F7F8FE;} + .d2-1261803308 .background-color-N1{background-color:#0A0F25;} + .d2-1261803308 .background-color-N2{background-color:#676C7E;} + .d2-1261803308 .background-color-N3{background-color:#9499AB;} + .d2-1261803308 .background-color-N4{background-color:#CFD2DD;} + .d2-1261803308 .background-color-N5{background-color:#DEE1EB;} + .d2-1261803308 .background-color-N6{background-color:#EEF1F8;} + .d2-1261803308 .background-color-N7{background-color:#FFFFFF;} + .d2-1261803308 .background-color-B1{background-color:#0D32B2;} + .d2-1261803308 .background-color-B2{background-color:#0D32B2;} + .d2-1261803308 .background-color-B3{background-color:#E3E9FD;} + .d2-1261803308 .background-color-B4{background-color:#E3E9FD;} + .d2-1261803308 .background-color-B5{background-color:#EDF0FD;} + .d2-1261803308 .background-color-B6{background-color:#F7F8FE;} + .d2-1261803308 .background-color-AA2{background-color:#4A6FF3;} + .d2-1261803308 .background-color-AA4{background-color:#EDF0FD;} + .d2-1261803308 .background-color-AA5{background-color:#F7F8FE;} + .d2-1261803308 .background-color-AB4{background-color:#EDF0FD;} + .d2-1261803308 .background-color-AB5{background-color:#F7F8FE;} + .d2-1261803308 .color-N1{color:#0A0F25;} + .d2-1261803308 .color-N2{color:#676C7E;} + .d2-1261803308 .color-N3{color:#9499AB;} + .d2-1261803308 .color-N4{color:#CFD2DD;} + .d2-1261803308 .color-N5{color:#DEE1EB;} + .d2-1261803308 .color-N6{color:#EEF1F8;} + .d2-1261803308 .color-N7{color:#FFFFFF;} + .d2-1261803308 .color-B1{color:#0D32B2;} + .d2-1261803308 .color-B2{color:#0D32B2;} + .d2-1261803308 .color-B3{color:#E3E9FD;} + .d2-1261803308 .color-B4{color:#E3E9FD;} + .d2-1261803308 .color-B5{color:#EDF0FD;} + .d2-1261803308 .color-B6{color:#F7F8FE;} + .d2-1261803308 .color-AA2{color:#4A6FF3;} + .d2-1261803308 .color-AA4{color:#EDF0FD;} + .d2-1261803308 .color-AA5{color:#F7F8FE;} + .d2-1261803308 .color-AB4{color:#EDF0FD;} + .d2-1261803308 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>sql_table_overflowshortloooooooooooooooooooongloooooooooooooooooooongshortsql_table_constrained_overflowshortloooooooooooooooooooongUNQloooooooooooooooooooongshortFK + \ No newline at end of file diff --git a/e2etests/testdata/regression/unnamed_class_table_code/dagre/sketch.exp.svg b/e2etests/testdata/regression/unnamed_class_table_code/dagre/sketch.exp.svg index 19e8c557e..4abedf204 100644 --- a/e2etests/testdata/regression/unnamed_class_table_code/dagre/sketch.exp.svg +++ b/e2etests/testdata/regression/unnamed_class_table_code/dagre/sketch.exp.svg @@ -103,7 +103,7 @@ .d2-4221205655 .color-AA4{color:#EDF0FD;} .d2-4221205655 .color-AA5{color:#F7F8FE;} .d2-4221205655 .color-AB4{color:#EDF0FD;} - .d2-4221205655 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)voididintnamestringemailstringpasswordstringlast_logindatetimea := 5 + .d2-4221205655 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)voididintnamestringemailstringpasswordstringlast_logindatetimea := 5 b := a + 7 fmt.Printf("%d", b)a := 5 b := a + 7 diff --git a/e2etests/testdata/regression/unnamed_class_table_code/elk/sketch.exp.svg b/e2etests/testdata/regression/unnamed_class_table_code/elk/sketch.exp.svg index 9aa261bd2..546c5c559 100644 --- a/e2etests/testdata/regression/unnamed_class_table_code/elk/sketch.exp.svg +++ b/e2etests/testdata/regression/unnamed_class_table_code/elk/sketch.exp.svg @@ -103,7 +103,7 @@ .d2-2359991916 .color-AA4{color:#EDF0FD;} .d2-2359991916 .color-AA5{color:#F7F8FE;} .d2-2359991916 .color-AB4{color:#EDF0FD;} - .d2-2359991916 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)voididintnamestringemailstringpasswordstringlast_logindatetimea := 5 + .d2-2359991916 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)voididintnamestringemailstringpasswordstringlast_logindatetimea := 5 b := a + 7 fmt.Printf("%d", b)a := 5 b := a + 7 diff --git a/e2etests/testdata/stable/class_and_sqlTable_border_radius/dagre/board.exp.json b/e2etests/testdata/stable/class_and_sqlTable_border_radius/dagre/board.exp.json index 3d9ed2ba9..57c24f1bb 100644 --- a/e2etests/testdata/stable/class_and_sqlTable_border_radius/dagre/board.exp.json +++ b/e2etests/testdata/stable/class_and_sqlTable_border_radius/dagre/board.exp.json @@ -10,7 +10,7 @@ "x": 0, "y": 2 }, - "width": 439, + "width": 437, "height": 180, "opacity": 1, "strokeDash": 0, @@ -169,7 +169,7 @@ "id": "b", "type": "class", "pos": { - "x": 499, + "x": 497, "y": 0 }, "width": 407, @@ -224,7 +224,7 @@ "id": "c", "type": "class", "pos": { - "x": 966, + "x": 964, "y": 46 }, "width": 117, @@ -267,7 +267,7 @@ "id": "d", "type": "sql_table", "pos": { - "x": 1143, + "x": 1141, "y": 74 }, "width": 50, diff --git a/e2etests/testdata/stable/class_and_sqlTable_border_radius/dagre/sketch.exp.svg b/e2etests/testdata/stable/class_and_sqlTable_border_radius/dagre/sketch.exp.svg index 730a87272..9d324c431 100644 --- a/e2etests/testdata/stable/class_and_sqlTable_border_radius/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/class_and_sqlTable_border_radius/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ - aidintPKdiskintFKjsonjsonbUNQlast_updatedtimestamp with time zone b+field[]string+method(a uint64)(x, y int) c d - + .d2-2645559164 .fill-N1{fill:#0A0F25;} + .d2-2645559164 .fill-N2{fill:#676C7E;} + .d2-2645559164 .fill-N3{fill:#9499AB;} + .d2-2645559164 .fill-N4{fill:#CFD2DD;} + .d2-2645559164 .fill-N5{fill:#DEE1EB;} + .d2-2645559164 .fill-N6{fill:#EEF1F8;} + .d2-2645559164 .fill-N7{fill:#FFFFFF;} + .d2-2645559164 .fill-B1{fill:#0D32B2;} + .d2-2645559164 .fill-B2{fill:#0D32B2;} + .d2-2645559164 .fill-B3{fill:#E3E9FD;} + .d2-2645559164 .fill-B4{fill:#E3E9FD;} + .d2-2645559164 .fill-B5{fill:#EDF0FD;} + .d2-2645559164 .fill-B6{fill:#F7F8FE;} + .d2-2645559164 .fill-AA2{fill:#4A6FF3;} + .d2-2645559164 .fill-AA4{fill:#EDF0FD;} + .d2-2645559164 .fill-AA5{fill:#F7F8FE;} + .d2-2645559164 .fill-AB4{fill:#EDF0FD;} + .d2-2645559164 .fill-AB5{fill:#F7F8FE;} + .d2-2645559164 .stroke-N1{stroke:#0A0F25;} + .d2-2645559164 .stroke-N2{stroke:#676C7E;} + .d2-2645559164 .stroke-N3{stroke:#9499AB;} + .d2-2645559164 .stroke-N4{stroke:#CFD2DD;} + .d2-2645559164 .stroke-N5{stroke:#DEE1EB;} + .d2-2645559164 .stroke-N6{stroke:#EEF1F8;} + .d2-2645559164 .stroke-N7{stroke:#FFFFFF;} + .d2-2645559164 .stroke-B1{stroke:#0D32B2;} + .d2-2645559164 .stroke-B2{stroke:#0D32B2;} + .d2-2645559164 .stroke-B3{stroke:#E3E9FD;} + .d2-2645559164 .stroke-B4{stroke:#E3E9FD;} + .d2-2645559164 .stroke-B5{stroke:#EDF0FD;} + .d2-2645559164 .stroke-B6{stroke:#F7F8FE;} + .d2-2645559164 .stroke-AA2{stroke:#4A6FF3;} + .d2-2645559164 .stroke-AA4{stroke:#EDF0FD;} + .d2-2645559164 .stroke-AA5{stroke:#F7F8FE;} + .d2-2645559164 .stroke-AB4{stroke:#EDF0FD;} + .d2-2645559164 .stroke-AB5{stroke:#F7F8FE;} + .d2-2645559164 .background-color-N1{background-color:#0A0F25;} + .d2-2645559164 .background-color-N2{background-color:#676C7E;} + .d2-2645559164 .background-color-N3{background-color:#9499AB;} + .d2-2645559164 .background-color-N4{background-color:#CFD2DD;} + .d2-2645559164 .background-color-N5{background-color:#DEE1EB;} + .d2-2645559164 .background-color-N6{background-color:#EEF1F8;} + .d2-2645559164 .background-color-N7{background-color:#FFFFFF;} + .d2-2645559164 .background-color-B1{background-color:#0D32B2;} + .d2-2645559164 .background-color-B2{background-color:#0D32B2;} + .d2-2645559164 .background-color-B3{background-color:#E3E9FD;} + .d2-2645559164 .background-color-B4{background-color:#E3E9FD;} + .d2-2645559164 .background-color-B5{background-color:#EDF0FD;} + .d2-2645559164 .background-color-B6{background-color:#F7F8FE;} + .d2-2645559164 .background-color-AA2{background-color:#4A6FF3;} + .d2-2645559164 .background-color-AA4{background-color:#EDF0FD;} + .d2-2645559164 .background-color-AA5{background-color:#F7F8FE;} + .d2-2645559164 .background-color-AB4{background-color:#EDF0FD;} + .d2-2645559164 .background-color-AB5{background-color:#F7F8FE;} + .d2-2645559164 .color-N1{color:#0A0F25;} + .d2-2645559164 .color-N2{color:#676C7E;} + .d2-2645559164 .color-N3{color:#9499AB;} + .d2-2645559164 .color-N4{color:#CFD2DD;} + .d2-2645559164 .color-N5{color:#DEE1EB;} + .d2-2645559164 .color-N6{color:#EEF1F8;} + .d2-2645559164 .color-N7{color:#FFFFFF;} + .d2-2645559164 .color-B1{color:#0D32B2;} + .d2-2645559164 .color-B2{color:#0D32B2;} + .d2-2645559164 .color-B3{color:#E3E9FD;} + .d2-2645559164 .color-B4{color:#E3E9FD;} + .d2-2645559164 .color-B5{color:#EDF0FD;} + .d2-2645559164 .color-B6{color:#F7F8FE;} + .d2-2645559164 .color-AA2{color:#4A6FF3;} + .d2-2645559164 .color-AA4{color:#EDF0FD;} + .d2-2645559164 .color-AA5{color:#F7F8FE;} + .d2-2645559164 .color-AB4{color:#EDF0FD;} + .d2-2645559164 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> aidintPKdiskintFKjsonjsonbUNQlast_updatedtimestamp with time zone b+field[]string+method(a uint64)(x, y int) c d + \ No newline at end of file diff --git a/e2etests/testdata/stable/class_and_sqlTable_border_radius/elk/board.exp.json b/e2etests/testdata/stable/class_and_sqlTable_border_radius/elk/board.exp.json index 1b5822a06..9e58c1d09 100644 --- a/e2etests/testdata/stable/class_and_sqlTable_border_radius/elk/board.exp.json +++ b/e2etests/testdata/stable/class_and_sqlTable_border_radius/elk/board.exp.json @@ -10,7 +10,7 @@ "x": 12, "y": 14 }, - "width": 439, + "width": 437, "height": 180, "opacity": 1, "strokeDash": 0, @@ -169,7 +169,7 @@ "id": "b", "type": "class", "pos": { - "x": 471, + "x": 469, "y": 12 }, "width": 407, @@ -224,7 +224,7 @@ "id": "c", "type": "class", "pos": { - "x": 898, + "x": 896, "y": 58 }, "width": 117, @@ -267,7 +267,7 @@ "id": "d", "type": "sql_table", "pos": { - "x": 1035, + "x": 1033, "y": 86 }, "width": 50, diff --git a/e2etests/testdata/stable/class_and_sqlTable_border_radius/elk/sketch.exp.svg b/e2etests/testdata/stable/class_and_sqlTable_border_radius/elk/sketch.exp.svg index 8a41dd530..3e01e587b 100644 --- a/e2etests/testdata/stable/class_and_sqlTable_border_radius/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/class_and_sqlTable_border_radius/elk/sketch.exp.svg @@ -1,16 +1,16 @@ - aidintPKdiskintFKjsonjsonbUNQlast_updatedtimestamp with time zone b+field[]string+method(a uint64)(x, y int) c d - + .d2-466630064 .fill-N1{fill:#0A0F25;} + .d2-466630064 .fill-N2{fill:#676C7E;} + .d2-466630064 .fill-N3{fill:#9499AB;} + .d2-466630064 .fill-N4{fill:#CFD2DD;} + .d2-466630064 .fill-N5{fill:#DEE1EB;} + .d2-466630064 .fill-N6{fill:#EEF1F8;} + .d2-466630064 .fill-N7{fill:#FFFFFF;} + .d2-466630064 .fill-B1{fill:#0D32B2;} + .d2-466630064 .fill-B2{fill:#0D32B2;} + .d2-466630064 .fill-B3{fill:#E3E9FD;} + .d2-466630064 .fill-B4{fill:#E3E9FD;} + .d2-466630064 .fill-B5{fill:#EDF0FD;} + .d2-466630064 .fill-B6{fill:#F7F8FE;} + .d2-466630064 .fill-AA2{fill:#4A6FF3;} + .d2-466630064 .fill-AA4{fill:#EDF0FD;} + .d2-466630064 .fill-AA5{fill:#F7F8FE;} + .d2-466630064 .fill-AB4{fill:#EDF0FD;} + .d2-466630064 .fill-AB5{fill:#F7F8FE;} + .d2-466630064 .stroke-N1{stroke:#0A0F25;} + .d2-466630064 .stroke-N2{stroke:#676C7E;} + .d2-466630064 .stroke-N3{stroke:#9499AB;} + .d2-466630064 .stroke-N4{stroke:#CFD2DD;} + .d2-466630064 .stroke-N5{stroke:#DEE1EB;} + .d2-466630064 .stroke-N6{stroke:#EEF1F8;} + .d2-466630064 .stroke-N7{stroke:#FFFFFF;} + .d2-466630064 .stroke-B1{stroke:#0D32B2;} + .d2-466630064 .stroke-B2{stroke:#0D32B2;} + .d2-466630064 .stroke-B3{stroke:#E3E9FD;} + .d2-466630064 .stroke-B4{stroke:#E3E9FD;} + .d2-466630064 .stroke-B5{stroke:#EDF0FD;} + .d2-466630064 .stroke-B6{stroke:#F7F8FE;} + .d2-466630064 .stroke-AA2{stroke:#4A6FF3;} + .d2-466630064 .stroke-AA4{stroke:#EDF0FD;} + .d2-466630064 .stroke-AA5{stroke:#F7F8FE;} + .d2-466630064 .stroke-AB4{stroke:#EDF0FD;} + .d2-466630064 .stroke-AB5{stroke:#F7F8FE;} + .d2-466630064 .background-color-N1{background-color:#0A0F25;} + .d2-466630064 .background-color-N2{background-color:#676C7E;} + .d2-466630064 .background-color-N3{background-color:#9499AB;} + .d2-466630064 .background-color-N4{background-color:#CFD2DD;} + .d2-466630064 .background-color-N5{background-color:#DEE1EB;} + .d2-466630064 .background-color-N6{background-color:#EEF1F8;} + .d2-466630064 .background-color-N7{background-color:#FFFFFF;} + .d2-466630064 .background-color-B1{background-color:#0D32B2;} + .d2-466630064 .background-color-B2{background-color:#0D32B2;} + .d2-466630064 .background-color-B3{background-color:#E3E9FD;} + .d2-466630064 .background-color-B4{background-color:#E3E9FD;} + .d2-466630064 .background-color-B5{background-color:#EDF0FD;} + .d2-466630064 .background-color-B6{background-color:#F7F8FE;} + .d2-466630064 .background-color-AA2{background-color:#4A6FF3;} + .d2-466630064 .background-color-AA4{background-color:#EDF0FD;} + .d2-466630064 .background-color-AA5{background-color:#F7F8FE;} + .d2-466630064 .background-color-AB4{background-color:#EDF0FD;} + .d2-466630064 .background-color-AB5{background-color:#F7F8FE;} + .d2-466630064 .color-N1{color:#0A0F25;} + .d2-466630064 .color-N2{color:#676C7E;} + .d2-466630064 .color-N3{color:#9499AB;} + .d2-466630064 .color-N4{color:#CFD2DD;} + .d2-466630064 .color-N5{color:#DEE1EB;} + .d2-466630064 .color-N6{color:#EEF1F8;} + .d2-466630064 .color-N7{color:#FFFFFF;} + .d2-466630064 .color-B1{color:#0D32B2;} + .d2-466630064 .color-B2{color:#0D32B2;} + .d2-466630064 .color-B3{color:#E3E9FD;} + .d2-466630064 .color-B4{color:#E3E9FD;} + .d2-466630064 .color-B5{color:#EDF0FD;} + .d2-466630064 .color-B6{color:#F7F8FE;} + .d2-466630064 .color-AA2{color:#4A6FF3;} + .d2-466630064 .color-AA4{color:#EDF0FD;} + .d2-466630064 .color-AA5{color:#F7F8FE;} + .d2-466630064 .color-AB4{color:#EDF0FD;} + .d2-466630064 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]> aidintPKdiskintFKjsonjsonbUNQlast_updatedtimestamp with time zone b+field[]string+method(a uint64)(x, y int) c d + \ No newline at end of file diff --git a/e2etests/testdata/stable/ent2d2_basic/dagre/board.exp.json b/e2etests/testdata/stable/ent2d2_basic/dagre/board.exp.json index d0f85ab2f..24467c27a 100644 --- a/e2etests/testdata/stable/ent2d2_basic/dagre/board.exp.json +++ b/e2etests/testdata/stable/ent2d2_basic/dagre/board.exp.json @@ -7,10 +7,10 @@ "id": "User", "type": "sql_table", "pos": { - "x": 553, + "x": 519, "y": 0 }, - "width": 218, + "width": 201, "height": 144, "opacity": 1, "strokeDash": 0, @@ -144,7 +144,7 @@ "x": 0, "y": 283 }, - "width": 211, + "width": 194, "height": 108, "opacity": 1, "strokeDash": 0, @@ -245,10 +245,10 @@ "id": "Card", "type": "sql_table", "pos": { - "x": 271, + "x": 254, "y": 283 }, - "width": 211, + "width": 194, "height": 108, "opacity": 1, "strokeDash": 0, @@ -349,10 +349,10 @@ "id": "Post", "type": "sql_table", "pos": { - "x": 542, + "x": 508, "y": 265 }, - "width": 239, + "width": 222, "height": 144, "opacity": 1, "strokeDash": 0, @@ -481,10 +481,10 @@ "id": "Metadata", "type": "sql_table", "pos": { - "x": 841, + "x": 790, "y": 283 }, - "width": 163, + "width": 146, "height": 108, "opacity": 1, "strokeDash": 0, @@ -583,10 +583,10 @@ "id": "Info", "type": "sql_table", "pos": { - "x": 1064, + "x": 996, "y": 283 }, - "width": 325, + "width": 308, "height": 108, "opacity": 1, "strokeDash": 0, @@ -708,56 +708,56 @@ "labelPercentage": 0, "route": [ { - "x": 770.5, - "y": 22.433000564575195 + "x": 719.5, + "y": 23.70599937438965 }, { - "x": 809.9660034179688, - "y": 4.486000061035156 + "x": 758.9660034179688, + "y": 4.741000175476074 }, { - "x": 822.2999877929688, + "x": 771.2999877929688, "y": 0 }, { - "x": 826, + "x": 775, "y": 0 }, { - "x": 829.698974609375, + "x": 778.698974609375, "y": 0 }, { - "x": 834.6329956054688, + "x": 783.6329956054688, "y": 14.399999618530273 }, { - "x": 838.3330078125, + "x": 787.3330078125, "y": 36 }, { - "x": 842.0330200195312, + "x": 791.0330200195312, "y": 57.599998474121094 }, { - "x": 842.0330200195312, + "x": 791.0330200195312, "y": 86.4000015258789 }, { - "x": 838.3330078125, + "x": 787.3330078125, "y": 108 }, { - "x": 834.6329956054688, + "x": 783.6329956054688, "y": 129.60000610351562 }, { - "x": 809.9660034179688, - "y": 139.51300048828125 + "x": 758.9660034179688, + "y": 139.25799560546875 }, { - "x": 770.5, - "y": 121.56600189208984 + "x": 719.5, + "y": 120.29299926757812 } ], "isCurve": true, @@ -791,56 +791,56 @@ "labelPercentage": 0, "route": [ { - "x": 770.5, - "y": 41.42300033569336 + "x": 719.5, + "y": 42.84199905395508 }, { - "x": 888.6329956054688, - "y": 8.284000396728516 + "x": 837.6329956054688, + "y": 8.567999839782715 }, { - "x": 925.5499877929688, + "x": 874.5499877929688, "y": 0 }, { - "x": 936.625, + "x": 885.625, "y": 0 }, { - "x": 947.7000122070312, + "x": 896.7000122070312, "y": 0 }, { - "x": 962.4660034179688, + "x": 911.4660034179688, "y": 14.399999618530273 }, { - "x": 973.541015625, + "x": 922.541015625, "y": 36 }, { - "x": 984.6160278320312, + "x": 933.6160278320312, "y": 57.599998474121094 }, { - "x": 984.6160278320312, + "x": 933.6160278320312, "y": 86.4000015258789 }, { - "x": 973.541015625, + "x": 922.541015625, "y": 108 }, { - "x": 962.4660034179688, + "x": 911.4660034179688, "y": 129.60000610351562 }, { - "x": 888.6329956054688, - "y": 135.71499633789062 + "x": 837.6329956054688, + "y": 135.43099975585938 }, { - "x": 770.5, - "y": 102.57599639892578 + "x": 719.5, + "y": 101.15699768066406 } ], "isCurve": true, @@ -874,19 +874,19 @@ "labelPercentage": 0, "route": [ { - "x": 552.5, - "y": 97.9749984741211 + "x": 518.5, + "y": 97.51000213623047 }, { - "x": 194.8990020751953, - "y": 183.19500732421875 + "x": 181.2989959716797, + "y": 183.1020050048828 }, { - "x": 105.5, + "x": 97, "y": 220.3000030517578 }, { - "x": 105.5, + "x": 97, "y": 283.5 } ], @@ -921,19 +921,19 @@ "labelPercentage": 0, "route": [ { - "x": 552.5, - "y": 122.67500305175781 + "x": 518.5, + "y": 121.68699645996094 }, { - "x": 411.70001220703125, - "y": 188.13499450683594 + "x": 384.5, + "y": 187.93699645996094 }, { - "x": 376.5, + "x": 351, "y": 220.3000030517578 }, { - "x": 376.5, + "x": 351, "y": 283.5 } ], @@ -968,19 +968,19 @@ "labelPercentage": 0, "route": [ { - "x": 661.5, + "x": 619, "y": 144 }, { - "x": 661.5, + "x": 619, "y": 192.39999389648438 }, { - "x": 661.5, + "x": 619, "y": 216.6999969482422 }, { - "x": 661.5, + "x": 619, "y": 265.5 } ], @@ -1015,19 +1015,19 @@ "labelPercentage": 0, "route": [ { - "x": 771.5, - "y": 127.33499908447266 + "x": 720.5, + "y": 126.5739974975586 }, { - "x": 892.2999877929688, - "y": 189.06700134277344 + "x": 834.5, + "y": 188.91400146484375 }, { - "x": 922.5, + "x": 863, "y": 220.3000030517578 }, { - "x": 922.5, + "x": 863, "y": 283.5 } ], @@ -1062,19 +1062,19 @@ "labelPercentage": 0, "route": [ { - "x": 771.5, - "y": 97.56099700927734 + "x": 720.5, + "y": 97.0770034790039 }, { - "x": 1135.5, - "y": 183.11199951171875 + "x": 1064.0999755859375, + "y": 183.01499938964844 }, { - "x": 1226.5, + "x": 1150, "y": 220.3000030517578 }, { - "x": 1226.5, + "x": 1150, "y": 283.5 } ], diff --git a/e2etests/testdata/stable/ent2d2_basic/dagre/sketch.exp.svg b/e2etests/testdata/stable/ent2d2_basic/dagre/sketch.exp.svg index 1a1803f42..71b820c2b 100644 --- a/e2etests/testdata/stable/ent2d2_basic/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/ent2d2_basic/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -UseridintPKparent_idintFKspouse_idintFKPetidintPKowner_idintFKCardidintPKowner_idintFKPostidintPKtextstringauthor_idintFKMetadataidintPKageintInfoidintPKcontentjson.RawMessage spouse children/parent/ancestorpets/ownercard/ownerposts/authormetadata/userinfo/user - - - - - - - - + .d2-2324764429 .fill-N1{fill:#0A0F25;} + .d2-2324764429 .fill-N2{fill:#676C7E;} + .d2-2324764429 .fill-N3{fill:#9499AB;} + .d2-2324764429 .fill-N4{fill:#CFD2DD;} + .d2-2324764429 .fill-N5{fill:#DEE1EB;} + .d2-2324764429 .fill-N6{fill:#EEF1F8;} + .d2-2324764429 .fill-N7{fill:#FFFFFF;} + .d2-2324764429 .fill-B1{fill:#0D32B2;} + .d2-2324764429 .fill-B2{fill:#0D32B2;} + .d2-2324764429 .fill-B3{fill:#E3E9FD;} + .d2-2324764429 .fill-B4{fill:#E3E9FD;} + .d2-2324764429 .fill-B5{fill:#EDF0FD;} + .d2-2324764429 .fill-B6{fill:#F7F8FE;} + .d2-2324764429 .fill-AA2{fill:#4A6FF3;} + .d2-2324764429 .fill-AA4{fill:#EDF0FD;} + .d2-2324764429 .fill-AA5{fill:#F7F8FE;} + .d2-2324764429 .fill-AB4{fill:#EDF0FD;} + .d2-2324764429 .fill-AB5{fill:#F7F8FE;} + .d2-2324764429 .stroke-N1{stroke:#0A0F25;} + .d2-2324764429 .stroke-N2{stroke:#676C7E;} + .d2-2324764429 .stroke-N3{stroke:#9499AB;} + .d2-2324764429 .stroke-N4{stroke:#CFD2DD;} + .d2-2324764429 .stroke-N5{stroke:#DEE1EB;} + .d2-2324764429 .stroke-N6{stroke:#EEF1F8;} + .d2-2324764429 .stroke-N7{stroke:#FFFFFF;} + .d2-2324764429 .stroke-B1{stroke:#0D32B2;} + .d2-2324764429 .stroke-B2{stroke:#0D32B2;} + .d2-2324764429 .stroke-B3{stroke:#E3E9FD;} + .d2-2324764429 .stroke-B4{stroke:#E3E9FD;} + .d2-2324764429 .stroke-B5{stroke:#EDF0FD;} + .d2-2324764429 .stroke-B6{stroke:#F7F8FE;} + .d2-2324764429 .stroke-AA2{stroke:#4A6FF3;} + .d2-2324764429 .stroke-AA4{stroke:#EDF0FD;} + .d2-2324764429 .stroke-AA5{stroke:#F7F8FE;} + .d2-2324764429 .stroke-AB4{stroke:#EDF0FD;} + .d2-2324764429 .stroke-AB5{stroke:#F7F8FE;} + .d2-2324764429 .background-color-N1{background-color:#0A0F25;} + .d2-2324764429 .background-color-N2{background-color:#676C7E;} + .d2-2324764429 .background-color-N3{background-color:#9499AB;} + .d2-2324764429 .background-color-N4{background-color:#CFD2DD;} + .d2-2324764429 .background-color-N5{background-color:#DEE1EB;} + .d2-2324764429 .background-color-N6{background-color:#EEF1F8;} + .d2-2324764429 .background-color-N7{background-color:#FFFFFF;} + .d2-2324764429 .background-color-B1{background-color:#0D32B2;} + .d2-2324764429 .background-color-B2{background-color:#0D32B2;} + .d2-2324764429 .background-color-B3{background-color:#E3E9FD;} + .d2-2324764429 .background-color-B4{background-color:#E3E9FD;} + .d2-2324764429 .background-color-B5{background-color:#EDF0FD;} + .d2-2324764429 .background-color-B6{background-color:#F7F8FE;} + .d2-2324764429 .background-color-AA2{background-color:#4A6FF3;} + .d2-2324764429 .background-color-AA4{background-color:#EDF0FD;} + .d2-2324764429 .background-color-AA5{background-color:#F7F8FE;} + .d2-2324764429 .background-color-AB4{background-color:#EDF0FD;} + .d2-2324764429 .background-color-AB5{background-color:#F7F8FE;} + .d2-2324764429 .color-N1{color:#0A0F25;} + .d2-2324764429 .color-N2{color:#676C7E;} + .d2-2324764429 .color-N3{color:#9499AB;} + .d2-2324764429 .color-N4{color:#CFD2DD;} + .d2-2324764429 .color-N5{color:#DEE1EB;} + .d2-2324764429 .color-N6{color:#EEF1F8;} + .d2-2324764429 .color-N7{color:#FFFFFF;} + .d2-2324764429 .color-B1{color:#0D32B2;} + .d2-2324764429 .color-B2{color:#0D32B2;} + .d2-2324764429 .color-B3{color:#E3E9FD;} + .d2-2324764429 .color-B4{color:#E3E9FD;} + .d2-2324764429 .color-B5{color:#EDF0FD;} + .d2-2324764429 .color-B6{color:#F7F8FE;} + .d2-2324764429 .color-AA2{color:#4A6FF3;} + .d2-2324764429 .color-AA4{color:#EDF0FD;} + .d2-2324764429 .color-AA5{color:#F7F8FE;} + .d2-2324764429 .color-AB4{color:#EDF0FD;} + .d2-2324764429 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>UseridintPKparent_idintFKspouse_idintFKPetidintPKowner_idintFKCardidintPKowner_idintFKPostidintPKtextstringauthor_idintFKMetadataidintPKageintInfoidintPKcontentjson.RawMessage spouse children/parent/ancestorpets/ownercard/ownerposts/authormetadata/userinfo/user + + + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/ent2d2_basic/elk/board.exp.json b/e2etests/testdata/stable/ent2d2_basic/elk/board.exp.json index 71a37ae1e..9fd0bdcae 100644 --- a/e2etests/testdata/stable/ent2d2_basic/elk/board.exp.json +++ b/e2etests/testdata/stable/ent2d2_basic/elk/board.exp.json @@ -7,7 +7,7 @@ "id": "User", "type": "sql_table", "pos": { - "x": 453, + "x": 411, "y": 12 }, "width": 280, @@ -144,7 +144,7 @@ "x": 12, "y": 377 }, - "width": 211, + "width": 194, "height": 108, "opacity": 1, "strokeDash": 0, @@ -245,10 +245,10 @@ "id": "Card", "type": "sql_table", "pos": { - "x": 243, + "x": 226, "y": 377 }, - "width": 211, + "width": 194, "height": 108, "opacity": 1, "strokeDash": 0, @@ -349,10 +349,10 @@ "id": "Post", "type": "sql_table", "pos": { - "x": 474, + "x": 440, "y": 377 }, - "width": 239, + "width": 222, "height": 144, "opacity": 1, "strokeDash": 0, @@ -481,10 +481,10 @@ "id": "Metadata", "type": "sql_table", "pos": { - "x": 733, + "x": 682, "y": 377 }, - "width": 163, + "width": 146, "height": 108, "opacity": 1, "strokeDash": 0, @@ -583,10 +583,10 @@ "id": "Info", "type": "sql_table", "pos": { - "x": 916, + "x": 848, "y": 377 }, - "width": 325, + "width": 308, "height": 108, "opacity": 1, "strokeDash": 0, @@ -708,19 +708,19 @@ "labelPercentage": 0, "route": [ { - "x": 453.5, + "x": 411, "y": 60 }, { - "x": 365.5, + "x": 323, "y": 60 }, { - "x": 365.5, + "x": 323, "y": 108 }, { - "x": 453.5, + "x": 411, "y": 108 } ], @@ -754,19 +754,19 @@ "labelPercentage": 0, "route": [ { - "x": 733.5, + "x": 691, "y": 108 }, { - "x": 821.5, + "x": 779, "y": 108 }, { - "x": 821.5, + "x": 779, "y": 60 }, { - "x": 733.5, + "x": 691, "y": 60 } ], @@ -800,19 +800,19 @@ "labelPercentage": 0, "route": [ { - "x": 500.1659851074219, + "x": 457.6659851074219, "y": 156 }, { - "x": 500.1659851074219, + "x": 457.6659851074219, "y": 196 }, { - "x": 117.5, + "x": 109, "y": 196 }, { - "x": 117.5, + "x": 109, "y": 377 } ], @@ -846,19 +846,19 @@ "labelPercentage": 0, "route": [ { - "x": 546.8330078125, + "x": 504.3330078125, "y": 156 }, { - "x": 546.8330078125, + "x": 504.3330078125, "y": 246 }, { - "x": 348.5, + "x": 323, "y": 246 }, { - "x": 348.5, + "x": 323, "y": 377 } ], @@ -892,11 +892,11 @@ "labelPercentage": 0, "route": [ { - "x": 593.5, + "x": 551, "y": 156 }, { - "x": 593.5, + "x": 551, "y": 377 } ], @@ -930,19 +930,19 @@ "labelPercentage": 0, "route": [ { - "x": 640.166015625, + "x": 597.666015625, "y": 156 }, { - "x": 640.166015625, + "x": 597.666015625, "y": 246 }, { - "x": 814.5, + "x": 755, "y": 246 }, { - "x": 814.5, + "x": 755, "y": 377 } ], @@ -976,19 +976,19 @@ "labelPercentage": 0, "route": [ { - "x": 686.8330078125, + "x": 644.3330078125, "y": 156 }, { - "x": 686.8330078125, + "x": 644.3330078125, "y": 196 }, { - "x": 1078.5, + "x": 1002, "y": 196 }, { - "x": 1078.5, + "x": 1002, "y": 377 } ], diff --git a/e2etests/testdata/stable/ent2d2_basic/elk/sketch.exp.svg b/e2etests/testdata/stable/ent2d2_basic/elk/sketch.exp.svg index 0abb785da..78521542a 100644 --- a/e2etests/testdata/stable/ent2d2_basic/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/ent2d2_basic/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -UseridintPKparent_idintFKspouse_idintFKPetidintPKowner_idintFKCardidintPKowner_idintFKPostidintPKtextstringauthor_idintFKMetadataidintPKageintInfoidintPKcontentjson.RawMessage spouse children/parent/ancestorpets/ownercard/ownerposts/authormetadata/userinfo/user - - - - - - - - + .d2-251747913 .fill-N1{fill:#0A0F25;} + .d2-251747913 .fill-N2{fill:#676C7E;} + .d2-251747913 .fill-N3{fill:#9499AB;} + .d2-251747913 .fill-N4{fill:#CFD2DD;} + .d2-251747913 .fill-N5{fill:#DEE1EB;} + .d2-251747913 .fill-N6{fill:#EEF1F8;} + .d2-251747913 .fill-N7{fill:#FFFFFF;} + .d2-251747913 .fill-B1{fill:#0D32B2;} + .d2-251747913 .fill-B2{fill:#0D32B2;} + .d2-251747913 .fill-B3{fill:#E3E9FD;} + .d2-251747913 .fill-B4{fill:#E3E9FD;} + .d2-251747913 .fill-B5{fill:#EDF0FD;} + .d2-251747913 .fill-B6{fill:#F7F8FE;} + .d2-251747913 .fill-AA2{fill:#4A6FF3;} + .d2-251747913 .fill-AA4{fill:#EDF0FD;} + .d2-251747913 .fill-AA5{fill:#F7F8FE;} + .d2-251747913 .fill-AB4{fill:#EDF0FD;} + .d2-251747913 .fill-AB5{fill:#F7F8FE;} + .d2-251747913 .stroke-N1{stroke:#0A0F25;} + .d2-251747913 .stroke-N2{stroke:#676C7E;} + .d2-251747913 .stroke-N3{stroke:#9499AB;} + .d2-251747913 .stroke-N4{stroke:#CFD2DD;} + .d2-251747913 .stroke-N5{stroke:#DEE1EB;} + .d2-251747913 .stroke-N6{stroke:#EEF1F8;} + .d2-251747913 .stroke-N7{stroke:#FFFFFF;} + .d2-251747913 .stroke-B1{stroke:#0D32B2;} + .d2-251747913 .stroke-B2{stroke:#0D32B2;} + .d2-251747913 .stroke-B3{stroke:#E3E9FD;} + .d2-251747913 .stroke-B4{stroke:#E3E9FD;} + .d2-251747913 .stroke-B5{stroke:#EDF0FD;} + .d2-251747913 .stroke-B6{stroke:#F7F8FE;} + .d2-251747913 .stroke-AA2{stroke:#4A6FF3;} + .d2-251747913 .stroke-AA4{stroke:#EDF0FD;} + .d2-251747913 .stroke-AA5{stroke:#F7F8FE;} + .d2-251747913 .stroke-AB4{stroke:#EDF0FD;} + .d2-251747913 .stroke-AB5{stroke:#F7F8FE;} + .d2-251747913 .background-color-N1{background-color:#0A0F25;} + .d2-251747913 .background-color-N2{background-color:#676C7E;} + .d2-251747913 .background-color-N3{background-color:#9499AB;} + .d2-251747913 .background-color-N4{background-color:#CFD2DD;} + .d2-251747913 .background-color-N5{background-color:#DEE1EB;} + .d2-251747913 .background-color-N6{background-color:#EEF1F8;} + .d2-251747913 .background-color-N7{background-color:#FFFFFF;} + .d2-251747913 .background-color-B1{background-color:#0D32B2;} + .d2-251747913 .background-color-B2{background-color:#0D32B2;} + .d2-251747913 .background-color-B3{background-color:#E3E9FD;} + .d2-251747913 .background-color-B4{background-color:#E3E9FD;} + .d2-251747913 .background-color-B5{background-color:#EDF0FD;} + .d2-251747913 .background-color-B6{background-color:#F7F8FE;} + .d2-251747913 .background-color-AA2{background-color:#4A6FF3;} + .d2-251747913 .background-color-AA4{background-color:#EDF0FD;} + .d2-251747913 .background-color-AA5{background-color:#F7F8FE;} + .d2-251747913 .background-color-AB4{background-color:#EDF0FD;} + .d2-251747913 .background-color-AB5{background-color:#F7F8FE;} + .d2-251747913 .color-N1{color:#0A0F25;} + .d2-251747913 .color-N2{color:#676C7E;} + .d2-251747913 .color-N3{color:#9499AB;} + .d2-251747913 .color-N4{color:#CFD2DD;} + .d2-251747913 .color-N5{color:#DEE1EB;} + .d2-251747913 .color-N6{color:#EEF1F8;} + .d2-251747913 .color-N7{color:#FFFFFF;} + .d2-251747913 .color-B1{color:#0D32B2;} + .d2-251747913 .color-B2{color:#0D32B2;} + .d2-251747913 .color-B3{color:#E3E9FD;} + .d2-251747913 .color-B4{color:#E3E9FD;} + .d2-251747913 .color-B5{color:#EDF0FD;} + .d2-251747913 .color-B6{color:#F7F8FE;} + .d2-251747913 .color-AA2{color:#4A6FF3;} + .d2-251747913 .color-AA4{color:#EDF0FD;} + .d2-251747913 .color-AA5{color:#F7F8FE;} + .d2-251747913 .color-AB4{color:#EDF0FD;} + .d2-251747913 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>UseridintPKparent_idintFKspouse_idintFKPetidintPKowner_idintFKCardidintPKowner_idintFKPostidintPKtextstringauthor_idintFKMetadataidintPKageintInfoidintPKcontentjson.RawMessage spouse children/parent/ancestorpets/ownercard/ownerposts/authormetadata/userinfo/user + + + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/ent2d2_right/dagre/board.exp.json b/e2etests/testdata/stable/ent2d2_right/dagre/board.exp.json index 120d47a63..298ceb0cf 100644 --- a/e2etests/testdata/stable/ent2d2_right/dagre/board.exp.json +++ b/e2etests/testdata/stable/ent2d2_right/dagre/board.exp.json @@ -10,7 +10,7 @@ "x": 0, "y": 231 }, - "width": 218, + "width": 201, "height": 144, "opacity": 1, "strokeDash": 0, @@ -141,10 +141,10 @@ "id": "Pet", "type": "sql_table", "pos": { - "x": 517, + "x": 500, "y": 0 }, - "width": 211, + "width": 194, "height": 108, "opacity": 1, "strokeDash": 0, @@ -245,10 +245,10 @@ "id": "Card", "type": "sql_table", "pos": { - "x": 517, + "x": 500, "y": 146 }, - "width": 211, + "width": 194, "height": 108, "opacity": 1, "strokeDash": 0, @@ -349,10 +349,10 @@ "id": "Post", "type": "sql_table", "pos": { - "x": 503, + "x": 486, "y": 274 }, - "width": 239, + "width": 222, "height": 144, "opacity": 1, "strokeDash": 0, @@ -481,10 +481,10 @@ "id": "Metadata", "type": "sql_table", "pos": { - "x": 541, + "x": 524, "y": 438 }, - "width": 163, + "width": 146, "height": 108, "opacity": 1, "strokeDash": 0, @@ -583,10 +583,10 @@ "id": "Info", "type": "sql_table", "pos": { - "x": 460, + "x": 443, "y": 584 }, - "width": 325, + "width": 308, "height": 108, "opacity": 1, "strokeDash": 0, @@ -708,11 +708,11 @@ "labelPercentage": 0, "route": [ { - "x": 52.67399978637695, + "x": 48.566001892089844, "y": 374.5 }, { - "x": 10.534000396728516, + "x": 9.713000297546387, "y": 428.3659973144531 }, { @@ -728,35 +728,35 @@ "y": 455.29998779296875 }, { - "x": 21.799999237060547, + "x": 20.100000381469727, "y": 462.0329895019531 }, { - "x": 54.5, + "x": 50.25, "y": 467.0830078125 }, { - "x": 87.19999694824219, + "x": 80.4000015258789, "y": 472.13299560546875 }, { - "x": 130.8000030517578, + "x": 120.5999984741211, "y": 472.13299560546875 }, { - "x": 163.5, + "x": 150.75, "y": 467.0830078125 }, { - "x": 196.1999969482422, + "x": 180.89999389648438, "y": 462.0329895019531 }, { - "x": 207.46499633789062, + "x": 191.28599548339844, "y": 428.3659973144531 }, { - "x": 165.3249969482422, + "x": 152.43299865722656, "y": 374.5 } ], @@ -791,11 +791,11 @@ "labelPercentage": 0, "route": [ { - "x": 80.63300323486328, + "x": 74.34500122070312, "y": 374.5 }, { - "x": 16.125999450683594, + "x": 14.869000434875488, "y": 538.2329711914062 }, { @@ -811,35 +811,35 @@ "y": 620.0999755859375 }, { - "x": 21.799999237060547, + "x": 20.100000381469727, "y": 640.5659790039062 }, { - "x": 54.5, + "x": 50.25, "y": 655.916015625 }, { - "x": 87.19999694824219, + "x": 80.4000015258789, "y": 671.2659912109375 }, { - "x": 130.8000030517578, + "x": 120.5999984741211, "y": 671.2659912109375 }, { - "x": 163.5, + "x": 150.75, "y": 655.916015625 }, { - "x": 196.1999969482422, + "x": 180.89999389648438, "y": 640.5659790039062 }, { - "x": 201.8730010986328, + "x": 186.1300048828125, "y": 538.2329711914062 }, { - "x": 137.36599731445312, + "x": 126.65399932861328, "y": 374.5 } ], @@ -874,19 +874,19 @@ "labelPercentage": 0, "route": [ { - "x": 175.63900756835938, + "x": 164.677001953125, "y": 230.5 }, { - "x": 306.3269958496094, + "x": 290.5350036621094, "y": 89.29900360107422 }, { - "x": 374.6000061035156, + "x": 357.6000061035156, "y": 54 }, { - "x": 517, + "x": 500, "y": 54 } ], @@ -921,19 +921,19 @@ "labelPercentage": 0, "route": [ { - "x": 218, - "y": 253.92300415039062 + "x": 201, + "y": 255.9929962158203 }, { - "x": 314.79998779296875, - "y": 210.78399658203125 + "x": 297.79998779296875, + "y": 211.197998046875 }, { - "x": 374.6000061035156, + "x": 357.6000061035156, "y": 200 }, { - "x": 517, + "x": 500, "y": 200 } ], @@ -968,19 +968,19 @@ "labelPercentage": 0, "route": [ { - "x": 218, - "y": 323.114990234375 + "x": 201, + "y": 322.23699951171875 }, { - "x": 314.79998779296875, - "y": 341.4230041503906 + "x": 297.79998779296875, + "y": 341.24700927734375 }, { - "x": 371.79998779296875, + "x": 354.79998779296875, "y": 346 }, { - "x": 503, + "x": 486, "y": 346 } ], @@ -1015,19 +1015,19 @@ "labelPercentage": 0, "route": [ { - "x": 197.38699340820312, + "x": 185.6580047607422, "y": 375.5 }, { - "x": 310.677001953125, + "x": 294.7309875488281, "y": 468.70001220703125 }, { - "x": 379.3999938964844, + "x": 362.3999938964844, "y": 492 }, { - "x": 541, + "x": 524, "y": 492 } ], @@ -1062,19 +1062,19 @@ "labelPercentage": 0, "route": [ { - "x": 158.35899353027344, + "x": 148.03500366210938, "y": 375.5 }, { - "x": 302.8710021972656, + "x": 287.2070007324219, "y": 585.5 }, { - "x": 363.20001220703125, + "x": 346.20001220703125, "y": 638 }, { - "x": 460, + "x": 443, "y": 638 } ], diff --git a/e2etests/testdata/stable/ent2d2_right/dagre/sketch.exp.svg b/e2etests/testdata/stable/ent2d2_right/dagre/sketch.exp.svg index 584add315..d182ca98a 100644 --- a/e2etests/testdata/stable/ent2d2_right/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/ent2d2_right/dagre/sketch.exp.svg @@ -1,16 +1,16 @@ -UseridintPKparent_idintFKspouse_idintFKPetidintPKowner_idintFKCardidintPKowner_idintFKPostidintPKtextstringauthor_idintFKMetadataidintPKageintInfoidintPKcontentjson.RawMessage spousespouse childrenparentyowhoaheypets/ownercard/ownerposts/authormetadata/userinfo/user - - - - - - - - + .d2-1563072179 .fill-N1{fill:#0A0F25;} + .d2-1563072179 .fill-N2{fill:#676C7E;} + .d2-1563072179 .fill-N3{fill:#9499AB;} + .d2-1563072179 .fill-N4{fill:#CFD2DD;} + .d2-1563072179 .fill-N5{fill:#DEE1EB;} + .d2-1563072179 .fill-N6{fill:#EEF1F8;} + .d2-1563072179 .fill-N7{fill:#FFFFFF;} + .d2-1563072179 .fill-B1{fill:#0D32B2;} + .d2-1563072179 .fill-B2{fill:#0D32B2;} + .d2-1563072179 .fill-B3{fill:#E3E9FD;} + .d2-1563072179 .fill-B4{fill:#E3E9FD;} + .d2-1563072179 .fill-B5{fill:#EDF0FD;} + .d2-1563072179 .fill-B6{fill:#F7F8FE;} + .d2-1563072179 .fill-AA2{fill:#4A6FF3;} + .d2-1563072179 .fill-AA4{fill:#EDF0FD;} + .d2-1563072179 .fill-AA5{fill:#F7F8FE;} + .d2-1563072179 .fill-AB4{fill:#EDF0FD;} + .d2-1563072179 .fill-AB5{fill:#F7F8FE;} + .d2-1563072179 .stroke-N1{stroke:#0A0F25;} + .d2-1563072179 .stroke-N2{stroke:#676C7E;} + .d2-1563072179 .stroke-N3{stroke:#9499AB;} + .d2-1563072179 .stroke-N4{stroke:#CFD2DD;} + .d2-1563072179 .stroke-N5{stroke:#DEE1EB;} + .d2-1563072179 .stroke-N6{stroke:#EEF1F8;} + .d2-1563072179 .stroke-N7{stroke:#FFFFFF;} + .d2-1563072179 .stroke-B1{stroke:#0D32B2;} + .d2-1563072179 .stroke-B2{stroke:#0D32B2;} + .d2-1563072179 .stroke-B3{stroke:#E3E9FD;} + .d2-1563072179 .stroke-B4{stroke:#E3E9FD;} + .d2-1563072179 .stroke-B5{stroke:#EDF0FD;} + .d2-1563072179 .stroke-B6{stroke:#F7F8FE;} + .d2-1563072179 .stroke-AA2{stroke:#4A6FF3;} + .d2-1563072179 .stroke-AA4{stroke:#EDF0FD;} + .d2-1563072179 .stroke-AA5{stroke:#F7F8FE;} + .d2-1563072179 .stroke-AB4{stroke:#EDF0FD;} + .d2-1563072179 .stroke-AB5{stroke:#F7F8FE;} + .d2-1563072179 .background-color-N1{background-color:#0A0F25;} + .d2-1563072179 .background-color-N2{background-color:#676C7E;} + .d2-1563072179 .background-color-N3{background-color:#9499AB;} + .d2-1563072179 .background-color-N4{background-color:#CFD2DD;} + .d2-1563072179 .background-color-N5{background-color:#DEE1EB;} + .d2-1563072179 .background-color-N6{background-color:#EEF1F8;} + .d2-1563072179 .background-color-N7{background-color:#FFFFFF;} + .d2-1563072179 .background-color-B1{background-color:#0D32B2;} + .d2-1563072179 .background-color-B2{background-color:#0D32B2;} + .d2-1563072179 .background-color-B3{background-color:#E3E9FD;} + .d2-1563072179 .background-color-B4{background-color:#E3E9FD;} + .d2-1563072179 .background-color-B5{background-color:#EDF0FD;} + .d2-1563072179 .background-color-B6{background-color:#F7F8FE;} + .d2-1563072179 .background-color-AA2{background-color:#4A6FF3;} + .d2-1563072179 .background-color-AA4{background-color:#EDF0FD;} + .d2-1563072179 .background-color-AA5{background-color:#F7F8FE;} + .d2-1563072179 .background-color-AB4{background-color:#EDF0FD;} + .d2-1563072179 .background-color-AB5{background-color:#F7F8FE;} + .d2-1563072179 .color-N1{color:#0A0F25;} + .d2-1563072179 .color-N2{color:#676C7E;} + .d2-1563072179 .color-N3{color:#9499AB;} + .d2-1563072179 .color-N4{color:#CFD2DD;} + .d2-1563072179 .color-N5{color:#DEE1EB;} + .d2-1563072179 .color-N6{color:#EEF1F8;} + .d2-1563072179 .color-N7{color:#FFFFFF;} + .d2-1563072179 .color-B1{color:#0D32B2;} + .d2-1563072179 .color-B2{color:#0D32B2;} + .d2-1563072179 .color-B3{color:#E3E9FD;} + .d2-1563072179 .color-B4{color:#E3E9FD;} + .d2-1563072179 .color-B5{color:#EDF0FD;} + .d2-1563072179 .color-B6{color:#F7F8FE;} + .d2-1563072179 .color-AA2{color:#4A6FF3;} + .d2-1563072179 .color-AA4{color:#EDF0FD;} + .d2-1563072179 .color-AA5{color:#F7F8FE;} + .d2-1563072179 .color-AB4{color:#EDF0FD;} + .d2-1563072179 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>UseridintPKparent_idintFKspouse_idintFKPetidintPKowner_idintFKCardidintPKowner_idintFKPostidintPKtextstringauthor_idintFKMetadataidintPKageintInfoidintPKcontentjson.RawMessage spousespouse childrenparentyowhoaheypets/ownercard/ownerposts/authormetadata/userinfo/user + + + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/ent2d2_right/elk/board.exp.json b/e2etests/testdata/stable/ent2d2_right/elk/board.exp.json index aea57d64d..31085175a 100644 --- a/e2etests/testdata/stable/ent2d2_right/elk/board.exp.json +++ b/e2etests/testdata/stable/ent2d2_right/elk/board.exp.json @@ -10,7 +10,7 @@ "x": 12, "y": 200 }, - "width": 218, + "width": 201, "height": 280, "opacity": 1, "strokeDash": 0, @@ -141,10 +141,10 @@ "id": "Pet", "type": "sql_table", "pos": { - "x": 531, + "x": 514, "y": 12 }, - "width": 211, + "width": 194, "height": 108, "opacity": 1, "strokeDash": 0, @@ -245,10 +245,10 @@ "id": "Card", "type": "sql_table", "pos": { - "x": 531, + "x": 514, "y": 140 }, - "width": 211, + "width": 194, "height": 108, "opacity": 1, "strokeDash": 0, @@ -349,10 +349,10 @@ "id": "Post", "type": "sql_table", "pos": { - "x": 531, + "x": 514, "y": 268 }, - "width": 239, + "width": 222, "height": 144, "opacity": 1, "strokeDash": 0, @@ -481,10 +481,10 @@ "id": "Metadata", "type": "sql_table", "pos": { - "x": 531, + "x": 514, "y": 432 }, - "width": 163, + "width": 146, "height": 108, "opacity": 1, "strokeDash": 0, @@ -583,10 +583,10 @@ "id": "Info", "type": "sql_table", "pos": { - "x": 531, + "x": 514, "y": 560 }, - "width": 325, + "width": 308, "height": 108, "opacity": 1, "strokeDash": 0, @@ -708,19 +708,19 @@ "labelPercentage": 0, "route": [ { - "x": 84.66600036621094, + "x": 79, "y": 200 }, { - "x": 84.66600036621094, + "x": 79, "y": 150 }, { - "x": 157.33299255371094, + "x": 146, "y": 150 }, { - "x": 157.33299255371094, + "x": 146, "y": 200 } ], @@ -754,19 +754,19 @@ "labelPercentage": 0, "route": [ { - "x": 157.33299255371094, + "x": 146, "y": 480 }, { - "x": 157.33299255371094, + "x": 146, "y": 530 }, { - "x": 84.66600036621094, + "x": 79, "y": 530 }, { - "x": 84.66600036621094, + "x": 79, "y": 480 } ], @@ -800,19 +800,19 @@ "labelPercentage": 0, "route": [ { - "x": 230, + "x": 213, "y": 246.66600036621094 }, { - "x": 270, + "x": 253, "y": 246.66600036621094 }, { - "x": 270, + "x": 253, "y": 66 }, { - "x": 531, + "x": 514, "y": 66 } ], @@ -846,19 +846,19 @@ "labelPercentage": 0, "route": [ { - "x": 230, + "x": 213, "y": 293.3330078125 }, { - "x": 320, + "x": 303, "y": 293.3330078125 }, { - "x": 320, + "x": 303, "y": 194 }, { - "x": 531, + "x": 514, "y": 194 } ], @@ -892,11 +892,11 @@ "labelPercentage": 0, "route": [ { - "x": 230, + "x": 213, "y": 340 }, { - "x": 531, + "x": 514, "y": 340 } ], @@ -930,19 +930,19 @@ "labelPercentage": 0, "route": [ { - "x": 230, + "x": 213, "y": 386.6659851074219 }, { - "x": 320, + "x": 303, "y": 386.6659851074219 }, { - "x": 320, + "x": 303, "y": 486 }, { - "x": 531, + "x": 514, "y": 486 } ], @@ -976,19 +976,19 @@ "labelPercentage": 0, "route": [ { - "x": 230, + "x": 213, "y": 433.3330078125 }, { - "x": 270, + "x": 253, "y": 433.3330078125 }, { - "x": 270, + "x": 253, "y": 614 }, { - "x": 531, + "x": 514, "y": 614 } ], diff --git a/e2etests/testdata/stable/ent2d2_right/elk/sketch.exp.svg b/e2etests/testdata/stable/ent2d2_right/elk/sketch.exp.svg index c4891ae55..81af2dbf5 100644 --- a/e2etests/testdata/stable/ent2d2_right/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/ent2d2_right/elk/sketch.exp.svg @@ -1,16 +1,16 @@ -UseridintPKparent_idintFKspouse_idintFKPetidintPKowner_idintFKCardidintPKowner_idintFKPostidintPKtextstringauthor_idintFKMetadataidintPKageintInfoidintPKcontentjson.RawMessage spousespouse childrenparentyowhoaheypets/ownercard/ownerposts/authormetadata/userinfo/user - - - - - - - - + .d2-3400051897 .fill-N1{fill:#0A0F25;} + .d2-3400051897 .fill-N2{fill:#676C7E;} + .d2-3400051897 .fill-N3{fill:#9499AB;} + .d2-3400051897 .fill-N4{fill:#CFD2DD;} + .d2-3400051897 .fill-N5{fill:#DEE1EB;} + .d2-3400051897 .fill-N6{fill:#EEF1F8;} + .d2-3400051897 .fill-N7{fill:#FFFFFF;} + .d2-3400051897 .fill-B1{fill:#0D32B2;} + .d2-3400051897 .fill-B2{fill:#0D32B2;} + .d2-3400051897 .fill-B3{fill:#E3E9FD;} + .d2-3400051897 .fill-B4{fill:#E3E9FD;} + .d2-3400051897 .fill-B5{fill:#EDF0FD;} + .d2-3400051897 .fill-B6{fill:#F7F8FE;} + .d2-3400051897 .fill-AA2{fill:#4A6FF3;} + .d2-3400051897 .fill-AA4{fill:#EDF0FD;} + .d2-3400051897 .fill-AA5{fill:#F7F8FE;} + .d2-3400051897 .fill-AB4{fill:#EDF0FD;} + .d2-3400051897 .fill-AB5{fill:#F7F8FE;} + .d2-3400051897 .stroke-N1{stroke:#0A0F25;} + .d2-3400051897 .stroke-N2{stroke:#676C7E;} + .d2-3400051897 .stroke-N3{stroke:#9499AB;} + .d2-3400051897 .stroke-N4{stroke:#CFD2DD;} + .d2-3400051897 .stroke-N5{stroke:#DEE1EB;} + .d2-3400051897 .stroke-N6{stroke:#EEF1F8;} + .d2-3400051897 .stroke-N7{stroke:#FFFFFF;} + .d2-3400051897 .stroke-B1{stroke:#0D32B2;} + .d2-3400051897 .stroke-B2{stroke:#0D32B2;} + .d2-3400051897 .stroke-B3{stroke:#E3E9FD;} + .d2-3400051897 .stroke-B4{stroke:#E3E9FD;} + .d2-3400051897 .stroke-B5{stroke:#EDF0FD;} + .d2-3400051897 .stroke-B6{stroke:#F7F8FE;} + .d2-3400051897 .stroke-AA2{stroke:#4A6FF3;} + .d2-3400051897 .stroke-AA4{stroke:#EDF0FD;} + .d2-3400051897 .stroke-AA5{stroke:#F7F8FE;} + .d2-3400051897 .stroke-AB4{stroke:#EDF0FD;} + .d2-3400051897 .stroke-AB5{stroke:#F7F8FE;} + .d2-3400051897 .background-color-N1{background-color:#0A0F25;} + .d2-3400051897 .background-color-N2{background-color:#676C7E;} + .d2-3400051897 .background-color-N3{background-color:#9499AB;} + .d2-3400051897 .background-color-N4{background-color:#CFD2DD;} + .d2-3400051897 .background-color-N5{background-color:#DEE1EB;} + .d2-3400051897 .background-color-N6{background-color:#EEF1F8;} + .d2-3400051897 .background-color-N7{background-color:#FFFFFF;} + .d2-3400051897 .background-color-B1{background-color:#0D32B2;} + .d2-3400051897 .background-color-B2{background-color:#0D32B2;} + .d2-3400051897 .background-color-B3{background-color:#E3E9FD;} + .d2-3400051897 .background-color-B4{background-color:#E3E9FD;} + .d2-3400051897 .background-color-B5{background-color:#EDF0FD;} + .d2-3400051897 .background-color-B6{background-color:#F7F8FE;} + .d2-3400051897 .background-color-AA2{background-color:#4A6FF3;} + .d2-3400051897 .background-color-AA4{background-color:#EDF0FD;} + .d2-3400051897 .background-color-AA5{background-color:#F7F8FE;} + .d2-3400051897 .background-color-AB4{background-color:#EDF0FD;} + .d2-3400051897 .background-color-AB5{background-color:#F7F8FE;} + .d2-3400051897 .color-N1{color:#0A0F25;} + .d2-3400051897 .color-N2{color:#676C7E;} + .d2-3400051897 .color-N3{color:#9499AB;} + .d2-3400051897 .color-N4{color:#CFD2DD;} + .d2-3400051897 .color-N5{color:#DEE1EB;} + .d2-3400051897 .color-N6{color:#EEF1F8;} + .d2-3400051897 .color-N7{color:#FFFFFF;} + .d2-3400051897 .color-B1{color:#0D32B2;} + .d2-3400051897 .color-B2{color:#0D32B2;} + .d2-3400051897 .color-B3{color:#E3E9FD;} + .d2-3400051897 .color-B4{color:#E3E9FD;} + .d2-3400051897 .color-B5{color:#EDF0FD;} + .d2-3400051897 .color-B6{color:#F7F8FE;} + .d2-3400051897 .color-AA2{color:#4A6FF3;} + .d2-3400051897 .color-AA4{color:#EDF0FD;} + .d2-3400051897 .color-AA5{color:#F7F8FE;} + .d2-3400051897 .color-AB4{color:#EDF0FD;} + .d2-3400051897 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>UseridintPKparent_idintFKspouse_idintFKPetidintPKowner_idintFKCardidintPKowner_idintFKPostidintPKtextstringauthor_idintFKMetadataidintPKageintInfoidintPKcontentjson.RawMessage spousespouse childrenparentyowhoaheypets/ownercard/ownerposts/authormetadata/userinfo/user + + + + + + + + \ No newline at end of file diff --git a/e2etests/testdata/stable/sequence_diagram_all_shapes/dagre/sketch.exp.svg b/e2etests/testdata/stable/sequence_diagram_all_shapes/dagre/sketch.exp.svg index a3edaee99..cbe4669c2 100644 --- a/e2etests/testdata/stable/sequence_diagram_all_shapes/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/sequence_diagram_all_shapes/dagre/sketch.exp.svg @@ -114,7 +114,7 @@ b := a + 7 fmt.Printf("%d", b)a := 5 b := a + 7 -fmt.Printf("%d", b)cyldiadocssix cornersa random iconoverpackdocs pagetoohard o saysinglepersona queuea squarea step at a timedatausersidintnamevarchar result := callThisFunction(obj, 5) midthis sideother side +fmt.Printf("%d", b)cyldiadocssix cornersa random iconoverpackdocs pagetoohard o saysinglepersona queuea squarea step at a timedatausersidintnamevarchar result := callThisFunction(obj, 5) midthis sideother side diff --git a/e2etests/testdata/stable/sequence_diagram_all_shapes/elk/sketch.exp.svg b/e2etests/testdata/stable/sequence_diagram_all_shapes/elk/sketch.exp.svg index a3edaee99..cbe4669c2 100644 --- a/e2etests/testdata/stable/sequence_diagram_all_shapes/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/sequence_diagram_all_shapes/elk/sketch.exp.svg @@ -114,7 +114,7 @@ b := a + 7 fmt.Printf("%d", b)a := 5 b := a + 7 -fmt.Printf("%d", b)cyldiadocssix cornersa random iconoverpackdocs pagetoohard o saysinglepersona queuea squarea step at a timedatausersidintnamevarchar result := callThisFunction(obj, 5) midthis sideother side +fmt.Printf("%d", b)cyldiadocssix cornersa random iconoverpackdocs pagetoohard o saysinglepersona queuea squarea step at a timedatausersidintnamevarchar result := callThisFunction(obj, 5) midthis sideother side diff --git a/e2etests/testdata/stable/sql_table_column_styles/dagre/sketch.exp.svg b/e2etests/testdata/stable/sql_table_column_styles/dagre/sketch.exp.svg index 99efadac6..567e6c4ff 100644 --- a/e2etests/testdata/stable/sql_table_column_styles/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/sql_table_column_styles/dagre/sketch.exp.svg @@ -96,7 +96,7 @@ .d2-4052321575 .color-AA4{color:#EDF0FD;} .d2-4052321575 .color-AA5{color:#F7F8FE;} .d2-4052321575 .color-AB4{color:#EDF0FD;} - .d2-4052321575 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>Humor in the CourtCould you see him from where you were standing?I could see his head.And where was his head?Just above his shoulders.Humor in the Court2Could you see him from where you were standing?I could see his head.And where was his head?Just above his shoulders.BatchManager-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)voidBatchManager-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)void + .d2-4052321575 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>Humor in the CourtCould you see him from where you were standing?I could see his head.And where was his head?Just above his shoulders.Humor in the Court2Could you see him from where you were standing?I could see his head.And where was his head?Just above his shoulders.BatchManager-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)voidBatchManager-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)void \ No newline at end of file diff --git a/e2etests/testdata/stable/sql_table_column_styles/elk/sketch.exp.svg b/e2etests/testdata/stable/sql_table_column_styles/elk/sketch.exp.svg index bfc92d078..40ba626b5 100644 --- a/e2etests/testdata/stable/sql_table_column_styles/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/sql_table_column_styles/elk/sketch.exp.svg @@ -96,7 +96,7 @@ .d2-2628520825 .color-AA4{color:#EDF0FD;} .d2-2628520825 .color-AA5{color:#F7F8FE;} .d2-2628520825 .color-AB4{color:#EDF0FD;} - .d2-2628520825 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>Humor in the CourtCould you see him from where you were standing?I could see his head.And where was his head?Just above his shoulders.Humor in the Court2Could you see him from where you were standing?I could see his head.And where was his head?Just above his shoulders.BatchManager-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)voidBatchManager-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)void + .d2-2628520825 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>Humor in the CourtCould you see him from where you were standing?I could see his head.And where was his head?Just above his shoulders.Humor in the Court2Could you see him from where you were standing?I could see his head.And where was his head?Just above his shoulders.BatchManager-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)voidBatchManager-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)void \ No newline at end of file diff --git a/e2etests/testdata/stable/sql_table_constraints_width/dagre/board.exp.json b/e2etests/testdata/stable/sql_table_constraints_width/dagre/board.exp.json index 07f1bd9f4..b407c93a4 100644 --- a/e2etests/testdata/stable/sql_table_constraints_width/dagre/board.exp.json +++ b/e2etests/testdata/stable/sql_table_constraints_width/dagre/board.exp.json @@ -8,9 +8,9 @@ "type": "sql_table", "pos": { "x": 0, - "y": 0 + "y": 36 }, - "width": 148, + "width": 146, "height": 72, "opacity": 1, "strokeDash": 0, @@ -81,10 +81,10 @@ "id": "b", "type": "sql_table", "pos": { - "x": 208, - "y": 0 + "x": 206, + "y": 36 }, - "width": 188, + "width": 161, "height": 72, "opacity": 1, "strokeDash": 0, @@ -156,10 +156,10 @@ "id": "c", "type": "sql_table", "pos": { - "x": 456, - "y": 0 + "x": 427, + "y": 36 }, - "width": 188, + "width": 177, "height": 72, "opacity": 1, "strokeDash": 0, @@ -231,10 +231,10 @@ "id": "d", "type": "sql_table", "pos": { - "x": 704, - "y": 0 + "x": 664, + "y": 36 }, - "width": 228, + "width": 209, "height": 72, "opacity": 1, "strokeDash": 0, @@ -302,6 +302,212 @@ "primaryAccentColor": "B2", "secondaryAccentColor": "AA2", "neutralAccentColor": "N2" + }, + { + "id": "e", + "type": "sql_table", + "pos": { + "x": 933, + "y": 0 + }, + "width": 312, + "height": 144, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "N1", + "stroke": "N7", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": [ + { + "name": { + "label": "x", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 9, + "labelHeight": 26 + }, + "type": { + "label": "INT", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 29, + "labelHeight": 26 + }, + "constraint": [ + "no_abbrev", + "foreign_key", + "hello" + ], + "reference": "" + }, + { + "name": { + "label": "y", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 10, + "labelHeight": 26 + }, + "type": { + "label": "string", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 48, + "labelHeight": 26 + }, + "constraint": null, + "reference": "" + }, + { + "name": { + "label": "z", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 8, + "labelHeight": 26 + }, + "type": { + "label": "STRING", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 62, + "labelHeight": 26 + }, + "constraint": [ + "yo" + ], + "reference": "" + } + ], + "label": "e", + "fontSize": 20, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 12, + "labelHeight": 31, + "zIndex": 0, + "level": 1, + "primaryAccentColor": "B2", + "secondaryAccentColor": "AA2", + "neutralAccentColor": "N2" + }, + { + "id": "f", + "type": "sql_table", + "pos": { + "x": 1305, + "y": 36 + }, + "width": 88, + "height": 72, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "N1", + "stroke": "N7", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": [ + { + "name": { + "label": "x", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 9, + "labelHeight": 26 + }, + "type": { + "label": "INT", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 29, + "labelHeight": 26 + }, + "constraint": null, + "reference": "" + } + ], + "label": "f", + "fontSize": 20, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 9, + "labelHeight": 31, + "zIndex": 0, + "level": 1, + "primaryAccentColor": "B2", + "secondaryAccentColor": "AA2", + "neutralAccentColor": "N2" } ], "connections": [], diff --git a/e2etests/testdata/stable/sql_table_constraints_width/dagre/sketch.exp.svg b/e2etests/testdata/stable/sql_table_constraints_width/dagre/sketch.exp.svg index 8c24e4b53..b7f668c83 100644 --- a/e2etests/testdata/stable/sql_table_constraints_width/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/sql_table_constraints_width/dagre/sketch.exp.svg @@ -1,10 +1,10 @@ -axINTUNQbxINTPK, FKcxINTFK, UNQdxINTPK, FK, UNQ - + .d2-920723958 .fill-N1{fill:#0A0F25;} + .d2-920723958 .fill-N2{fill:#676C7E;} + .d2-920723958 .fill-N3{fill:#9499AB;} + .d2-920723958 .fill-N4{fill:#CFD2DD;} + .d2-920723958 .fill-N5{fill:#DEE1EB;} + .d2-920723958 .fill-N6{fill:#EEF1F8;} + .d2-920723958 .fill-N7{fill:#FFFFFF;} + .d2-920723958 .fill-B1{fill:#0D32B2;} + .d2-920723958 .fill-B2{fill:#0D32B2;} + .d2-920723958 .fill-B3{fill:#E3E9FD;} + .d2-920723958 .fill-B4{fill:#E3E9FD;} + .d2-920723958 .fill-B5{fill:#EDF0FD;} + .d2-920723958 .fill-B6{fill:#F7F8FE;} + .d2-920723958 .fill-AA2{fill:#4A6FF3;} + .d2-920723958 .fill-AA4{fill:#EDF0FD;} + .d2-920723958 .fill-AA5{fill:#F7F8FE;} + .d2-920723958 .fill-AB4{fill:#EDF0FD;} + .d2-920723958 .fill-AB5{fill:#F7F8FE;} + .d2-920723958 .stroke-N1{stroke:#0A0F25;} + .d2-920723958 .stroke-N2{stroke:#676C7E;} + .d2-920723958 .stroke-N3{stroke:#9499AB;} + .d2-920723958 .stroke-N4{stroke:#CFD2DD;} + .d2-920723958 .stroke-N5{stroke:#DEE1EB;} + .d2-920723958 .stroke-N6{stroke:#EEF1F8;} + .d2-920723958 .stroke-N7{stroke:#FFFFFF;} + .d2-920723958 .stroke-B1{stroke:#0D32B2;} + .d2-920723958 .stroke-B2{stroke:#0D32B2;} + .d2-920723958 .stroke-B3{stroke:#E3E9FD;} + .d2-920723958 .stroke-B4{stroke:#E3E9FD;} + .d2-920723958 .stroke-B5{stroke:#EDF0FD;} + .d2-920723958 .stroke-B6{stroke:#F7F8FE;} + .d2-920723958 .stroke-AA2{stroke:#4A6FF3;} + .d2-920723958 .stroke-AA4{stroke:#EDF0FD;} + .d2-920723958 .stroke-AA5{stroke:#F7F8FE;} + .d2-920723958 .stroke-AB4{stroke:#EDF0FD;} + .d2-920723958 .stroke-AB5{stroke:#F7F8FE;} + .d2-920723958 .background-color-N1{background-color:#0A0F25;} + .d2-920723958 .background-color-N2{background-color:#676C7E;} + .d2-920723958 .background-color-N3{background-color:#9499AB;} + .d2-920723958 .background-color-N4{background-color:#CFD2DD;} + .d2-920723958 .background-color-N5{background-color:#DEE1EB;} + .d2-920723958 .background-color-N6{background-color:#EEF1F8;} + .d2-920723958 .background-color-N7{background-color:#FFFFFF;} + .d2-920723958 .background-color-B1{background-color:#0D32B2;} + .d2-920723958 .background-color-B2{background-color:#0D32B2;} + .d2-920723958 .background-color-B3{background-color:#E3E9FD;} + .d2-920723958 .background-color-B4{background-color:#E3E9FD;} + .d2-920723958 .background-color-B5{background-color:#EDF0FD;} + .d2-920723958 .background-color-B6{background-color:#F7F8FE;} + .d2-920723958 .background-color-AA2{background-color:#4A6FF3;} + .d2-920723958 .background-color-AA4{background-color:#EDF0FD;} + .d2-920723958 .background-color-AA5{background-color:#F7F8FE;} + .d2-920723958 .background-color-AB4{background-color:#EDF0FD;} + .d2-920723958 .background-color-AB5{background-color:#F7F8FE;} + .d2-920723958 .color-N1{color:#0A0F25;} + .d2-920723958 .color-N2{color:#676C7E;} + .d2-920723958 .color-N3{color:#9499AB;} + .d2-920723958 .color-N4{color:#CFD2DD;} + .d2-920723958 .color-N5{color:#DEE1EB;} + .d2-920723958 .color-N6{color:#EEF1F8;} + .d2-920723958 .color-N7{color:#FFFFFF;} + .d2-920723958 .color-B1{color:#0D32B2;} + .d2-920723958 .color-B2{color:#0D32B2;} + .d2-920723958 .color-B3{color:#E3E9FD;} + .d2-920723958 .color-B4{color:#E3E9FD;} + .d2-920723958 .color-B5{color:#EDF0FD;} + .d2-920723958 .color-B6{color:#F7F8FE;} + .d2-920723958 .color-AA2{color:#4A6FF3;} + .d2-920723958 .color-AA4{color:#EDF0FD;} + .d2-920723958 .color-AA5{color:#F7F8FE;} + .d2-920723958 .color-AB4{color:#EDF0FD;} + .d2-920723958 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>axINTUNQbxINTPK, FKcxINTFK, UNQdxINTPK, FK, UNQexINTno_abbrev, FK, helloystringzSTRINGyofxINT + \ No newline at end of file diff --git a/e2etests/testdata/stable/sql_table_constraints_width/elk/board.exp.json b/e2etests/testdata/stable/sql_table_constraints_width/elk/board.exp.json index e30fede94..5717ef2fb 100644 --- a/e2etests/testdata/stable/sql_table_constraints_width/elk/board.exp.json +++ b/e2etests/testdata/stable/sql_table_constraints_width/elk/board.exp.json @@ -8,9 +8,9 @@ "type": "sql_table", "pos": { "x": 12, - "y": 12 + "y": 48 }, - "width": 148, + "width": 146, "height": 72, "opacity": 1, "strokeDash": 0, @@ -81,10 +81,10 @@ "id": "b", "type": "sql_table", "pos": { - "x": 180, - "y": 12 + "x": 178, + "y": 48 }, - "width": 188, + "width": 161, "height": 72, "opacity": 1, "strokeDash": 0, @@ -156,10 +156,10 @@ "id": "c", "type": "sql_table", "pos": { - "x": 388, - "y": 12 + "x": 359, + "y": 48 }, - "width": 188, + "width": 177, "height": 72, "opacity": 1, "strokeDash": 0, @@ -231,10 +231,10 @@ "id": "d", "type": "sql_table", "pos": { - "x": 596, - "y": 12 + "x": 556, + "y": 48 }, - "width": 228, + "width": 209, "height": 72, "opacity": 1, "strokeDash": 0, @@ -302,6 +302,212 @@ "primaryAccentColor": "B2", "secondaryAccentColor": "AA2", "neutralAccentColor": "N2" + }, + { + "id": "e", + "type": "sql_table", + "pos": { + "x": 785, + "y": 12 + }, + "width": 312, + "height": 144, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "N1", + "stroke": "N7", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": [ + { + "name": { + "label": "x", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 9, + "labelHeight": 26 + }, + "type": { + "label": "INT", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 29, + "labelHeight": 26 + }, + "constraint": [ + "no_abbrev", + "foreign_key", + "hello" + ], + "reference": "" + }, + { + "name": { + "label": "y", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 10, + "labelHeight": 26 + }, + "type": { + "label": "string", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 48, + "labelHeight": 26 + }, + "constraint": null, + "reference": "" + }, + { + "name": { + "label": "z", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 8, + "labelHeight": 26 + }, + "type": { + "label": "STRING", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 62, + "labelHeight": 26 + }, + "constraint": [ + "yo" + ], + "reference": "" + } + ], + "label": "e", + "fontSize": 20, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 12, + "labelHeight": 31, + "zIndex": 0, + "level": 1, + "primaryAccentColor": "B2", + "secondaryAccentColor": "AA2", + "neutralAccentColor": "N2" + }, + { + "id": "f", + "type": "sql_table", + "pos": { + "x": 1117, + "y": 48 + }, + "width": 88, + "height": 72, + "opacity": 1, + "strokeDash": 0, + "strokeWidth": 2, + "borderRadius": 0, + "fill": "N1", + "stroke": "N7", + "shadow": false, + "3d": false, + "multiple": false, + "double-border": false, + "tooltip": "", + "link": "", + "icon": null, + "iconPosition": "", + "blend": false, + "fields": null, + "methods": null, + "columns": [ + { + "name": { + "label": "x", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 9, + "labelHeight": 26 + }, + "type": { + "label": "INT", + "fontSize": 0, + "fontFamily": "", + "language": "", + "color": "", + "italic": false, + "bold": false, + "underline": false, + "labelWidth": 29, + "labelHeight": 26 + }, + "constraint": null, + "reference": "" + } + ], + "label": "f", + "fontSize": 20, + "fontFamily": "DEFAULT", + "language": "", + "color": "N1", + "italic": false, + "bold": true, + "underline": false, + "labelWidth": 9, + "labelHeight": 31, + "zIndex": 0, + "level": 1, + "primaryAccentColor": "B2", + "secondaryAccentColor": "AA2", + "neutralAccentColor": "N2" } ], "connections": [], diff --git a/e2etests/testdata/stable/sql_table_constraints_width/elk/sketch.exp.svg b/e2etests/testdata/stable/sql_table_constraints_width/elk/sketch.exp.svg index 37fd18125..6928b2ad5 100644 --- a/e2etests/testdata/stable/sql_table_constraints_width/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/sql_table_constraints_width/elk/sketch.exp.svg @@ -1,10 +1,10 @@ -axINTUNQbxINTPK, FKcxINTFK, UNQdxINTPK, FK, UNQ - + .d2-1097315437 .fill-N1{fill:#0A0F25;} + .d2-1097315437 .fill-N2{fill:#676C7E;} + .d2-1097315437 .fill-N3{fill:#9499AB;} + .d2-1097315437 .fill-N4{fill:#CFD2DD;} + .d2-1097315437 .fill-N5{fill:#DEE1EB;} + .d2-1097315437 .fill-N6{fill:#EEF1F8;} + .d2-1097315437 .fill-N7{fill:#FFFFFF;} + .d2-1097315437 .fill-B1{fill:#0D32B2;} + .d2-1097315437 .fill-B2{fill:#0D32B2;} + .d2-1097315437 .fill-B3{fill:#E3E9FD;} + .d2-1097315437 .fill-B4{fill:#E3E9FD;} + .d2-1097315437 .fill-B5{fill:#EDF0FD;} + .d2-1097315437 .fill-B6{fill:#F7F8FE;} + .d2-1097315437 .fill-AA2{fill:#4A6FF3;} + .d2-1097315437 .fill-AA4{fill:#EDF0FD;} + .d2-1097315437 .fill-AA5{fill:#F7F8FE;} + .d2-1097315437 .fill-AB4{fill:#EDF0FD;} + .d2-1097315437 .fill-AB5{fill:#F7F8FE;} + .d2-1097315437 .stroke-N1{stroke:#0A0F25;} + .d2-1097315437 .stroke-N2{stroke:#676C7E;} + .d2-1097315437 .stroke-N3{stroke:#9499AB;} + .d2-1097315437 .stroke-N4{stroke:#CFD2DD;} + .d2-1097315437 .stroke-N5{stroke:#DEE1EB;} + .d2-1097315437 .stroke-N6{stroke:#EEF1F8;} + .d2-1097315437 .stroke-N7{stroke:#FFFFFF;} + .d2-1097315437 .stroke-B1{stroke:#0D32B2;} + .d2-1097315437 .stroke-B2{stroke:#0D32B2;} + .d2-1097315437 .stroke-B3{stroke:#E3E9FD;} + .d2-1097315437 .stroke-B4{stroke:#E3E9FD;} + .d2-1097315437 .stroke-B5{stroke:#EDF0FD;} + .d2-1097315437 .stroke-B6{stroke:#F7F8FE;} + .d2-1097315437 .stroke-AA2{stroke:#4A6FF3;} + .d2-1097315437 .stroke-AA4{stroke:#EDF0FD;} + .d2-1097315437 .stroke-AA5{stroke:#F7F8FE;} + .d2-1097315437 .stroke-AB4{stroke:#EDF0FD;} + .d2-1097315437 .stroke-AB5{stroke:#F7F8FE;} + .d2-1097315437 .background-color-N1{background-color:#0A0F25;} + .d2-1097315437 .background-color-N2{background-color:#676C7E;} + .d2-1097315437 .background-color-N3{background-color:#9499AB;} + .d2-1097315437 .background-color-N4{background-color:#CFD2DD;} + .d2-1097315437 .background-color-N5{background-color:#DEE1EB;} + .d2-1097315437 .background-color-N6{background-color:#EEF1F8;} + .d2-1097315437 .background-color-N7{background-color:#FFFFFF;} + .d2-1097315437 .background-color-B1{background-color:#0D32B2;} + .d2-1097315437 .background-color-B2{background-color:#0D32B2;} + .d2-1097315437 .background-color-B3{background-color:#E3E9FD;} + .d2-1097315437 .background-color-B4{background-color:#E3E9FD;} + .d2-1097315437 .background-color-B5{background-color:#EDF0FD;} + .d2-1097315437 .background-color-B6{background-color:#F7F8FE;} + .d2-1097315437 .background-color-AA2{background-color:#4A6FF3;} + .d2-1097315437 .background-color-AA4{background-color:#EDF0FD;} + .d2-1097315437 .background-color-AA5{background-color:#F7F8FE;} + .d2-1097315437 .background-color-AB4{background-color:#EDF0FD;} + .d2-1097315437 .background-color-AB5{background-color:#F7F8FE;} + .d2-1097315437 .color-N1{color:#0A0F25;} + .d2-1097315437 .color-N2{color:#676C7E;} + .d2-1097315437 .color-N3{color:#9499AB;} + .d2-1097315437 .color-N4{color:#CFD2DD;} + .d2-1097315437 .color-N5{color:#DEE1EB;} + .d2-1097315437 .color-N6{color:#EEF1F8;} + .d2-1097315437 .color-N7{color:#FFFFFF;} + .d2-1097315437 .color-B1{color:#0D32B2;} + .d2-1097315437 .color-B2{color:#0D32B2;} + .d2-1097315437 .color-B3{color:#E3E9FD;} + .d2-1097315437 .color-B4{color:#E3E9FD;} + .d2-1097315437 .color-B5{color:#EDF0FD;} + .d2-1097315437 .color-B6{color:#F7F8FE;} + .d2-1097315437 .color-AA2{color:#4A6FF3;} + .d2-1097315437 .color-AA4{color:#EDF0FD;} + .d2-1097315437 .color-AA5{color:#F7F8FE;} + .d2-1097315437 .color-AB4{color:#EDF0FD;} + .d2-1097315437 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>axINTUNQbxINTPK, FKcxINTFK, UNQdxINTPK, FK, UNQexINTno_abbrev, FK, helloystringzSTRINGyofxINT + \ No newline at end of file diff --git a/e2etests/testdata/stable/sql_table_tooltip_animated/dagre/sketch.exp.svg b/e2etests/testdata/stable/sql_table_tooltip_animated/dagre/sketch.exp.svg index 5a22d0c87..beb7da117 100644 --- a/e2etests/testdata/stable/sql_table_tooltip_animated/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/sql_table_tooltip_animated/dagre/sketch.exp.svg @@ -98,7 +98,7 @@ .d2-3227093269 .color-AA4{color:#EDF0FD;} .d2-3227093269 .color-AA5{color:#F7F8FE;} .d2-3227093269 .color-AB4{color:#EDF0FD;} - .d2-3227093269 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>xy + .d2-3227093269 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>xy @@ -111,7 +111,7 @@ -I like turtlesab +I like turtlesab \ No newline at end of file diff --git a/e2etests/testdata/stable/sql_table_tooltip_animated/elk/sketch.exp.svg b/e2etests/testdata/stable/sql_table_tooltip_animated/elk/sketch.exp.svg index f4289ad69..743c80c1c 100644 --- a/e2etests/testdata/stable/sql_table_tooltip_animated/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/sql_table_tooltip_animated/elk/sketch.exp.svg @@ -98,7 +98,7 @@ .d2-514706804 .color-AA4{color:#EDF0FD;} .d2-514706804 .color-AA5{color:#F7F8FE;} .d2-514706804 .color-AB4{color:#EDF0FD;} - .d2-514706804 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>xy + .d2-514706804 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>xy @@ -111,7 +111,7 @@ -I like turtlesab +I like turtlesab \ No newline at end of file diff --git a/e2etests/testdata/stable/sql_tables/dagre/board.exp.json b/e2etests/testdata/stable/sql_tables/dagre/board.exp.json index a108d914d..c400a4c67 100644 --- a/e2etests/testdata/stable/sql_tables/dagre/board.exp.json +++ b/e2etests/testdata/stable/sql_tables/dagre/board.exp.json @@ -10,7 +10,7 @@ "x": 0, "y": 0 }, - "width": 268, + "width": 251, "height": 216, "opacity": 1, "strokeDash": 0, @@ -193,7 +193,7 @@ "id": "products", "type": "sql_table", "pos": { - "x": 328, + "x": 311, "y": 18 }, "width": 164, @@ -349,7 +349,7 @@ "id": "orders", "type": "sql_table", "pos": { - "x": 328, + "x": 311, "y": 316 }, "width": 164, @@ -477,7 +477,7 @@ "id": "shipments", "type": "sql_table", "pos": { - "x": 552, + "x": 535, "y": 18 }, "width": 244, @@ -656,20 +656,20 @@ "labelPercentage": 0, "route": [ { - "x": 134, + "x": 125.5, "y": 216 }, { - "x": 134, + "x": 125.5, "y": 256 }, { - "x": 172.8000030517578, - "y": 283.20001220703125 + "x": 162.6999969482422, + "y": 283 }, { - "x": 328, - "y": 352 + "x": 311.5, + "y": 351 } ], "isCurve": true, @@ -703,19 +703,19 @@ "labelPercentage": 0, "route": [ { - "x": 410, + "x": 393, "y": 198 }, { - "x": 410, + "x": 393, "y": 252.39999389648438 }, { - "x": 410, + "x": 393, "y": 276 }, { - "x": 410, + "x": 393, "y": 316 } ], @@ -750,19 +750,19 @@ "labelPercentage": 0, "route": [ { - "x": 674, + "x": 657, "y": 198 }, { - "x": 674, + "x": 657, "y": 252.39999389648438 }, { - "x": 637.5999755859375, + "x": 620.5999755859375, "y": 282.79998779296875 }, { - "x": 492, + "x": 475, "y": 350 } ], diff --git a/e2etests/testdata/stable/sql_tables/dagre/sketch.exp.svg b/e2etests/testdata/stable/sql_tables/dagre/sketch.exp.svg index babe59c83..695ba85a1 100644 --- a/e2etests/testdata/stable/sql_tables/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/sql_tables/dagre/sketch.exp.svg @@ -1,9 +1,9 @@ -usersidintnamestringemailstringpasswordstringlast_logindatetimePKproductsidintpricedecimalskustringnamestringordersidintuser_idintproduct_idintshipmentsidintorder_idinttracking_numberstringstatusstring - + .d2-995024594 .fill-N1{fill:#0A0F25;} + .d2-995024594 .fill-N2{fill:#676C7E;} + .d2-995024594 .fill-N3{fill:#9499AB;} + .d2-995024594 .fill-N4{fill:#CFD2DD;} + .d2-995024594 .fill-N5{fill:#DEE1EB;} + .d2-995024594 .fill-N6{fill:#EEF1F8;} + .d2-995024594 .fill-N7{fill:#FFFFFF;} + .d2-995024594 .fill-B1{fill:#0D32B2;} + .d2-995024594 .fill-B2{fill:#0D32B2;} + .d2-995024594 .fill-B3{fill:#E3E9FD;} + .d2-995024594 .fill-B4{fill:#E3E9FD;} + .d2-995024594 .fill-B5{fill:#EDF0FD;} + .d2-995024594 .fill-B6{fill:#F7F8FE;} + .d2-995024594 .fill-AA2{fill:#4A6FF3;} + .d2-995024594 .fill-AA4{fill:#EDF0FD;} + .d2-995024594 .fill-AA5{fill:#F7F8FE;} + .d2-995024594 .fill-AB4{fill:#EDF0FD;} + .d2-995024594 .fill-AB5{fill:#F7F8FE;} + .d2-995024594 .stroke-N1{stroke:#0A0F25;} + .d2-995024594 .stroke-N2{stroke:#676C7E;} + .d2-995024594 .stroke-N3{stroke:#9499AB;} + .d2-995024594 .stroke-N4{stroke:#CFD2DD;} + .d2-995024594 .stroke-N5{stroke:#DEE1EB;} + .d2-995024594 .stroke-N6{stroke:#EEF1F8;} + .d2-995024594 .stroke-N7{stroke:#FFFFFF;} + .d2-995024594 .stroke-B1{stroke:#0D32B2;} + .d2-995024594 .stroke-B2{stroke:#0D32B2;} + .d2-995024594 .stroke-B3{stroke:#E3E9FD;} + .d2-995024594 .stroke-B4{stroke:#E3E9FD;} + .d2-995024594 .stroke-B5{stroke:#EDF0FD;} + .d2-995024594 .stroke-B6{stroke:#F7F8FE;} + .d2-995024594 .stroke-AA2{stroke:#4A6FF3;} + .d2-995024594 .stroke-AA4{stroke:#EDF0FD;} + .d2-995024594 .stroke-AA5{stroke:#F7F8FE;} + .d2-995024594 .stroke-AB4{stroke:#EDF0FD;} + .d2-995024594 .stroke-AB5{stroke:#F7F8FE;} + .d2-995024594 .background-color-N1{background-color:#0A0F25;} + .d2-995024594 .background-color-N2{background-color:#676C7E;} + .d2-995024594 .background-color-N3{background-color:#9499AB;} + .d2-995024594 .background-color-N4{background-color:#CFD2DD;} + .d2-995024594 .background-color-N5{background-color:#DEE1EB;} + .d2-995024594 .background-color-N6{background-color:#EEF1F8;} + .d2-995024594 .background-color-N7{background-color:#FFFFFF;} + .d2-995024594 .background-color-B1{background-color:#0D32B2;} + .d2-995024594 .background-color-B2{background-color:#0D32B2;} + .d2-995024594 .background-color-B3{background-color:#E3E9FD;} + .d2-995024594 .background-color-B4{background-color:#E3E9FD;} + .d2-995024594 .background-color-B5{background-color:#EDF0FD;} + .d2-995024594 .background-color-B6{background-color:#F7F8FE;} + .d2-995024594 .background-color-AA2{background-color:#4A6FF3;} + .d2-995024594 .background-color-AA4{background-color:#EDF0FD;} + .d2-995024594 .background-color-AA5{background-color:#F7F8FE;} + .d2-995024594 .background-color-AB4{background-color:#EDF0FD;} + .d2-995024594 .background-color-AB5{background-color:#F7F8FE;} + .d2-995024594 .color-N1{color:#0A0F25;} + .d2-995024594 .color-N2{color:#676C7E;} + .d2-995024594 .color-N3{color:#9499AB;} + .d2-995024594 .color-N4{color:#CFD2DD;} + .d2-995024594 .color-N5{color:#DEE1EB;} + .d2-995024594 .color-N6{color:#EEF1F8;} + .d2-995024594 .color-N7{color:#FFFFFF;} + .d2-995024594 .color-B1{color:#0D32B2;} + .d2-995024594 .color-B2{color:#0D32B2;} + .d2-995024594 .color-B3{color:#E3E9FD;} + .d2-995024594 .color-B4{color:#E3E9FD;} + .d2-995024594 .color-B5{color:#EDF0FD;} + .d2-995024594 .color-B6{color:#F7F8FE;} + .d2-995024594 .color-AA2{color:#4A6FF3;} + .d2-995024594 .color-AA4{color:#EDF0FD;} + .d2-995024594 .color-AA5{color:#F7F8FE;} + .d2-995024594 .color-AB4{color:#EDF0FD;} + .d2-995024594 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>usersidintnamestringemailstringpasswordstringlast_logindatetimePKproductsidintpricedecimalskustringnamestringordersidintuser_idintproduct_idintshipmentsidintorder_idinttracking_numberstringstatusstring + \ No newline at end of file diff --git a/e2etests/testdata/stable/sql_tables/elk/board.exp.json b/e2etests/testdata/stable/sql_tables/elk/board.exp.json index 2915e1b47..fece8e814 100644 --- a/e2etests/testdata/stable/sql_tables/elk/board.exp.json +++ b/e2etests/testdata/stable/sql_tables/elk/board.exp.json @@ -10,7 +10,7 @@ "x": 12, "y": 12 }, - "width": 268, + "width": 251, "height": 216, "opacity": 1, "strokeDash": 0, @@ -193,7 +193,7 @@ "id": "products", "type": "sql_table", "pos": { - "x": 300, + "x": 283, "y": 48 }, "width": 164, @@ -349,7 +349,7 @@ "id": "orders", "type": "sql_table", "pos": { - "x": 300, + "x": 283, "y": 308 }, "width": 164, @@ -477,7 +477,7 @@ "id": "shipments", "type": "sql_table", "pos": { - "x": 484, + "x": 467, "y": 48 }, "width": 244, @@ -656,19 +656,19 @@ "labelPercentage": 0, "route": [ { - "x": 146, + "x": 137.5, "y": 228 }, { - "x": 146, + "x": 137.5, "y": 268 }, { - "x": 341, + "x": 324, "y": 268 }, { - "x": 341, + "x": 324, "y": 308 } ], @@ -702,11 +702,11 @@ "labelPercentage": 0, "route": [ { - "x": 382, + "x": 365, "y": 228 }, { - "x": 382, + "x": 365, "y": 308 } ], @@ -740,19 +740,19 @@ "labelPercentage": 0, "route": [ { - "x": 606, + "x": 589, "y": 228 }, { - "x": 606, + "x": 589, "y": 268 }, { - "x": 423, + "x": 406, "y": 268 }, { - "x": 423, + "x": 406, "y": 308 } ], diff --git a/e2etests/testdata/stable/sql_tables/elk/sketch.exp.svg b/e2etests/testdata/stable/sql_tables/elk/sketch.exp.svg index dd4fa46e0..d5d04df18 100644 --- a/e2etests/testdata/stable/sql_tables/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/sql_tables/elk/sketch.exp.svg @@ -1,9 +1,9 @@ -usersidintnamestringemailstringpasswordstringlast_logindatetimePKproductsidintpricedecimalskustringnamestringordersidintuser_idintproduct_idintshipmentsidintorder_idinttracking_numberstringstatusstring - + .d2-2093233888 .fill-N1{fill:#0A0F25;} + .d2-2093233888 .fill-N2{fill:#676C7E;} + .d2-2093233888 .fill-N3{fill:#9499AB;} + .d2-2093233888 .fill-N4{fill:#CFD2DD;} + .d2-2093233888 .fill-N5{fill:#DEE1EB;} + .d2-2093233888 .fill-N6{fill:#EEF1F8;} + .d2-2093233888 .fill-N7{fill:#FFFFFF;} + .d2-2093233888 .fill-B1{fill:#0D32B2;} + .d2-2093233888 .fill-B2{fill:#0D32B2;} + .d2-2093233888 .fill-B3{fill:#E3E9FD;} + .d2-2093233888 .fill-B4{fill:#E3E9FD;} + .d2-2093233888 .fill-B5{fill:#EDF0FD;} + .d2-2093233888 .fill-B6{fill:#F7F8FE;} + .d2-2093233888 .fill-AA2{fill:#4A6FF3;} + .d2-2093233888 .fill-AA4{fill:#EDF0FD;} + .d2-2093233888 .fill-AA5{fill:#F7F8FE;} + .d2-2093233888 .fill-AB4{fill:#EDF0FD;} + .d2-2093233888 .fill-AB5{fill:#F7F8FE;} + .d2-2093233888 .stroke-N1{stroke:#0A0F25;} + .d2-2093233888 .stroke-N2{stroke:#676C7E;} + .d2-2093233888 .stroke-N3{stroke:#9499AB;} + .d2-2093233888 .stroke-N4{stroke:#CFD2DD;} + .d2-2093233888 .stroke-N5{stroke:#DEE1EB;} + .d2-2093233888 .stroke-N6{stroke:#EEF1F8;} + .d2-2093233888 .stroke-N7{stroke:#FFFFFF;} + .d2-2093233888 .stroke-B1{stroke:#0D32B2;} + .d2-2093233888 .stroke-B2{stroke:#0D32B2;} + .d2-2093233888 .stroke-B3{stroke:#E3E9FD;} + .d2-2093233888 .stroke-B4{stroke:#E3E9FD;} + .d2-2093233888 .stroke-B5{stroke:#EDF0FD;} + .d2-2093233888 .stroke-B6{stroke:#F7F8FE;} + .d2-2093233888 .stroke-AA2{stroke:#4A6FF3;} + .d2-2093233888 .stroke-AA4{stroke:#EDF0FD;} + .d2-2093233888 .stroke-AA5{stroke:#F7F8FE;} + .d2-2093233888 .stroke-AB4{stroke:#EDF0FD;} + .d2-2093233888 .stroke-AB5{stroke:#F7F8FE;} + .d2-2093233888 .background-color-N1{background-color:#0A0F25;} + .d2-2093233888 .background-color-N2{background-color:#676C7E;} + .d2-2093233888 .background-color-N3{background-color:#9499AB;} + .d2-2093233888 .background-color-N4{background-color:#CFD2DD;} + .d2-2093233888 .background-color-N5{background-color:#DEE1EB;} + .d2-2093233888 .background-color-N6{background-color:#EEF1F8;} + .d2-2093233888 .background-color-N7{background-color:#FFFFFF;} + .d2-2093233888 .background-color-B1{background-color:#0D32B2;} + .d2-2093233888 .background-color-B2{background-color:#0D32B2;} + .d2-2093233888 .background-color-B3{background-color:#E3E9FD;} + .d2-2093233888 .background-color-B4{background-color:#E3E9FD;} + .d2-2093233888 .background-color-B5{background-color:#EDF0FD;} + .d2-2093233888 .background-color-B6{background-color:#F7F8FE;} + .d2-2093233888 .background-color-AA2{background-color:#4A6FF3;} + .d2-2093233888 .background-color-AA4{background-color:#EDF0FD;} + .d2-2093233888 .background-color-AA5{background-color:#F7F8FE;} + .d2-2093233888 .background-color-AB4{background-color:#EDF0FD;} + .d2-2093233888 .background-color-AB5{background-color:#F7F8FE;} + .d2-2093233888 .color-N1{color:#0A0F25;} + .d2-2093233888 .color-N2{color:#676C7E;} + .d2-2093233888 .color-N3{color:#9499AB;} + .d2-2093233888 .color-N4{color:#CFD2DD;} + .d2-2093233888 .color-N5{color:#DEE1EB;} + .d2-2093233888 .color-N6{color:#EEF1F8;} + .d2-2093233888 .color-N7{color:#FFFFFF;} + .d2-2093233888 .color-B1{color:#0D32B2;} + .d2-2093233888 .color-B2{color:#0D32B2;} + .d2-2093233888 .color-B3{color:#E3E9FD;} + .d2-2093233888 .color-B4{color:#E3E9FD;} + .d2-2093233888 .color-B5{color:#EDF0FD;} + .d2-2093233888 .color-B6{color:#F7F8FE;} + .d2-2093233888 .color-AA2{color:#4A6FF3;} + .d2-2093233888 .color-AA4{color:#EDF0FD;} + .d2-2093233888 .color-AA5{color:#F7F8FE;} + .d2-2093233888 .color-AB4{color:#EDF0FD;} + .d2-2093233888 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>usersidintnamestringemailstringpasswordstringlast_logindatetimePKproductsidintpricedecimalskustringnamestringordersidintuser_idintproduct_idintshipmentsidintorder_idinttracking_numberstringstatusstring + \ No newline at end of file diff --git a/e2etests/testdata/stable/unnamed_only_height/dagre/sketch.exp.svg b/e2etests/testdata/stable/unnamed_only_height/dagre/sketch.exp.svg index d52cc2e54..28769aa2b 100644 --- a/e2etests/testdata/stable/unnamed_only_height/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/unnamed_only_height/dagre/sketch.exp.svg @@ -103,7 +103,7 @@ .d2-1407267750 .color-AA4{color:#EDF0FD;} .d2-1407267750 .color-AA5{color:#F7F8FE;} .d2-1407267750 .color-AB4{color:#EDF0FD;} - .d2-1407267750 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)voididintnamestringemailstringpasswordstringlast_logindatetimea := 5 + .d2-1407267750 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)voididintnamestringemailstringpasswordstringlast_logindatetimea := 5 b := a + 7 fmt.Printf("%d", b)a := 5 b := a + 7 diff --git a/e2etests/testdata/stable/unnamed_only_height/elk/sketch.exp.svg b/e2etests/testdata/stable/unnamed_only_height/elk/sketch.exp.svg index 61a62b814..411d4cf91 100644 --- a/e2etests/testdata/stable/unnamed_only_height/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/unnamed_only_height/elk/sketch.exp.svg @@ -103,7 +103,7 @@ .d2-161332075 .color-AA4{color:#EDF0FD;} .d2-161332075 .color-AA5{color:#F7F8FE;} .d2-161332075 .color-AB4{color:#EDF0FD;} - .d2-161332075 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)voididintnamestringemailstringpasswordstringlast_logindatetimea := 5 + .d2-161332075 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)voididintnamestringemailstringpasswordstringlast_logindatetimea := 5 b := a + 7 fmt.Printf("%d", b)a := 5 b := a + 7 diff --git a/e2etests/testdata/stable/unnamed_only_width/dagre/sketch.exp.svg b/e2etests/testdata/stable/unnamed_only_width/dagre/sketch.exp.svg index bb8598391..214e1d697 100644 --- a/e2etests/testdata/stable/unnamed_only_width/dagre/sketch.exp.svg +++ b/e2etests/testdata/stable/unnamed_only_width/dagre/sketch.exp.svg @@ -103,7 +103,7 @@ .d2-2995629861 .color-AA4{color:#EDF0FD;} .d2-2995629861 .color-AA5{color:#F7F8FE;} .d2-2995629861 .color-AB4{color:#EDF0FD;} - .d2-2995629861 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)voididintnamestringemailstringpasswordstringlast_logindatetimea := 5 + .d2-2995629861 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)voididintnamestringemailstringpasswordstringlast_logindatetimea := 5 b := a + 7 fmt.Printf("%d", b)a := 5 b := a + 7 diff --git a/e2etests/testdata/stable/unnamed_only_width/elk/sketch.exp.svg b/e2etests/testdata/stable/unnamed_only_width/elk/sketch.exp.svg index 38691fb59..e595adfb4 100644 --- a/e2etests/testdata/stable/unnamed_only_width/elk/sketch.exp.svg +++ b/e2etests/testdata/stable/unnamed_only_width/elk/sketch.exp.svg @@ -103,7 +103,7 @@ .d2-2813224635 .color-AA4{color:#EDF0FD;} .d2-2813224635 .color-AA5{color:#F7F8FE;} .d2-2813224635 .color-AB4{color:#EDF0FD;} - .d2-2813224635 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)voididintnamestringemailstringpasswordstringlast_logindatetimea := 5 + .d2-2813224635 .color-AB5{color:#F7F8FE;}.appendix text.text{fill:#0A0F25}.md{--color-fg-default:#0A0F25;--color-fg-muted:#676C7E;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#0D32B2;--color-border-muted:#0D32B2;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0D32B2;--color-accent-emphasis:#0D32B2;--color-attention-subtle:#676C7E;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AA5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB4{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-AB5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N1{fill:url(#streaks-darker);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-dark);mix-blend-mode:overlay}.sketch-overlay-N3{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N6{fill:url(#streaks-bright);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]>-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)voididintnamestringemailstringpasswordstringlast_logindatetimea := 5 b := a + 7 fmt.Printf("%d", b)a := 5 b := a + 7 diff --git a/e2etests/testdata/themes/dark_terrastruct_flagship/dagre/sketch.exp.svg b/e2etests/testdata/themes/dark_terrastruct_flagship/dagre/sketch.exp.svg index 3abfc595a..7319b24a4 100644 --- a/e2etests/testdata/themes/dark_terrastruct_flagship/dagre/sketch.exp.svg +++ b/e2etests/testdata/themes/dark_terrastruct_flagship/dagre/sketch.exp.svg @@ -857,7 +857,7 @@ .d2-657362140 .md .contains-task-list:dir(rtl) .task-list-item-checkbox { margin: 0 -1.6em 0.25em 0.2em; } -networkuserapi serverlogsusersidintnamestringemailstringpasswordstringlast_logindatetimeproducts+idint+pricedecimal+skustring+namestringA tale +networkuserapi serverlogsusersidintnamestringemailstringpasswordstringlast_logindatetimeproducts+idint+pricedecimal+skustring+namestringA tale of two cities diff --git a/e2etests/testdata/themes/dark_terrastruct_flagship/elk/sketch.exp.svg b/e2etests/testdata/themes/dark_terrastruct_flagship/elk/sketch.exp.svg index 887020287..0762ba5ad 100644 --- a/e2etests/testdata/themes/dark_terrastruct_flagship/elk/sketch.exp.svg +++ b/e2etests/testdata/themes/dark_terrastruct_flagship/elk/sketch.exp.svg @@ -857,7 +857,7 @@ .d2-414675799 .md .contains-task-list:dir(rtl) .task-list-item-checkbox { margin: 0 -1.6em 0.25em 0.2em; } -networkuserapi serverlogsusersidintnamestringemailstringpasswordstringlast_logindatetimeproducts+idint+pricedecimal+skustring+namestringA tale +networkuserapi serverlogsusersidintnamestringemailstringpasswordstringlast_logindatetimeproducts+idint+pricedecimal+skustring+namestringA tale of two cities diff --git a/e2etests/testdata/themes/terminal/dagre/sketch.exp.svg b/e2etests/testdata/themes/terminal/dagre/sketch.exp.svg index 1ac160d33..2b1dc5c0e 100644 --- a/e2etests/testdata/themes/terminal/dagre/sketch.exp.svg +++ b/e2etests/testdata/themes/terminal/dagre/sketch.exp.svg @@ -883,7 +883,7 @@ -NETWORKUSERAPI SERVERLOGSUSERSidintnamestringemailstringpasswordstringlast_logindatetimePRODUCTS+idint+pricedecimal+skustring+namestringA TALE +NETWORKUSERAPI SERVERLOGSUSERSidintnamestringemailstringpasswordstringlast_logindatetimePRODUCTS+idint+pricedecimal+skustring+namestringA TALE OF TWO CITIES diff --git a/e2etests/testdata/themes/terminal/elk/sketch.exp.svg b/e2etests/testdata/themes/terminal/elk/sketch.exp.svg index ae347036d..5c82d86be 100644 --- a/e2etests/testdata/themes/terminal/elk/sketch.exp.svg +++ b/e2etests/testdata/themes/terminal/elk/sketch.exp.svg @@ -883,7 +883,7 @@ -NETWORKUSERAPI SERVERLOGSUSERSidintnamestringemailstringpasswordstringlast_logindatetimePRODUCTS+idint+pricedecimal+skustring+namestringA TALE +NETWORKUSERAPI SERVERLOGSUSERSidintnamestringemailstringpasswordstringlast_logindatetimePRODUCTS+idint+pricedecimal+skustring+namestringA TALE OF TWO CITIES diff --git a/e2etests/testdata/todo/shape_set_width_height/dagre/sketch.exp.svg b/e2etests/testdata/todo/shape_set_width_height/dagre/sketch.exp.svg index b15c339a6..9e5405a3c 100644 --- a/e2etests/testdata/todo/shape_set_width_height/dagre/sketch.exp.svg +++ b/e2etests/testdata/todo/shape_set_width_height/dagre/sketch.exp.svg @@ -850,7 +850,7 @@ .d2-1380007000 .md .contains-task-list:dir(rtl) .task-list-item-checkbox { margin: 0 -1.6em 0.25em 0.2em; } -containerscloudtall cylinderclass2-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)voidusersidintnamestringemailstringpasswordstringlast_logindatetimecontainermarkdown text expanded to 800x400 +containerscloudtall cylinderclass2-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)voidusersidintnamestringemailstringpasswordstringlast_logindatetimecontainermarkdown text expanded to 800x400 a := 5 b := a + 7 fmt.Printf("%d", b)a := 5 diff --git a/e2etests/testdata/todo/shape_set_width_height/elk/sketch.exp.svg b/e2etests/testdata/todo/shape_set_width_height/elk/sketch.exp.svg index 0fedb2be9..8b8248447 100644 --- a/e2etests/testdata/todo/shape_set_width_height/elk/sketch.exp.svg +++ b/e2etests/testdata/todo/shape_set_width_height/elk/sketch.exp.svg @@ -850,7 +850,7 @@ .d2-1599576373 .md .contains-task-list:dir(rtl) .task-list-item-checkbox { margin: 0 -1.6em 0.25em 0.2em; } -containerscloudtall cylinderclass2-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)voidusersidintnamestringemailstringpasswordstringlast_logindatetimecontainermarkdown text expanded to 800x400 +containerscloudtall cylinderclass2-numint-timeoutint-pid+getStatus()Enum+getJobs()Job[]+setTimeout(seconds int)voidusersidintnamestringemailstringpasswordstringlast_logindatetimecontainermarkdown text expanded to 800x400 a := 5 b := a + 7 fmt.Printf("%d", b)a := 5
linux: because a PC is a terrible thing to waste
markdown text expanded to 800x400