...

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

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

     1{
     2  "name": "",
     3  "isFolderOnly": false,
     4  "fontFamily": "SourceSansPro",
     5  "shapes": [
     6    {
     7      "id": "class1",
     8      "type": "class",
     9      "pos": {
    10        "x": 0,
    11        "y": 0
    12      },
    13      "width": 319,
    14      "height": 184,
    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": [
    31        {
    32          "name": "num",
    33          "type": "int",
    34          "visibility": "private"
    35        },
    36        {
    37          "name": "timeout",
    38          "type": "int",
    39          "visibility": "private"
    40        }
    41      ],
    42      "methods": null,
    43      "columns": null,
    44      "label": "class with rows",
    45      "fontSize": 20,
    46      "fontFamily": "DEFAULT",
    47      "language": "",
    48      "color": "N1",
    49      "italic": false,
    50      "bold": false,
    51      "underline": false,
    52      "labelWidth": 214,
    53      "labelHeight": 31,
    54      "zIndex": 0,
    55      "level": 1,
    56      "primaryAccentColor": "B2",
    57      "secondaryAccentColor": "AA2",
    58      "neutralAccentColor": "N2"
    59    },
    60    {
    61      "id": "class2",
    62      "type": "class",
    63      "pos": {
    64        "x": 379,
    65        "y": 46
    66      },
    67      "width": 362,
    68      "height": 92,
    69      "opacity": 1,
    70      "strokeDash": 0,
    71      "strokeWidth": 2,
    72      "borderRadius": 0,
    73      "fill": "N1",
    74      "stroke": "N7",
    75      "shadow": false,
    76      "3d": false,
    77      "multiple": false,
    78      "double-border": false,
    79      "tooltip": "",
    80      "link": "",
    81      "icon": null,
    82      "iconPosition": "",
    83      "blend": false,
    84      "fields": null,
    85      "methods": null,
    86      "columns": null,
    87      "label": "class without rows",
    88      "fontSize": 20,
    89      "fontFamily": "DEFAULT",
    90      "language": "",
    91      "color": "N1",
    92      "italic": false,
    93      "bold": false,
    94      "underline": false,
    95      "labelWidth": 257,
    96      "labelHeight": 31,
    97      "zIndex": 0,
    98      "level": 1,
    99      "primaryAccentColor": "B2",
   100      "secondaryAccentColor": "AA2",
   101      "neutralAccentColor": "N2"
   102    }
   103  ],
   104  "connections": [],
   105  "root": {
   106    "id": "",
   107    "type": "",
   108    "pos": {
   109      "x": 0,
   110      "y": 0
   111    },
   112    "width": 0,
   113    "height": 0,
   114    "opacity": 0,
   115    "strokeDash": 0,
   116    "strokeWidth": 0,
   117    "borderRadius": 0,
   118    "fill": "N7",
   119    "stroke": "",
   120    "shadow": false,
   121    "3d": false,
   122    "multiple": false,
   123    "double-border": false,
   124    "tooltip": "",
   125    "link": "",
   126    "icon": null,
   127    "iconPosition": "",
   128    "blend": false,
   129    "fields": null,
   130    "methods": null,
   131    "columns": null,
   132    "label": "",
   133    "fontSize": 0,
   134    "fontFamily": "",
   135    "language": "",
   136    "color": "",
   137    "italic": false,
   138    "bold": false,
   139    "underline": false,
   140    "labelWidth": 0,
   141    "labelHeight": 0,
   142    "zIndex": 0,
   143    "level": 0
   144  }
   145}

View as plain text