...

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

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

     1{
     2  "name": "",
     3  "isFolderOnly": false,
     4  "fontFamily": "SourceSansPro",
     5  "shapes": [
     6    {
     7      "id": "x",
     8      "type": "rectangle",
     9      "pos": {
    10        "x": 17,
    11        "y": 0
    12      },
    13      "width": 85,
    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": "https://d2lang.com",
    27      "prettyLink": "https://d2lang.com",
    28      "icon": null,
    29      "iconPosition": "",
    30      "blend": false,
    31      "fields": null,
    32      "methods": null,
    33      "columns": null,
    34      "label": "x",
    35      "fontSize": 16,
    36      "fontFamily": "DEFAULT",
    37      "language": "",
    38      "color": "N1",
    39      "italic": false,
    40      "bold": true,
    41      "underline": false,
    42      "labelWidth": 8,
    43      "labelHeight": 21,
    44      "labelPosition": "INSIDE_MIDDLE_CENTER",
    45      "zIndex": 0,
    46      "level": 1
    47    },
    48    {
    49      "id": "y",
    50      "type": "rectangle",
    51      "pos": {
    52        "x": 0,
    53        "y": 166
    54      },
    55      "width": 118,
    56      "height": 66,
    57      "opacity": 1,
    58      "strokeDash": 0,
    59      "strokeWidth": 2,
    60      "borderRadius": 0,
    61      "fill": "B6",
    62      "stroke": "B1",
    63      "shadow": false,
    64      "3d": false,
    65      "multiple": false,
    66      "double-border": false,
    67      "tooltip": "Gee, I feel kind of LIGHT in the head now,\nknowing I can't make my satellite dish PAYMENTS!",
    68      "link": "https://terrastruct.com",
    69      "prettyLink": "https://terrastruct.com",
    70      "icon": null,
    71      "iconPosition": "",
    72      "blend": false,
    73      "fields": null,
    74      "methods": null,
    75      "columns": null,
    76      "label": "y",
    77      "fontSize": 16,
    78      "fontFamily": "DEFAULT",
    79      "language": "",
    80      "color": "N1",
    81      "italic": false,
    82      "bold": true,
    83      "underline": false,
    84      "labelWidth": 9,
    85      "labelHeight": 21,
    86      "labelPosition": "INSIDE_MIDDLE_CENTER",
    87      "zIndex": 0,
    88      "level": 1
    89    }
    90  ],
    91  "connections": [
    92    {
    93      "id": "(x -> y)[0]",
    94      "src": "x",
    95      "srcArrow": "none",
    96      "dst": "y",
    97      "dstArrow": "triangle",
    98      "opacity": 1,
    99      "strokeDash": 0,
   100      "strokeWidth": 2,
   101      "stroke": "B1",
   102      "borderRadius": 10,
   103      "label": "",
   104      "fontSize": 16,
   105      "fontFamily": "DEFAULT",
   106      "language": "",
   107      "color": "N2",
   108      "italic": true,
   109      "bold": false,
   110      "underline": false,
   111      "labelWidth": 0,
   112      "labelHeight": 0,
   113      "labelPosition": "",
   114      "labelPercentage": 0,
   115      "route": [
   116        {
   117          "x": 59,
   118          "y": 66
   119        },
   120        {
   121          "x": 59,
   122          "y": 106
   123        },
   124        {
   125          "x": 59,
   126          "y": 126
   127        },
   128        {
   129          "x": 59,
   130          "y": 166
   131        }
   132      ],
   133      "isCurve": true,
   134      "animated": false,
   135      "tooltip": "",
   136      "icon": null,
   137      "zIndex": 0
   138    }
   139  ],
   140  "root": {
   141    "id": "",
   142    "type": "",
   143    "pos": {
   144      "x": 0,
   145      "y": 0
   146    },
   147    "width": 0,
   148    "height": 0,
   149    "opacity": 0,
   150    "strokeDash": 0,
   151    "strokeWidth": 0,
   152    "borderRadius": 0,
   153    "fill": "N7",
   154    "stroke": "",
   155    "shadow": false,
   156    "3d": false,
   157    "multiple": false,
   158    "double-border": false,
   159    "tooltip": "",
   160    "link": "",
   161    "icon": null,
   162    "iconPosition": "",
   163    "blend": false,
   164    "fields": null,
   165    "methods": null,
   166    "columns": null,
   167    "label": "",
   168    "fontSize": 0,
   169    "fontFamily": "",
   170    "language": "",
   171    "color": "",
   172    "italic": false,
   173    "bold": false,
   174    "underline": false,
   175    "labelWidth": 0,
   176    "labelHeight": 0,
   177    "zIndex": 0,
   178    "level": 0
   179  }
   180}

View as plain text