...

Text file src/oss.terrastruct.com/d2/e2etests/testdata/regression/opacity-on-label/dagre/board.exp.json

Documentation: oss.terrastruct.com/d2/e2etests/testdata/regression/opacity-on-label/dagre

     1{
     2  "name": "",
     3  "isFolderOnly": false,
     4  "fontFamily": "SourceSansPro",
     5  "shapes": [
     6    {
     7      "id": "x",
     8      "type": "rectangle",
     9      "pos": {
    10        "x": 135,
    11        "y": 0
    12      },
    13      "width": 53,
    14      "height": 66,
    15      "opacity": 0.4,
    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": "x",
    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": "y",
    49      "type": "text",
    50      "pos": {
    51        "x": 248,
    52        "y": 21
    53      },
    54      "width": 304,
    55      "height": 24,
    56      "opacity": 0.4,
    57      "strokeDash": 0,
    58      "strokeWidth": 2,
    59      "borderRadius": 0,
    60      "fill": "transparent",
    61      "stroke": "N1",
    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": "linux: because a PC is a terrible thing to waste",
    75      "fontSize": 16,
    76      "fontFamily": "DEFAULT",
    77      "language": "markdown",
    78      "color": "N1",
    79      "italic": false,
    80      "bold": false,
    81      "underline": false,
    82      "labelWidth": 304,
    83      "labelHeight": 24,
    84      "zIndex": 0,
    85      "level": 1
    86    },
    87    {
    88      "id": "a",
    89      "type": "rectangle",
    90      "pos": {
    91        "x": 135,
    92        "y": 203
    93      },
    94      "width": 53,
    95      "height": 66,
    96      "opacity": 1,
    97      "strokeDash": 0,
    98      "strokeWidth": 2,
    99      "borderRadius": 0,
   100      "fill": "B6",
   101      "stroke": "B1",
   102      "shadow": false,
   103      "3d": false,
   104      "multiple": false,
   105      "double-border": false,
   106      "tooltip": "",
   107      "link": "",
   108      "icon": null,
   109      "iconPosition": "",
   110      "blend": false,
   111      "fields": null,
   112      "methods": null,
   113      "columns": null,
   114      "label": "a",
   115      "fontSize": 16,
   116      "fontFamily": "DEFAULT",
   117      "language": "",
   118      "color": "N1",
   119      "italic": false,
   120      "bold": true,
   121      "underline": false,
   122      "labelWidth": 8,
   123      "labelHeight": 21,
   124      "labelPosition": "INSIDE_MIDDLE_CENTER",
   125      "zIndex": 0,
   126      "level": 1
   127    }
   128  ],
   129  "connections": [
   130    {
   131      "id": "(x -> a)[0]",
   132      "src": "x",
   133      "srcArrow": "none",
   134      "dst": "a",
   135      "dstArrow": "triangle",
   136      "opacity": 0.4,
   137      "strokeDash": 0,
   138      "strokeWidth": 2,
   139      "stroke": "B1",
   140      "borderRadius": 10,
   141      "label": "You don't have to know how the computer works,\njust how to work the computer.",
   142      "fontSize": 16,
   143      "fontFamily": "DEFAULT",
   144      "language": "",
   145      "color": "N2",
   146      "italic": true,
   147      "bold": false,
   148      "underline": false,
   149      "labelWidth": 322,
   150      "labelHeight": 37,
   151      "labelPosition": "INSIDE_MIDDLE_CENTER",
   152      "labelPercentage": 0,
   153      "route": [
   154        {
   155          "x": 161,
   156          "y": 65.5
   157        },
   158        {
   159          "x": 161,
   160          "y": 120.69999694824219
   161        },
   162        {
   163          "x": 161,
   164          "y": 148.3000030517578
   165        },
   166        {
   167          "x": 161,
   168          "y": 203.5
   169        }
   170      ],
   171      "isCurve": true,
   172      "animated": false,
   173      "tooltip": "",
   174      "icon": null,
   175      "zIndex": 0
   176    }
   177  ],
   178  "root": {
   179    "id": "",
   180    "type": "",
   181    "pos": {
   182      "x": 0,
   183      "y": 0
   184    },
   185    "width": 0,
   186    "height": 0,
   187    "opacity": 0,
   188    "strokeDash": 0,
   189    "strokeWidth": 0,
   190    "borderRadius": 0,
   191    "fill": "N7",
   192    "stroke": "",
   193    "shadow": false,
   194    "3d": false,
   195    "multiple": false,
   196    "double-border": false,
   197    "tooltip": "",
   198    "link": "",
   199    "icon": null,
   200    "iconPosition": "",
   201    "blend": false,
   202    "fields": null,
   203    "methods": null,
   204    "columns": null,
   205    "label": "",
   206    "fontSize": 0,
   207    "fontFamily": "",
   208    "language": "",
   209    "color": "",
   210    "italic": false,
   211    "bold": false,
   212    "underline": false,
   213    "labelWidth": 0,
   214    "labelHeight": 0,
   215    "zIndex": 0,
   216    "level": 0
   217  }
   218}

View as plain text