...

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

Documentation: oss.terrastruct.com/d2/e2etests/testdata/stable/class_and_sqlTable_border_radius/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": 2
    12      },
    13      "width": 437,
    14      "height": 180,
    15      "opacity": 1,
    16      "strokeDash": 0,
    17      "strokeWidth": 2,
    18      "borderRadius": 10,
    19      "fill": "red",
    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          "name": {
    65            "label": "disk",
    66            "fontSize": 0,
    67            "fontFamily": "",
    68            "language": "",
    69            "color": "",
    70            "italic": false,
    71            "bold": false,
    72            "underline": false,
    73            "labelWidth": 35,
    74            "labelHeight": 26
    75          },
    76          "type": {
    77            "label": "int",
    78            "fontSize": 0,
    79            "fontFamily": "",
    80            "language": "",
    81            "color": "",
    82            "italic": false,
    83            "bold": false,
    84            "underline": false,
    85            "labelWidth": 23,
    86            "labelHeight": 26
    87          },
    88          "constraint": [
    89            "foreign_key"
    90          ],
    91          "reference": ""
    92        },
    93        {
    94          "name": {
    95            "label": "json",
    96            "fontSize": 0,
    97            "fontFamily": "",
    98            "language": "",
    99            "color": "",
   100            "italic": false,
   101            "bold": false,
   102            "underline": false,
   103            "labelWidth": 36,
   104            "labelHeight": 26
   105          },
   106          "type": {
   107            "label": "jsonb",
   108            "fontSize": 0,
   109            "fontFamily": "",
   110            "language": "",
   111            "color": "",
   112            "italic": false,
   113            "bold": false,
   114            "underline": false,
   115            "labelWidth": 48,
   116            "labelHeight": 26
   117          },
   118          "constraint": [
   119            "unique"
   120          ],
   121          "reference": ""
   122        },
   123        {
   124          "name": {
   125            "label": "last_updated",
   126            "fontSize": 0,
   127            "fontFamily": "",
   128            "language": "",
   129            "color": "",
   130            "italic": false,
   131            "bold": false,
   132            "underline": false,
   133            "labelWidth": 110,
   134            "labelHeight": 26
   135          },
   136          "type": {
   137            "label": "timestamp with time zone",
   138            "fontSize": 0,
   139            "fontFamily": "",
   140            "language": "",
   141            "color": "",
   142            "italic": false,
   143            "bold": false,
   144            "underline": false,
   145            "labelWidth": 219,
   146            "labelHeight": 26
   147          },
   148          "constraint": null,
   149          "reference": ""
   150        }
   151      ],
   152      "label": "a",
   153      "fontSize": 20,
   154      "fontFamily": "DEFAULT",
   155      "language": "",
   156      "color": "N1",
   157      "italic": false,
   158      "bold": true,
   159      "underline": false,
   160      "labelWidth": 11,
   161      "labelHeight": 31,
   162      "zIndex": 0,
   163      "level": 1,
   164      "primaryAccentColor": "B2",
   165      "secondaryAccentColor": "AA2",
   166      "neutralAccentColor": "N2"
   167    },
   168    {
   169      "id": "b",
   170      "type": "class",
   171      "pos": {
   172        "x": 497,
   173        "y": 0
   174      },
   175      "width": 407,
   176      "height": 184,
   177      "opacity": 1,
   178      "strokeDash": 0,
   179      "strokeWidth": 2,
   180      "borderRadius": 10,
   181      "fill": "N1",
   182      "stroke": "N7",
   183      "shadow": false,
   184      "3d": false,
   185      "multiple": false,
   186      "double-border": false,
   187      "tooltip": "",
   188      "link": "",
   189      "icon": null,
   190      "iconPosition": "",
   191      "blend": false,
   192      "fields": [
   193        {
   194          "name": "field",
   195          "type": "[]string",
   196          "visibility": "public"
   197        }
   198      ],
   199      "methods": [
   200        {
   201          "name": "method(a uint64)",
   202          "return": "(x, y int)",
   203          "visibility": "public"
   204        }
   205      ],
   206      "columns": null,
   207      "label": "b",
   208      "fontSize": 20,
   209      "fontFamily": "DEFAULT",
   210      "language": "",
   211      "color": "N1",
   212      "italic": false,
   213      "bold": false,
   214      "underline": false,
   215      "labelWidth": 11,
   216      "labelHeight": 31,
   217      "zIndex": 0,
   218      "level": 1,
   219      "primaryAccentColor": "B2",
   220      "secondaryAccentColor": "AA2",
   221      "neutralAccentColor": "N2"
   222    },
   223    {
   224      "id": "c",
   225      "type": "class",
   226      "pos": {
   227        "x": 964,
   228        "y": 46
   229      },
   230      "width": 117,
   231      "height": 92,
   232      "opacity": 1,
   233      "strokeDash": 0,
   234      "strokeWidth": 2,
   235      "borderRadius": 5,
   236      "fill": "N1",
   237      "stroke": "N7",
   238      "shadow": false,
   239      "3d": false,
   240      "multiple": false,
   241      "double-border": false,
   242      "tooltip": "",
   243      "link": "",
   244      "icon": null,
   245      "iconPosition": "",
   246      "blend": false,
   247      "fields": null,
   248      "methods": null,
   249      "columns": null,
   250      "label": "c",
   251      "fontSize": 20,
   252      "fontFamily": "DEFAULT",
   253      "language": "",
   254      "color": "N1",
   255      "italic": false,
   256      "bold": false,
   257      "underline": false,
   258      "labelWidth": 12,
   259      "labelHeight": 31,
   260      "zIndex": 0,
   261      "level": 1,
   262      "primaryAccentColor": "B2",
   263      "secondaryAccentColor": "AA2",
   264      "neutralAccentColor": "N2"
   265    },
   266    {
   267      "id": "d",
   268      "type": "sql_table",
   269      "pos": {
   270        "x": 1141,
   271        "y": 74
   272      },
   273      "width": 50,
   274      "height": 36,
   275      "opacity": 1,
   276      "strokeDash": 0,
   277      "strokeWidth": 2,
   278      "borderRadius": 5,
   279      "fill": "N1",
   280      "stroke": "N7",
   281      "shadow": false,
   282      "3d": false,
   283      "multiple": false,
   284      "double-border": false,
   285      "tooltip": "",
   286      "link": "",
   287      "icon": null,
   288      "iconPosition": "",
   289      "blend": false,
   290      "fields": null,
   291      "methods": null,
   292      "columns": null,
   293      "label": "d",
   294      "fontSize": 20,
   295      "fontFamily": "DEFAULT",
   296      "language": "",
   297      "color": "N1",
   298      "italic": false,
   299      "bold": true,
   300      "underline": false,
   301      "labelWidth": 13,
   302      "labelHeight": 31,
   303      "zIndex": 0,
   304      "level": 1,
   305      "primaryAccentColor": "B2",
   306      "secondaryAccentColor": "AA2",
   307      "neutralAccentColor": "N2"
   308    }
   309  ],
   310  "connections": [],
   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