...

Text file src/oss.terrastruct.com/d2/e2etests/testdata/regression/sql_table_overflow/dagre/board.exp.json

Documentation: oss.terrastruct.com/d2/e2etests/testdata/regression/sql_table_overflow/dagre

     1{
     2  "name": "",
     3  "isFolderOnly": false,
     4  "fontFamily": "SourceSansPro",
     5  "shapes": [
     6    {
     7      "id": "table",
     8      "type": "sql_table",
     9      "pos": {
    10        "x": 0,
    11        "y": 0
    12      },
    13      "width": 534,
    14      "height": 108,
    15      "opacity": 1,
    16      "strokeDash": 0,
    17      "strokeWidth": 2,
    18      "borderRadius": 0,
    19      "fill": "N1",
    20      "stroke": "N7",
    21      "shadow": false,
    22      "3d": false,
    23      "multiple": false,
    24      "double-border": false,
    25      "tooltip": "",
    26      "link": "",
    27      "icon": null,
    28      "iconPosition": "",
    29      "blend": false,
    30      "fields": null,
    31      "methods": null,
    32      "columns": [
    33        {
    34          "name": {
    35            "label": "short",
    36            "fontSize": 0,
    37            "fontFamily": "",
    38            "language": "",
    39            "color": "",
    40            "italic": false,
    41            "bold": false,
    42            "underline": false,
    43            "labelWidth": 45,
    44            "labelHeight": 26
    45          },
    46          "type": {
    47            "label": "loooooooooooooooooooong",
    48            "fontSize": 0,
    49            "fontFamily": "",
    50            "language": "",
    51            "color": "",
    52            "italic": false,
    53            "bold": false,
    54            "underline": false,
    55            "labelWidth": 242,
    56            "labelHeight": 26
    57          },
    58          "constraint": null,
    59          "reference": ""
    60        },
    61        {
    62          "name": {
    63            "label": "loooooooooooooooooooong",
    64            "fontSize": 0,
    65            "fontFamily": "",
    66            "language": "",
    67            "color": "",
    68            "italic": false,
    69            "bold": false,
    70            "underline": false,
    71            "labelWidth": 242,
    72            "labelHeight": 26
    73          },
    74          "type": {
    75            "label": "short",
    76            "fontSize": 0,
    77            "fontFamily": "",
    78            "language": "",
    79            "color": "",
    80            "italic": false,
    81            "bold": false,
    82            "underline": false,
    83            "labelWidth": 45,
    84            "labelHeight": 26
    85          },
    86          "constraint": null,
    87          "reference": ""
    88        }
    89      ],
    90      "label": "sql_table_overflow",
    91      "fontSize": 20,
    92      "fontFamily": "DEFAULT",
    93      "language": "",
    94      "color": "N1",
    95      "italic": false,
    96      "bold": true,
    97      "underline": false,
    98      "labelWidth": 206,
    99      "labelHeight": 31,
   100      "zIndex": 0,
   101      "level": 1,
   102      "primaryAccentColor": "B2",
   103      "secondaryAccentColor": "AA2",
   104      "neutralAccentColor": "N2"
   105    },
   106    {
   107      "id": "table_constrained",
   108      "type": "sql_table",
   109      "pos": {
   110        "x": 594,
   111        "y": 0
   112      },
   113      "width": 592,
   114      "height": 108,
   115      "opacity": 1,
   116      "strokeDash": 0,
   117      "strokeWidth": 2,
   118      "borderRadius": 0,
   119      "fill": "N1",
   120      "stroke": "N7",
   121      "shadow": false,
   122      "3d": false,
   123      "multiple": false,
   124      "double-border": false,
   125      "tooltip": "",
   126      "link": "",
   127      "icon": null,
   128      "iconPosition": "",
   129      "blend": false,
   130      "fields": null,
   131      "methods": null,
   132      "columns": [
   133        {
   134          "name": {
   135            "label": "short",
   136            "fontSize": 0,
   137            "fontFamily": "",
   138            "language": "",
   139            "color": "",
   140            "italic": false,
   141            "bold": false,
   142            "underline": false,
   143            "labelWidth": 45,
   144            "labelHeight": 26
   145          },
   146          "type": {
   147            "label": "loooooooooooooooooooong",
   148            "fontSize": 0,
   149            "fontFamily": "",
   150            "language": "",
   151            "color": "",
   152            "italic": false,
   153            "bold": false,
   154            "underline": false,
   155            "labelWidth": 242,
   156            "labelHeight": 26
   157          },
   158          "constraint": [
   159            "unique"
   160          ],
   161          "reference": ""
   162        },
   163        {
   164          "name": {
   165            "label": "loooooooooooooooooooong",
   166            "fontSize": 0,
   167            "fontFamily": "",
   168            "language": "",
   169            "color": "",
   170            "italic": false,
   171            "bold": false,
   172            "underline": false,
   173            "labelWidth": 242,
   174            "labelHeight": 26
   175          },
   176          "type": {
   177            "label": "short",
   178            "fontSize": 0,
   179            "fontFamily": "",
   180            "language": "",
   181            "color": "",
   182            "italic": false,
   183            "bold": false,
   184            "underline": false,
   185            "labelWidth": 45,
   186            "labelHeight": 26
   187          },
   188          "constraint": [
   189            "foreign_key"
   190          ],
   191          "reference": ""
   192        }
   193      ],
   194      "label": "sql_table_constrained_overflow",
   195      "fontSize": 20,
   196      "fontFamily": "DEFAULT",
   197      "language": "",
   198      "color": "N1",
   199      "italic": false,
   200      "bold": true,
   201      "underline": false,
   202      "labelWidth": 345,
   203      "labelHeight": 31,
   204      "zIndex": 0,
   205      "level": 1,
   206      "primaryAccentColor": "B2",
   207      "secondaryAccentColor": "AA2",
   208      "neutralAccentColor": "N2"
   209    }
   210  ],
   211  "connections": [],
   212  "root": {
   213    "id": "",
   214    "type": "",
   215    "pos": {
   216      "x": 0,
   217      "y": 0
   218    },
   219    "width": 0,
   220    "height": 0,
   221    "opacity": 0,
   222    "strokeDash": 0,
   223    "strokeWidth": 0,
   224    "borderRadius": 0,
   225    "fill": "N7",
   226    "stroke": "",
   227    "shadow": false,
   228    "3d": false,
   229    "multiple": false,
   230    "double-border": false,
   231    "tooltip": "",
   232    "link": "",
   233    "icon": null,
   234    "iconPosition": "",
   235    "blend": false,
   236    "fields": null,
   237    "methods": null,
   238    "columns": null,
   239    "label": "",
   240    "fontSize": 0,
   241    "fontFamily": "",
   242    "language": "",
   243    "color": "",
   244    "italic": false,
   245    "bold": false,
   246    "underline": false,
   247    "labelWidth": 0,
   248    "labelHeight": 0,
   249    "zIndex": 0,
   250    "level": 0
   251  }
   252}

View as plain text