...

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

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

     1{
     2  "name": "",
     3  "isFolderOnly": false,
     4  "fontFamily": "SourceSansPro",
     5  "shapes": [
     6    {
     7      "id": "x",
     8      "type": "rectangle",
     9      "pos": {
    10        "x": 146,
    11        "y": 12
    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": 219,
    52        "y": 33
    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": 146,
    92        "y": 255
    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": 173,
   156          "y": 78
   157        },
   158        {
   159          "x": 173,
   160          "y": 255
   161        }
   162      ],
   163      "animated": false,
   164      "tooltip": "",
   165      "icon": null,
   166      "zIndex": 0
   167    }
   168  ],
   169  "root": {
   170    "id": "",
   171    "type": "",
   172    "pos": {
   173      "x": 0,
   174      "y": 0
   175    },
   176    "width": 0,
   177    "height": 0,
   178    "opacity": 0,
   179    "strokeDash": 0,
   180    "strokeWidth": 0,
   181    "borderRadius": 0,
   182    "fill": "N7",
   183    "stroke": "",
   184    "shadow": false,
   185    "3d": false,
   186    "multiple": false,
   187    "double-border": false,
   188    "tooltip": "",
   189    "link": "",
   190    "icon": null,
   191    "iconPosition": "",
   192    "blend": false,
   193    "fields": null,
   194    "methods": null,
   195    "columns": null,
   196    "label": "",
   197    "fontSize": 0,
   198    "fontFamily": "",
   199    "language": "",
   200    "color": "",
   201    "italic": false,
   202    "bold": false,
   203    "underline": false,
   204    "labelWidth": 0,
   205    "labelHeight": 0,
   206    "zIndex": 0,
   207    "level": 0
   208  }
   209}

View as plain text