...

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

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

     1{
     2  "name": "",
     3  "isFolderOnly": false,
     4  "fontFamily": "SourceSansPro",
     5  "shapes": [
     6    {
     7      "id": "a",
     8      "type": "sql_table",
     9      "pos": {
    10        "x": 12,
    11        "y": 42
    12      },
    13      "width": 131,
    14      "height": 80,
    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": 223,
    85        "y": 12
    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": 223,
   242          "y": 102
   243        },
   244        {
   245          "x": 143,
   246          "y": 102
   247        }
   248      ],
   249      "animated": false,
   250      "tooltip": "",
   251      "icon": null,
   252      "zIndex": 0
   253    },
   254    {
   255      "id": "(b -> a)[1]",
   256      "src": "b",
   257      "srcArrow": "none",
   258      "dst": "a",
   259      "dstArrow": "triangle",
   260      "opacity": 1,
   261      "strokeDash": 0,
   262      "strokeWidth": 2,
   263      "stroke": "B1",
   264      "borderRadius": 10,
   265      "label": "",
   266      "fontSize": 16,
   267      "fontFamily": "DEFAULT",
   268      "language": "",
   269      "color": "N2",
   270      "italic": true,
   271      "bold": false,
   272      "underline": false,
   273      "labelWidth": 0,
   274      "labelHeight": 0,
   275      "labelPosition": "",
   276      "labelPercentage": 0,
   277      "route": [
   278        {
   279          "x": 223,
   280          "y": 138
   281        },
   282        {
   283          "x": 183,
   284          "y": 138
   285        },
   286        {
   287          "x": 183,
   288          "y": 102
   289        },
   290        {
   291          "x": 143,
   292          "y": 102
   293        }
   294      ],
   295      "animated": false,
   296      "tooltip": "",
   297      "icon": null,
   298      "zIndex": 0
   299    }
   300  ],
   301  "root": {
   302    "id": "",
   303    "type": "",
   304    "pos": {
   305      "x": 0,
   306      "y": 0
   307    },
   308    "width": 0,
   309    "height": 0,
   310    "opacity": 0,
   311    "strokeDash": 0,
   312    "strokeWidth": 0,
   313    "borderRadius": 0,
   314    "fill": "N7",
   315    "stroke": "",
   316    "shadow": false,
   317    "3d": false,
   318    "multiple": false,
   319    "double-border": false,
   320    "tooltip": "",
   321    "link": "",
   322    "icon": null,
   323    "iconPosition": "",
   324    "blend": false,
   325    "fields": null,
   326    "methods": null,
   327    "columns": null,
   328    "label": "",
   329    "fontSize": 0,
   330    "fontFamily": "",
   331    "language": "",
   332    "color": "",
   333    "italic": false,
   334    "bold": false,
   335    "underline": false,
   336    "labelWidth": 0,
   337    "labelHeight": 0,
   338    "zIndex": 0,
   339    "level": 0
   340  }
   341}

View as plain text