...

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

Documentation: oss.terrastruct.com/d2/e2etests/testdata/stable/label-near/elk

     1{
     2  "name": "",
     3  "isFolderOnly": false,
     4  "fontFamily": "SourceSansPro",
     5  "shapes": [
     6    {
     7      "id": "x",
     8      "type": "rectangle",
     9      "pos": {
    10        "x": 12,
    11        "y": 76
    12      },
    13      "width": 123,
    14      "height": 118,
    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": {
    28        "Scheme": "https",
    29        "Opaque": "",
    30        "User": null,
    31        "Host": "icons.terrastruct.com",
    32        "Path": "/essentials/005-programmer.svg",
    33        "RawPath": "/essentials%2F005-programmer.svg",
    34        "OmitHost": false,
    35        "ForceQuery": false,
    36        "RawQuery": "",
    37        "Fragment": "",
    38        "RawFragment": ""
    39      },
    40      "iconPosition": "OUTSIDE_TOP_RIGHT",
    41      "blend": false,
    42      "fields": null,
    43      "methods": null,
    44      "columns": null,
    45      "label": "worker",
    46      "fontSize": 16,
    47      "fontFamily": "DEFAULT",
    48      "language": "",
    49      "color": "N1",
    50      "italic": false,
    51      "bold": true,
    52      "underline": false,
    53      "labelWidth": 52,
    54      "labelHeight": 21,
    55      "labelPosition": "INSIDE_TOP_CENTER",
    56      "zIndex": 0,
    57      "level": 1
    58    },
    59    {
    60      "id": "y",
    61      "type": "rectangle",
    62      "pos": {
    63        "x": 205,
    64        "y": 12
    65      },
    66      "width": 118,
    67      "height": 118,
    68      "opacity": 1,
    69      "strokeDash": 0,
    70      "strokeWidth": 2,
    71      "borderRadius": 0,
    72      "fill": "B6",
    73      "stroke": "B1",
    74      "shadow": false,
    75      "3d": false,
    76      "multiple": false,
    77      "double-border": false,
    78      "tooltip": "",
    79      "link": "",
    80      "icon": {
    81        "Scheme": "https",
    82        "Opaque": "",
    83        "User": null,
    84        "Host": "icons.terrastruct.com",
    85        "Path": "/essentials/profits.svg",
    86        "RawPath": "/essentials%2Fprofits.svg",
    87        "OmitHost": false,
    88        "ForceQuery": false,
    89        "RawQuery": "",
    90        "Fragment": "",
    91        "RawFragment": ""
    92      },
    93      "iconPosition": "OUTSIDE_BOTTOM_CENTER",
    94      "blend": false,
    95      "fields": null,
    96      "methods": null,
    97      "columns": null,
    98      "label": "profits",
    99      "fontSize": 16,
   100      "fontFamily": "DEFAULT",
   101      "language": "",
   102      "color": "N1",
   103      "italic": false,
   104      "bold": true,
   105      "underline": false,
   106      "labelWidth": 47,
   107      "labelHeight": 21,
   108      "labelPosition": "INSIDE_BOTTOM_RIGHT",
   109      "zIndex": 0,
   110      "level": 1
   111    }
   112  ],
   113  "connections": [
   114    {
   115      "id": "(x -> y)[0]",
   116      "src": "x",
   117      "srcArrow": "none",
   118      "dst": "y",
   119      "dstArrow": "triangle",
   120      "opacity": 1,
   121      "strokeDash": 0,
   122      "strokeWidth": 2,
   123      "stroke": "B1",
   124      "borderRadius": 10,
   125      "label": "",
   126      "fontSize": 16,
   127      "fontFamily": "DEFAULT",
   128      "language": "",
   129      "color": "N2",
   130      "italic": true,
   131      "bold": false,
   132      "underline": false,
   133      "labelWidth": 0,
   134      "labelHeight": 0,
   135      "labelPosition": "",
   136      "labelPercentage": 0,
   137      "route": [
   138        {
   139          "x": 135,
   140          "y": 103
   141        },
   142        {
   143          "x": 205,
   144          "y": 103
   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