...

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

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

     1{
     2  "name": "",
     3  "isFolderOnly": false,
     4  "fontFamily": "SourceSansPro",
     5  "shapes": [
     6    {
     7      "id": "a",
     8      "type": "rectangle",
     9      "pos": {
    10        "x": 0,
    11        "y": 0
    12      },
    13      "width": 53,
    14      "height": 282,
    15      "opacity": 1,
    16      "strokeDash": 0,
    17      "strokeWidth": 2,
    18      "borderRadius": 0,
    19      "fill": "B6",
    20      "stroke": "B1",
    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": null,
    33      "label": "a",
    34      "fontSize": 16,
    35      "fontFamily": "DEFAULT",
    36      "language": "",
    37      "color": "N1",
    38      "italic": false,
    39      "bold": true,
    40      "underline": false,
    41      "labelWidth": 8,
    42      "labelHeight": 21,
    43      "labelPosition": "INSIDE_MIDDLE_CENTER",
    44      "zIndex": 0,
    45      "level": 1
    46    },
    47    {
    48      "id": "b",
    49      "type": "rectangle",
    50      "pos": {
    51        "x": 93,
    52        "y": 0
    53      },
    54      "width": 244,
    55      "height": 282,
    56      "opacity": 1,
    57      "strokeDash": 0,
    58      "strokeWidth": 2,
    59      "borderRadius": 0,
    60      "fill": "B4",
    61      "stroke": "B1",
    62      "shadow": false,
    63      "3d": false,
    64      "multiple": false,
    65      "double-border": false,
    66      "tooltip": "",
    67      "link": "",
    68      "icon": null,
    69      "iconPosition": "",
    70      "blend": false,
    71      "fields": null,
    72      "methods": null,
    73      "columns": null,
    74      "label": "b",
    75      "fontSize": 28,
    76      "fontFamily": "DEFAULT",
    77      "language": "",
    78      "color": "N1",
    79      "italic": false,
    80      "bold": false,
    81      "underline": false,
    82      "labelWidth": 13,
    83      "labelHeight": 36,
    84      "labelPosition": "INSIDE_TOP_CENTER",
    85      "zIndex": 0,
    86      "level": 1
    87    },
    88    {
    89      "id": "b.AA",
    90      "type": "rectangle",
    91      "pos": {
    92        "x": 153,
    93        "y": 96
    94      },
    95      "width": 124,
    96      "height": 126,
    97      "opacity": 1,
    98      "strokeDash": 0,
    99      "strokeWidth": 2,
   100      "borderRadius": 0,
   101      "fill": "B5",
   102      "stroke": "B1",
   103      "shadow": false,
   104      "3d": false,
   105      "multiple": false,
   106      "double-border": false,
   107      "tooltip": "",
   108      "link": "",
   109      "icon": null,
   110      "iconPosition": "",
   111      "blend": false,
   112      "fields": null,
   113      "methods": null,
   114      "columns": null,
   115      "label": "AA",
   116      "fontSize": 24,
   117      "fontFamily": "DEFAULT",
   118      "language": "",
   119      "color": "N1",
   120      "italic": false,
   121      "bold": false,
   122      "underline": false,
   123      "labelWidth": 27,
   124      "labelHeight": 31,
   125      "labelPosition": "OUTSIDE_TOP_CENTER",
   126      "zIndex": 0,
   127      "level": 2
   128    },
   129    {
   130      "id": "b.AA.BB",
   131      "type": "rectangle",
   132      "pos": {
   133        "x": 183,
   134        "y": 126
   135      },
   136      "width": 64,
   137      "height": 66,
   138      "opacity": 1,
   139      "strokeDash": 0,
   140      "strokeWidth": 2,
   141      "borderRadius": 0,
   142      "fill": "B6",
   143      "stroke": "B1",
   144      "shadow": false,
   145      "3d": false,
   146      "multiple": false,
   147      "double-border": false,
   148      "tooltip": "",
   149      "link": "",
   150      "icon": null,
   151      "iconPosition": "",
   152      "blend": false,
   153      "fields": null,
   154      "methods": null,
   155      "columns": null,
   156      "label": "BB",
   157      "fontSize": 16,
   158      "fontFamily": "DEFAULT",
   159      "language": "",
   160      "color": "N1",
   161      "italic": false,
   162      "bold": true,
   163      "underline": false,
   164      "labelWidth": 19,
   165      "labelHeight": 21,
   166      "labelPosition": "INSIDE_MIDDLE_CENTER",
   167      "zIndex": 0,
   168      "level": 3
   169    }
   170  ],
   171  "connections": [
   172    {
   173      "id": "(a -> b.AA)[0]",
   174      "src": "a",
   175      "srcArrow": "none",
   176      "dst": "b.AA",
   177      "dstArrow": "triangle",
   178      "opacity": 1,
   179      "strokeDash": 0,
   180      "strokeWidth": 2,
   181      "stroke": "B1",
   182      "borderRadius": 10,
   183      "label": "",
   184      "fontSize": 16,
   185      "fontFamily": "DEFAULT",
   186      "language": "",
   187      "color": "N2",
   188      "italic": true,
   189      "bold": false,
   190      "underline": false,
   191      "labelWidth": 0,
   192      "labelHeight": 0,
   193      "labelPosition": "",
   194      "labelPercentage": 0,
   195      "route": [
   196        {
   197          "x": 53,
   198          "y": 144
   199        },
   200        {
   201          "x": 153,
   202          "y": 153
   203        }
   204      ],
   205      "animated": false,
   206      "tooltip": "",
   207      "icon": null,
   208      "zIndex": 0
   209    }
   210  ],
   211  "root": {
   212    "id": "",
   213    "type": "",
   214    "pos": {
   215      "x": 0,
   216      "y": 0
   217    },
   218    "width": 0,
   219    "height": 0,
   220    "opacity": 0,
   221    "strokeDash": 0,
   222    "strokeWidth": 0,
   223    "borderRadius": 0,
   224    "fill": "N7",
   225    "stroke": "",
   226    "shadow": false,
   227    "3d": false,
   228    "multiple": false,
   229    "double-border": false,
   230    "tooltip": "",
   231    "link": "",
   232    "icon": null,
   233    "iconPosition": "",
   234    "blend": false,
   235    "fields": null,
   236    "methods": null,
   237    "columns": null,
   238    "label": "",
   239    "fontSize": 0,
   240    "fontFamily": "",
   241    "language": "",
   242    "color": "",
   243    "italic": false,
   244    "bold": false,
   245    "underline": false,
   246    "labelWidth": 0,
   247    "labelHeight": 0,
   248    "zIndex": 0,
   249    "level": 0
   250  }
   251}

View as plain text