...

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

Documentation: oss.terrastruct.com/d2/e2etests/testdata/regression/long_arrowhead_label/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": 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": "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": 0,
    52        "y": 166
    53      },
    54      "width": 53,
    55      "height": 66,
    56      "opacity": 1,
    57      "strokeDash": 0,
    58      "strokeWidth": 2,
    59      "borderRadius": 0,
    60      "fill": "B6",
    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": 16,
    76      "fontFamily": "DEFAULT",
    77      "language": "",
    78      "color": "N1",
    79      "italic": false,
    80      "bold": true,
    81      "underline": false,
    82      "labelWidth": 8,
    83      "labelHeight": 21,
    84      "labelPosition": "INSIDE_MIDDLE_CENTER",
    85      "zIndex": 0,
    86      "level": 1
    87    }
    88  ],
    89  "connections": [
    90    {
    91      "id": "(a -> b)[0]",
    92      "src": "a",
    93      "srcArrow": "none",
    94      "dst": "b",
    95      "dstArrow": "triangle",
    96      "dstLabel": {
    97        "label": "a to b with unexpectedly long target arrowhead label",
    98        "fontSize": 0,
    99        "fontFamily": "",
   100        "language": "",
   101        "color": "",
   102        "italic": false,
   103        "bold": false,
   104        "underline": false,
   105        "labelWidth": 348,
   106        "labelHeight": 21
   107      },
   108      "opacity": 1,
   109      "strokeDash": 0,
   110      "strokeWidth": 2,
   111      "stroke": "B1",
   112      "borderRadius": 10,
   113      "label": "",
   114      "fontSize": 16,
   115      "fontFamily": "DEFAULT",
   116      "language": "",
   117      "color": "N2",
   118      "italic": true,
   119      "bold": false,
   120      "underline": false,
   121      "labelWidth": 0,
   122      "labelHeight": 0,
   123      "labelPosition": "",
   124      "labelPercentage": 0,
   125      "route": [
   126        {
   127          "x": 26.5,
   128          "y": 66
   129        },
   130        {
   131          "x": 26.5,
   132          "y": 106
   133        },
   134        {
   135          "x": 26.5,
   136          "y": 126
   137        },
   138        {
   139          "x": 26.5,
   140          "y": 166
   141        }
   142      ],
   143      "isCurve": true,
   144      "animated": false,
   145      "tooltip": "",
   146      "icon": null,
   147      "zIndex": 0
   148    }
   149  ],
   150  "root": {
   151    "id": "",
   152    "type": "",
   153    "pos": {
   154      "x": 0,
   155      "y": 0
   156    },
   157    "width": 0,
   158    "height": 0,
   159    "opacity": 0,
   160    "strokeDash": 0,
   161    "strokeWidth": 0,
   162    "borderRadius": 0,
   163    "fill": "N7",
   164    "stroke": "",
   165    "shadow": false,
   166    "3d": false,
   167    "multiple": false,
   168    "double-border": false,
   169    "tooltip": "",
   170    "link": "",
   171    "icon": null,
   172    "iconPosition": "",
   173    "blend": false,
   174    "fields": null,
   175    "methods": null,
   176    "columns": null,
   177    "label": "",
   178    "fontSize": 0,
   179    "fontFamily": "",
   180    "language": "",
   181    "color": "",
   182    "italic": false,
   183    "bold": false,
   184    "underline": false,
   185    "labelWidth": 0,
   186    "labelHeight": 0,
   187    "zIndex": 0,
   188    "level": 0
   189  }
   190}

View as plain text