...

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

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

     1{
     2  "name": "",
     3  "isFolderOnly": false,
     4  "fontFamily": "SourceSansPro",
     5  "shapes": [
     6    {
     7      "id": "a",
     8      "type": "rectangle",
     9      "pos": {
    10        "x": 86,
    11        "y": 12
    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": 86,
    52        "y": 239
    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": 112.5,
   140          "y": 78
   141        },
   142        {
   143          "x": 112.5,
   144          "y": 239
   145        }
   146      ],
   147      "animated": false,
   148      "tooltip": "",
   149      "icon": null,
   150      "zIndex": 0
   151    }
   152  ],
   153  "root": {
   154    "id": "",
   155    "type": "",
   156    "pos": {
   157      "x": 0,
   158      "y": 0
   159    },
   160    "width": 0,
   161    "height": 0,
   162    "opacity": 0,
   163    "strokeDash": 0,
   164    "strokeWidth": 0,
   165    "borderRadius": 0,
   166    "fill": "N7",
   167    "stroke": "",
   168    "shadow": false,
   169    "3d": false,
   170    "multiple": false,
   171    "double-border": false,
   172    "tooltip": "",
   173    "link": "",
   174    "icon": null,
   175    "iconPosition": "",
   176    "blend": false,
   177    "fields": null,
   178    "methods": null,
   179    "columns": null,
   180    "label": "",
   181    "fontSize": 0,
   182    "fontFamily": "",
   183    "language": "",
   184    "color": "",
   185    "italic": false,
   186    "bold": false,
   187    "underline": false,
   188    "labelWidth": 0,
   189    "labelHeight": 0,
   190    "zIndex": 0,
   191    "level": 0
   192  }
   193}

View as plain text