...

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

Documentation: oss.terrastruct.com/d2/e2etests/testdata/stable/arrowhead_labels/dagre

     1{
     2  "name": "",
     3  "isFolderOnly": false,
     4  "fontFamily": "SourceSansPro",
     5  "shapes": [
     6    {
     7      "id": "a",
     8      "type": "rectangle",
     9      "pos": {
    10        "x": 74,
    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": 74,
    52        "y": 187
    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      "srcLabel": {
    95        "label": "1",
    96        "fontSize": 0,
    97        "fontFamily": "",
    98        "language": "",
    99        "color": "",
   100        "italic": false,
   101        "bold": false,
   102        "underline": false,
   103        "labelWidth": 7,
   104        "labelHeight": 21
   105      },
   106      "dst": "b",
   107      "dstArrow": "diamond",
   108      "dstLabel": {
   109        "label": "*",
   110        "fontSize": 0,
   111        "fontFamily": "",
   112        "language": "",
   113        "color": "",
   114        "italic": false,
   115        "bold": false,
   116        "underline": false,
   117        "labelWidth": 5,
   118        "labelHeight": 21
   119      },
   120      "opacity": 1,
   121      "strokeDash": 0,
   122      "strokeWidth": 2,
   123      "stroke": "B1",
   124      "borderRadius": 10,
   125      "label": "To err is human, to moo bovine",
   126      "fontSize": 16,
   127      "fontFamily": "DEFAULT",
   128      "language": "",
   129      "color": "N2",
   130      "italic": true,
   131      "bold": false,
   132      "underline": false,
   133      "labelWidth": 201,
   134      "labelHeight": 21,
   135      "labelPosition": "INSIDE_MIDDLE_CENTER",
   136      "labelPercentage": 0,
   137      "route": [
   138        {
   139          "x": 100.5,
   140          "y": 65.5
   141        },
   142        {
   143          "x": 100.5,
   144          "y": 114.30000305175781
   145        },
   146        {
   147          "x": 100.5,
   148          "y": 138.6999969482422
   149        },
   150        {
   151          "x": 100.5,
   152          "y": 187.5
   153        }
   154      ],
   155      "isCurve": true,
   156      "animated": false,
   157      "tooltip": "",
   158      "icon": null,
   159      "zIndex": 0
   160    }
   161  ],
   162  "root": {
   163    "id": "",
   164    "type": "",
   165    "pos": {
   166      "x": 0,
   167      "y": 0
   168    },
   169    "width": 0,
   170    "height": 0,
   171    "opacity": 0,
   172    "strokeDash": 0,
   173    "strokeWidth": 0,
   174    "borderRadius": 0,
   175    "fill": "N7",
   176    "stroke": "",
   177    "shadow": false,
   178    "3d": false,
   179    "multiple": false,
   180    "double-border": false,
   181    "tooltip": "",
   182    "link": "",
   183    "icon": null,
   184    "iconPosition": "",
   185    "blend": false,
   186    "fields": null,
   187    "methods": null,
   188    "columns": null,
   189    "label": "",
   190    "fontSize": 0,
   191    "fontFamily": "",
   192    "language": "",
   193    "color": "",
   194    "italic": false,
   195    "bold": false,
   196    "underline": false,
   197    "labelWidth": 0,
   198    "labelHeight": 0,
   199    "zIndex": 0,
   200    "level": 0
   201  }
   202}

View as plain text