...

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

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

     1{
     2  "name": "",
     3  "isFolderOnly": false,
     4  "fontFamily": "SourceSansPro",
     5  "shapes": [
     6    {
     7      "id": "a",
     8      "type": "sql_table",
     9      "pos": {
    10        "x": 0,
    11        "y": 36
    12      },
    13      "width": 131,
    14      "height": 72,
    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": "id",
    36            "fontSize": 0,
    37            "fontFamily": "",
    38            "language": "",
    39            "color": "",
    40            "italic": false,
    41            "bold": false,
    42            "underline": false,
    43            "labelWidth": 15,
    44            "labelHeight": 26
    45          },
    46          "type": {
    47            "label": "int",
    48            "fontSize": 0,
    49            "fontFamily": "",
    50            "language": "",
    51            "color": "",
    52            "italic": false,
    53            "bold": false,
    54            "underline": false,
    55            "labelWidth": 23,
    56            "labelHeight": 26
    57          },
    58          "constraint": [
    59            "primary_key"
    60          ],
    61          "reference": ""
    62        }
    63      ],
    64      "label": "a",
    65      "fontSize": 20,
    66      "fontFamily": "DEFAULT",
    67      "language": "",
    68      "color": "N1",
    69      "italic": false,
    70      "bold": true,
    71      "underline": false,
    72      "labelWidth": 11,
    73      "labelHeight": 31,
    74      "zIndex": 0,
    75      "level": 1,
    76      "primaryAccentColor": "B2",
    77      "secondaryAccentColor": "AA2",
    78      "neutralAccentColor": "N2"
    79    },
    80    {
    81      "id": "b",
    82      "type": "sql_table",
    83      "pos": {
    84        "x": 231,
    85        "y": 0
    86      },
    87      "width": 146,
    88      "height": 144,
    89      "opacity": 1,
    90      "strokeDash": 0,
    91      "strokeWidth": 2,
    92      "borderRadius": 0,
    93      "fill": "N1",
    94      "stroke": "N7",
    95      "shadow": false,
    96      "3d": false,
    97      "multiple": false,
    98      "double-border": false,
    99      "tooltip": "",
   100      "link": "",
   101      "icon": null,
   102      "iconPosition": "",
   103      "blend": false,
   104      "fields": null,
   105      "methods": null,
   106      "columns": [
   107        {
   108          "name": {
   109            "label": "id",
   110            "fontSize": 0,
   111            "fontFamily": "",
   112            "language": "",
   113            "color": "",
   114            "italic": false,
   115            "bold": false,
   116            "underline": false,
   117            "labelWidth": 15,
   118            "labelHeight": 26
   119          },
   120          "type": {
   121            "label": "int",
   122            "fontSize": 0,
   123            "fontFamily": "",
   124            "language": "",
   125            "color": "",
   126            "italic": false,
   127            "bold": false,
   128            "underline": false,
   129            "labelWidth": 23,
   130            "labelHeight": 26
   131          },
   132          "constraint": [
   133            "primary_key"
   134          ],
   135          "reference": ""
   136        },
   137        {
   138          "name": {
   139            "label": "a_1",
   140            "fontSize": 0,
   141            "fontFamily": "",
   142            "language": "",
   143            "color": "",
   144            "italic": false,
   145            "bold": false,
   146            "underline": false,
   147            "labelWidth": 29,
   148            "labelHeight": 26
   149          },
   150          "type": {
   151            "label": "int",
   152            "fontSize": 0,
   153            "fontFamily": "",
   154            "language": "",
   155            "color": "",
   156            "italic": false,
   157            "bold": false,
   158            "underline": false,
   159            "labelWidth": 23,
   160            "labelHeight": 26
   161          },
   162          "constraint": [
   163            "foreign_key"
   164          ],
   165          "reference": ""
   166        },
   167        {
   168          "name": {
   169            "label": "a_2",
   170            "fontSize": 0,
   171            "fontFamily": "",
   172            "language": "",
   173            "color": "",
   174            "italic": false,
   175            "bold": false,
   176            "underline": false,
   177            "labelWidth": 30,
   178            "labelHeight": 26
   179          },
   180          "type": {
   181            "label": "int",
   182            "fontSize": 0,
   183            "fontFamily": "",
   184            "language": "",
   185            "color": "",
   186            "italic": false,
   187            "bold": false,
   188            "underline": false,
   189            "labelWidth": 23,
   190            "labelHeight": 26
   191          },
   192          "constraint": [
   193            "foreign_key"
   194          ],
   195          "reference": ""
   196        }
   197      ],
   198      "label": "b",
   199      "fontSize": 20,
   200      "fontFamily": "DEFAULT",
   201      "language": "",
   202      "color": "N1",
   203      "italic": false,
   204      "bold": true,
   205      "underline": false,
   206      "labelWidth": 12,
   207      "labelHeight": 31,
   208      "zIndex": 0,
   209      "level": 1,
   210      "primaryAccentColor": "B2",
   211      "secondaryAccentColor": "AA2",
   212      "neutralAccentColor": "N2"
   213    }
   214  ],
   215  "connections": [
   216    {
   217      "id": "(b -> a)[0]",
   218      "src": "b",
   219      "srcArrow": "none",
   220      "dst": "a",
   221      "dstArrow": "triangle",
   222      "opacity": 1,
   223      "strokeDash": 0,
   224      "strokeWidth": 2,
   225      "stroke": "B1",
   226      "borderRadius": 10,
   227      "label": "",
   228      "fontSize": 16,
   229      "fontFamily": "DEFAULT",
   230      "language": "",
   231      "color": "N2",
   232      "italic": true,
   233      "bold": false,
   234      "underline": false,
   235      "labelWidth": 0,
   236      "labelHeight": 0,
   237      "labelPosition": "",
   238      "labelPercentage": 0,
   239      "route": [
   240        {
   241          "x": 231,
   242          "y": 66
   243        },
   244        {
   245          "x": 191,
   246          "y": 62.79999923706055
   247        },
   248        {
   249          "x": 171,
   250          "y": 62.79999923706055
   251        },
   252        {
   253          "x": 131,
   254          "y": 66
   255        }
   256      ],
   257      "isCurve": true,
   258      "animated": false,
   259      "tooltip": "",
   260      "icon": null,
   261      "zIndex": 0
   262    },
   263    {
   264      "id": "(b -> a)[1]",
   265      "src": "b",
   266      "srcArrow": "none",
   267      "dst": "a",
   268      "dstArrow": "triangle",
   269      "opacity": 1,
   270      "strokeDash": 0,
   271      "strokeWidth": 2,
   272      "stroke": "B1",
   273      "borderRadius": 10,
   274      "label": "",
   275      "fontSize": 16,
   276      "fontFamily": "DEFAULT",
   277      "language": "",
   278      "color": "N2",
   279      "italic": true,
   280      "bold": false,
   281      "underline": false,
   282      "labelWidth": 0,
   283      "labelHeight": 0,
   284      "labelPosition": "",
   285      "labelPercentage": 0,
   286      "route": [
   287        {
   288          "x": 231,
   289          "y": 78
   290        },
   291        {
   292          "x": 191,
   293          "y": 81.19999694824219
   294        },
   295        {
   296          "x": 171,
   297          "y": 81.19999694824219
   298        },
   299        {
   300          "x": 131,
   301          "y": 78
   302        }
   303      ],
   304      "isCurve": true,
   305      "animated": false,
   306      "tooltip": "",
   307      "icon": null,
   308      "zIndex": 0
   309    }
   310  ],
   311  "root": {
   312    "id": "",
   313    "type": "",
   314    "pos": {
   315      "x": 0,
   316      "y": 0
   317    },
   318    "width": 0,
   319    "height": 0,
   320    "opacity": 0,
   321    "strokeDash": 0,
   322    "strokeWidth": 0,
   323    "borderRadius": 0,
   324    "fill": "N7",
   325    "stroke": "",
   326    "shadow": false,
   327    "3d": false,
   328    "multiple": false,
   329    "double-border": false,
   330    "tooltip": "",
   331    "link": "",
   332    "icon": null,
   333    "iconPosition": "",
   334    "blend": false,
   335    "fields": null,
   336    "methods": null,
   337    "columns": null,
   338    "label": "",
   339    "fontSize": 0,
   340    "fontFamily": "",
   341    "language": "",
   342    "color": "",
   343    "italic": false,
   344    "bold": false,
   345    "underline": false,
   346    "labelWidth": 0,
   347    "labelHeight": 0,
   348    "zIndex": 0,
   349    "level": 0
   350  }
   351}

View as plain text