...

Text file src/oss.terrastruct.com/d2/e2etests/testdata/stable/sql_table_column_styles/dagre/board.exp.json

Documentation: oss.terrastruct.com/d2/e2etests/testdata/stable/sql_table_column_styles/dagre

     1{
     2  "name": "",
     3  "isFolderOnly": false,
     4  "fontFamily": "SourceSansPro",
     5  "shapes": [
     6    {
     7      "id": "Humor in the Court",
     8      "type": "sql_table",
     9      "pos": {
    10        "x": 0,
    11        "y": 178
    12      },
    13      "width": 678,
    14      "height": 108,
    15      "opacity": 1,
    16      "strokeDash": 0,
    17      "strokeWidth": 2,
    18      "borderRadius": 0,
    19      "fill": "red",
    20      "stroke": "lightgray",
    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": "Could you see him from where you were standing?",
    36            "fontSize": 0,
    37            "fontFamily": "",
    38            "language": "",
    39            "color": "",
    40            "italic": false,
    41            "bold": false,
    42            "underline": false,
    43            "labelWidth": 418,
    44            "labelHeight": 26
    45          },
    46          "type": {
    47            "label": "I could see his head.",
    48            "fontSize": 0,
    49            "fontFamily": "",
    50            "language": "",
    51            "color": "",
    52            "italic": false,
    53            "bold": false,
    54            "underline": false,
    55            "labelWidth": 166,
    56            "labelHeight": 26
    57          },
    58          "constraint": null,
    59          "reference": ""
    60        },
    61        {
    62          "name": {
    63            "label": "And where was his head?",
    64            "fontSize": 0,
    65            "fontFamily": "",
    66            "language": "",
    67            "color": "",
    68            "italic": false,
    69            "bold": false,
    70            "underline": false,
    71            "labelWidth": 208,
    72            "labelHeight": 26
    73          },
    74          "type": {
    75            "label": "Just above his shoulders.",
    76            "fontSize": 0,
    77            "fontFamily": "",
    78            "language": "",
    79            "color": "",
    80            "italic": false,
    81            "bold": false,
    82            "underline": false,
    83            "labelWidth": 210,
    84            "labelHeight": 26
    85          },
    86          "constraint": null,
    87          "reference": ""
    88        }
    89      ],
    90      "label": "Humor in the Court",
    91      "fontSize": 20,
    92      "fontFamily": "DEFAULT",
    93      "language": "",
    94      "color": "orange",
    95      "italic": false,
    96      "bold": true,
    97      "underline": false,
    98      "labelWidth": 202,
    99      "labelHeight": 31,
   100      "zIndex": 0,
   101      "level": 1,
   102      "primaryAccentColor": "B2",
   103      "secondaryAccentColor": "AA2",
   104      "neutralAccentColor": "N2"
   105    },
   106    {
   107      "id": "Humor in the Court2",
   108      "type": "sql_table",
   109      "pos": {
   110        "x": 738,
   111        "y": 160
   112      },
   113      "width": 992,
   114      "height": 144,
   115      "opacity": 1,
   116      "strokeDash": 0,
   117      "strokeWidth": 2,
   118      "borderRadius": 0,
   119      "fill": "red",
   120      "stroke": "lightgray",
   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": "Could you see him from where you were standing?",
   136            "fontSize": 0,
   137            "fontFamily": "",
   138            "language": "",
   139            "color": "",
   140            "italic": false,
   141            "bold": false,
   142            "underline": false,
   143            "labelWidth": 627,
   144            "labelHeight": 38
   145          },
   146          "type": {
   147            "label": "I could see his head.",
   148            "fontSize": 0,
   149            "fontFamily": "",
   150            "language": "",
   151            "color": "",
   152            "italic": false,
   153            "bold": false,
   154            "underline": false,
   155            "labelWidth": 248,
   156            "labelHeight": 38
   157          },
   158          "constraint": null,
   159          "reference": ""
   160        },
   161        {
   162          "name": {
   163            "label": "And where was his head?",
   164            "fontSize": 0,
   165            "fontFamily": "",
   166            "language": "",
   167            "color": "",
   168            "italic": false,
   169            "bold": false,
   170            "underline": false,
   171            "labelWidth": 312,
   172            "labelHeight": 38
   173          },
   174          "type": {
   175            "label": "Just above his shoulders.",
   176            "fontSize": 0,
   177            "fontFamily": "",
   178            "language": "",
   179            "color": "",
   180            "italic": false,
   181            "bold": false,
   182            "underline": false,
   183            "labelWidth": 315,
   184            "labelHeight": 38
   185          },
   186          "constraint": null,
   187          "reference": ""
   188        }
   189      ],
   190      "label": "Humor in the Court2",
   191      "fontSize": 30,
   192      "fontFamily": "DEFAULT",
   193      "language": "",
   194      "color": "orange",
   195      "italic": false,
   196      "bold": true,
   197      "underline": false,
   198      "labelWidth": 303,
   199      "labelHeight": 43,
   200      "zIndex": 0,
   201      "level": 1,
   202      "primaryAccentColor": "B2",
   203      "secondaryAccentColor": "AA2",
   204      "neutralAccentColor": "N2"
   205    },
   206    {
   207      "id": "manager",
   208      "type": "class",
   209      "pos": {
   210        "x": 1790,
   211        "y": 48
   212      },
   213      "width": 422,
   214      "height": 368,
   215      "opacity": 1,
   216      "strokeDash": 0,
   217      "strokeWidth": 2,
   218      "borderRadius": 0,
   219      "fill": "N1",
   220      "stroke": "N7",
   221      "shadow": false,
   222      "3d": false,
   223      "multiple": false,
   224      "double-border": false,
   225      "tooltip": "",
   226      "link": "",
   227      "icon": null,
   228      "iconPosition": "",
   229      "blend": false,
   230      "fields": [
   231        {
   232          "name": "num",
   233          "type": "int",
   234          "visibility": "private"
   235        },
   236        {
   237          "name": "timeout",
   238          "type": "int",
   239          "visibility": "private"
   240        },
   241        {
   242          "name": "pid",
   243          "type": "",
   244          "visibility": "private"
   245        }
   246      ],
   247      "methods": [
   248        {
   249          "name": "getStatus()",
   250          "return": "Enum",
   251          "visibility": "public"
   252        },
   253        {
   254          "name": "getJobs()",
   255          "return": "Job[]",
   256          "visibility": "public"
   257        },
   258        {
   259          "name": "setTimeout(seconds int)",
   260          "return": "void",
   261          "visibility": "public"
   262        }
   263      ],
   264      "columns": null,
   265      "label": "BatchManager",
   266      "fontSize": 20,
   267      "fontFamily": "DEFAULT",
   268      "language": "",
   269      "color": "N1",
   270      "italic": false,
   271      "bold": false,
   272      "underline": false,
   273      "labelWidth": 170,
   274      "labelHeight": 31,
   275      "zIndex": 0,
   276      "level": 1,
   277      "primaryAccentColor": "B2",
   278      "secondaryAccentColor": "AA2",
   279      "neutralAccentColor": "N2"
   280    },
   281    {
   282      "id": "manager2",
   283      "type": "class",
   284      "pos": {
   285        "x": 2272,
   286        "y": 0
   287      },
   288      "width": 582,
   289      "height": 464,
   290      "opacity": 1,
   291      "strokeDash": 0,
   292      "strokeWidth": 2,
   293      "borderRadius": 0,
   294      "fill": "N1",
   295      "stroke": "N7",
   296      "shadow": false,
   297      "3d": false,
   298      "multiple": false,
   299      "double-border": false,
   300      "tooltip": "",
   301      "link": "",
   302      "icon": null,
   303      "iconPosition": "",
   304      "blend": false,
   305      "fields": [
   306        {
   307          "name": "num",
   308          "type": "int",
   309          "visibility": "private"
   310        },
   311        {
   312          "name": "timeout",
   313          "type": "int",
   314          "visibility": "private"
   315        },
   316        {
   317          "name": "pid",
   318          "type": "",
   319          "visibility": "private"
   320        }
   321      ],
   322      "methods": [
   323        {
   324          "name": "getStatus()",
   325          "return": "Enum",
   326          "visibility": "public"
   327        },
   328        {
   329          "name": "getJobs()",
   330          "return": "Job[]",
   331          "visibility": "public"
   332        },
   333        {
   334          "name": "setTimeout(seconds int)",
   335          "return": "void",
   336          "visibility": "public"
   337        }
   338      ],
   339      "columns": null,
   340      "label": "BatchManager",
   341      "fontSize": 30,
   342      "fontFamily": "DEFAULT",
   343      "language": "",
   344      "color": "N1",
   345      "italic": false,
   346      "bold": false,
   347      "underline": false,
   348      "labelWidth": 241,
   349      "labelHeight": 43,
   350      "zIndex": 0,
   351      "level": 1,
   352      "primaryAccentColor": "B2",
   353      "secondaryAccentColor": "AA2",
   354      "neutralAccentColor": "N2"
   355    }
   356  ],
   357  "connections": [],
   358  "root": {
   359    "id": "",
   360    "type": "",
   361    "pos": {
   362      "x": 0,
   363      "y": 0
   364    },
   365    "width": 0,
   366    "height": 0,
   367    "opacity": 0,
   368    "strokeDash": 0,
   369    "strokeWidth": 0,
   370    "borderRadius": 0,
   371    "fill": "N7",
   372    "stroke": "",
   373    "shadow": false,
   374    "3d": false,
   375    "multiple": false,
   376    "double-border": false,
   377    "tooltip": "",
   378    "link": "",
   379    "icon": null,
   380    "iconPosition": "",
   381    "blend": false,
   382    "fields": null,
   383    "methods": null,
   384    "columns": null,
   385    "label": "",
   386    "fontSize": 0,
   387    "fontFamily": "",
   388    "language": "",
   389    "color": "",
   390    "italic": false,
   391    "bold": false,
   392    "underline": false,
   393    "labelWidth": 0,
   394    "labelHeight": 0,
   395    "zIndex": 0,
   396    "level": 0
   397  }
   398}

View as plain text