...

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

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

     1{
     2  "name": "",
     3  "isFolderOnly": false,
     4  "fontFamily": "SourceSansPro",
     5  "shapes": [
     6    {
     7      "id": "r1",
     8      "type": "image",
     9      "classes": [
    10        "rare"
    11      ],
    12      "pos": {
    13        "x": 0,
    14        "y": 0
    15      },
    16      "width": 32,
    17      "height": 32,
    18      "opacity": 1,
    19      "strokeDash": 0,
    20      "strokeWidth": 2,
    21      "borderRadius": 0,
    22      "fill": "N7",
    23      "stroke": "B1",
    24      "shadow": false,
    25      "3d": false,
    26      "multiple": false,
    27      "double-border": false,
    28      "tooltip": "",
    29      "link": "",
    30      "icon": {
    31        "Scheme": "https",
    32        "Opaque": "",
    33        "User": null,
    34        "Host": "raw.githubusercontent.com",
    35        "Path": "/frederic-loui/RARE-web/automated-update/docs/img/rare.svg",
    36        "RawPath": "",
    37        "OmitHost": false,
    38        "ForceQuery": false,
    39        "RawQuery": "",
    40        "Fragment": "",
    41        "RawFragment": ""
    42      },
    43      "iconPosition": "INSIDE_MIDDLE_CENTER",
    44      "blend": false,
    45      "fields": null,
    46      "methods": null,
    47      "columns": null,
    48      "label": "r1",
    49      "fontSize": 16,
    50      "fontFamily": "DEFAULT",
    51      "language": "",
    52      "color": "N1",
    53      "italic": false,
    54      "bold": true,
    55      "underline": false,
    56      "labelWidth": 14,
    57      "labelHeight": 21,
    58      "labelPosition": "OUTSIDE_BOTTOM_CENTER",
    59      "zIndex": 0,
    60      "level": 1
    61    },
    62    {
    63      "id": "r2",
    64      "type": "image",
    65      "classes": [
    66        "rare"
    67      ],
    68      "pos": {
    69        "x": 132,
    70        "y": 0
    71      },
    72      "width": 32,
    73      "height": 32,
    74      "opacity": 1,
    75      "strokeDash": 0,
    76      "strokeWidth": 2,
    77      "borderRadius": 0,
    78      "fill": "N7",
    79      "stroke": "B1",
    80      "shadow": false,
    81      "3d": false,
    82      "multiple": false,
    83      "double-border": false,
    84      "tooltip": "",
    85      "link": "",
    86      "icon": {
    87        "Scheme": "https",
    88        "Opaque": "",
    89        "User": null,
    90        "Host": "raw.githubusercontent.com",
    91        "Path": "/frederic-loui/RARE-web/automated-update/docs/img/rare.svg",
    92        "RawPath": "",
    93        "OmitHost": false,
    94        "ForceQuery": false,
    95        "RawQuery": "",
    96        "Fragment": "",
    97        "RawFragment": ""
    98      },
    99      "iconPosition": "INSIDE_MIDDLE_CENTER",
   100      "blend": false,
   101      "fields": null,
   102      "methods": null,
   103      "columns": null,
   104      "label": "r2",
   105      "fontSize": 16,
   106      "fontFamily": "DEFAULT",
   107      "language": "",
   108      "color": "N1",
   109      "italic": false,
   110      "bold": true,
   111      "underline": false,
   112      "labelWidth": 14,
   113      "labelHeight": 21,
   114      "labelPosition": "OUTSIDE_BOTTOM_CENTER",
   115      "zIndex": 0,
   116      "level": 1
   117    }
   118  ],
   119  "connections": [
   120    {
   121      "id": "(r1 <-> r2)[0]",
   122      "src": "r1",
   123      "srcArrow": "triangle",
   124      "srcLabel": {
   125        "label": "eth1",
   126        "fontSize": 0,
   127        "fontFamily": "",
   128        "language": "",
   129        "color": "",
   130        "italic": false,
   131        "bold": false,
   132        "underline": false,
   133        "labelWidth": 29,
   134        "labelHeight": 21
   135      },
   136      "dst": "r2",
   137      "dstArrow": "triangle",
   138      "dstLabel": {
   139        "label": "eth1",
   140        "fontSize": 0,
   141        "fontFamily": "",
   142        "language": "",
   143        "color": "",
   144        "italic": false,
   145        "bold": false,
   146        "underline": false,
   147        "labelWidth": 29,
   148        "labelHeight": 21
   149      },
   150      "opacity": 1,
   151      "strokeDash": 0,
   152      "strokeWidth": 2,
   153      "stroke": "B1",
   154      "borderRadius": 10,
   155      "label": "",
   156      "fontSize": 16,
   157      "fontFamily": "DEFAULT",
   158      "language": "",
   159      "color": "N2",
   160      "italic": true,
   161      "bold": false,
   162      "underline": false,
   163      "labelWidth": 0,
   164      "labelHeight": 0,
   165      "labelPosition": "",
   166      "labelPercentage": 0,
   167      "route": [
   168        {
   169          "x": 32,
   170          "y": 16
   171        },
   172        {
   173          "x": 72,
   174          "y": 16
   175        },
   176        {
   177          "x": 92,
   178          "y": 16
   179        },
   180        {
   181          "x": 132,
   182          "y": 16
   183        }
   184      ],
   185      "isCurve": true,
   186      "animated": false,
   187      "tooltip": "",
   188      "icon": null,
   189      "zIndex": 0
   190    }
   191  ],
   192  "root": {
   193    "id": "",
   194    "type": "",
   195    "pos": {
   196      "x": 0,
   197      "y": 0
   198    },
   199    "width": 0,
   200    "height": 0,
   201    "opacity": 0,
   202    "strokeDash": 0,
   203    "strokeWidth": 0,
   204    "borderRadius": 0,
   205    "fill": "transparent",
   206    "stroke": "",
   207    "shadow": false,
   208    "3d": false,
   209    "multiple": false,
   210    "double-border": false,
   211    "tooltip": "",
   212    "link": "",
   213    "icon": null,
   214    "iconPosition": "",
   215    "blend": false,
   216    "fields": null,
   217    "methods": null,
   218    "columns": null,
   219    "label": "",
   220    "fontSize": 0,
   221    "fontFamily": "",
   222    "language": "",
   223    "color": "",
   224    "italic": false,
   225    "bold": false,
   226    "underline": false,
   227    "labelWidth": 0,
   228    "labelHeight": 0,
   229    "zIndex": 0,
   230    "level": 0
   231  }
   232}

View as plain text