...

Text file src/oss.terrastruct.com/d2/e2etests/testdata/todo/container_label_edge_adjustment2/dagre/board.exp.json

Documentation: oss.terrastruct.com/d2/e2etests/testdata/todo/container_label_edge_adjustment2/dagre

     1{
     2  "name": "",
     3  "isFolderOnly": false,
     4  "fontFamily": "SourceSansPro",
     5  "shapes": [
     6    {
     7      "id": "x",
     8      "type": "rectangle",
     9      "pos": {
    10        "x": 40,
    11        "y": 0
    12      },
    13      "width": 53,
    14      "height": 66,
    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": "x",
    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": "y",
    49      "type": "rectangle",
    50      "pos": {
    51        "x": 10,
    52        "y": 186
    53      },
    54      "width": 112,
    55      "height": 126,
    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": "bar",
    75      "fontSize": 28,
    76      "fontFamily": "DEFAULT",
    77      "language": "",
    78      "color": "N1",
    79      "italic": false,
    80      "bold": false,
    81      "underline": false,
    82      "labelWidth": 38,
    83      "labelHeight": 36,
    84      "labelPosition": "OUTSIDE_TOP_CENTER",
    85      "zIndex": 0,
    86      "level": 1
    87    },
    88    {
    89      "id": "y.z",
    90      "type": "rectangle",
    91      "pos": {
    92        "x": 40,
    93        "y": 216
    94      },
    95      "width": 52,
    96      "height": 66,
    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": "z",
   116      "fontSize": 16,
   117      "fontFamily": "DEFAULT",
   118      "language": "",
   119      "color": "N1",
   120      "italic": false,
   121      "bold": true,
   122      "underline": false,
   123      "labelWidth": 7,
   124      "labelHeight": 21,
   125      "labelPosition": "INSIDE_MIDDLE_CENTER",
   126      "zIndex": 0,
   127      "level": 2
   128    }
   129  ],
   130  "connections": [
   131    {
   132      "id": "(x -> y)[0]",
   133      "src": "x",
   134      "srcArrow": "none",
   135      "dst": "y",
   136      "dstArrow": "filled-diamond",
   137      "dstLabel": {
   138        "label": "foo",
   139        "fontSize": 0,
   140        "fontFamily": "",
   141        "language": "",
   142        "color": "",
   143        "italic": false,
   144        "bold": false,
   145        "underline": false,
   146        "labelWidth": 21,
   147        "labelHeight": 21
   148      },
   149      "opacity": 1,
   150      "strokeDash": 0,
   151      "strokeWidth": 2,
   152      "stroke": "B1",
   153      "borderRadius": 10,
   154      "label": "",
   155      "fontSize": 16,
   156      "fontFamily": "DEFAULT",
   157      "language": "",
   158      "color": "N2",
   159      "italic": true,
   160      "bold": false,
   161      "underline": false,
   162      "labelWidth": 0,
   163      "labelHeight": 0,
   164      "labelPosition": "",
   165      "labelPercentage": 0,
   166      "route": [
   167        {
   168          "x": 66,
   169          "y": 66
   170        },
   171        {
   172          "x": 66,
   173          "y": 106
   174        },
   175        {
   176          "x": 66,
   177          "y": 121.80000305175781
   178        },
   179        {
   180          "x": 66,
   181          "y": 145
   182        }
   183      ],
   184      "isCurve": true,
   185      "animated": false,
   186      "tooltip": "",
   187      "icon": null,
   188      "zIndex": 0
   189    }
   190  ],
   191  "root": {
   192    "id": "",
   193    "type": "",
   194    "pos": {
   195      "x": 0,
   196      "y": 0
   197    },
   198    "width": 0,
   199    "height": 0,
   200    "opacity": 0,
   201    "strokeDash": 0,
   202    "strokeWidth": 0,
   203    "borderRadius": 0,
   204    "fill": "N7",
   205    "stroke": "",
   206    "shadow": false,
   207    "3d": false,
   208    "multiple": false,
   209    "double-border": false,
   210    "tooltip": "",
   211    "link": "",
   212    "icon": null,
   213    "iconPosition": "",
   214    "blend": false,
   215    "fields": null,
   216    "methods": null,
   217    "columns": null,
   218    "label": "",
   219    "fontSize": 0,
   220    "fontFamily": "",
   221    "language": "",
   222    "color": "",
   223    "italic": false,
   224    "bold": false,
   225    "underline": false,
   226    "labelWidth": 0,
   227    "labelHeight": 0,
   228    "zIndex": 0,
   229    "level": 0
   230  }
   231}

View as plain text