...

Text file src/oss.terrastruct.com/d2/e2etests/testdata/regression/bold_edge_label/elk/board.exp.json

Documentation: oss.terrastruct.com/d2/e2etests/testdata/regression/bold_edge_label/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": 12
    12      },
    13      "width": 53,
    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": "",
    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": "rectangle",
    50      "pos": {
    51        "x": 236,
    52        "y": 12
    53      },
    54      "width": 54,
    55      "height": 66,
    56      "opacity": 1,
    57      "strokeDash": 0,
    58      "strokeWidth": 2,
    59      "borderRadius": 0,
    60      "fill": "B6",
    61      "stroke": "B1",
    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": "y",
    75      "fontSize": 16,
    76      "fontFamily": "DEFAULT",
    77      "language": "",
    78      "color": "N1",
    79      "italic": false,
    80      "bold": true,
    81      "underline": false,
    82      "labelWidth": 9,
    83      "labelHeight": 21,
    84      "labelPosition": "INSIDE_MIDDLE_CENTER",
    85      "zIndex": 0,
    86      "level": 1
    87    },
    88    {
    89      "id": "z",
    90      "type": "rectangle",
    91      "pos": {
    92        "x": 463,
    93        "y": 12
    94      },
    95      "width": 52,
    96      "height": 66,
    97      "opacity": 1,
    98      "strokeDash": 0,
    99      "strokeWidth": 2,
   100      "borderRadius": 0,
   101      "fill": "B6",
   102      "stroke": "B1",
   103      "shadow": false,
   104      "3d": false,
   105      "multiple": false,
   106      "double-border": false,
   107      "tooltip": "",
   108      "link": "",
   109      "icon": null,
   110      "iconPosition": "",
   111      "blend": false,
   112      "fields": null,
   113      "methods": null,
   114      "columns": null,
   115      "label": "z",
   116      "fontSize": 16,
   117      "fontFamily": "DEFAULT",
   118      "language": "",
   119      "color": "N1",
   120      "italic": false,
   121      "bold": true,
   122      "underline": false,
   123      "labelWidth": 7,
   124      "labelHeight": 21,
   125      "labelPosition": "INSIDE_MIDDLE_CENTER",
   126      "zIndex": 0,
   127      "level": 1
   128    }
   129  ],
   130  "connections": [
   131    {
   132      "id": "(x -> y)[0]",
   133      "src": "x",
   134      "srcArrow": "none",
   135      "dst": "y",
   136      "dstArrow": "triangle",
   137      "opacity": 1,
   138      "strokeDash": 0,
   139      "strokeWidth": 2,
   140      "stroke": "B1",
   141      "borderRadius": 10,
   142      "label": "sync",
   143      "fontSize": 16,
   144      "fontFamily": "DEFAULT",
   145      "language": "",
   146      "color": "N2",
   147      "italic": true,
   148      "bold": false,
   149      "underline": false,
   150      "labelWidth": 31,
   151      "labelHeight": 21,
   152      "labelPosition": "INSIDE_MIDDLE_CENTER",
   153      "labelPercentage": 0,
   154      "route": [
   155        {
   156          "x": 65,
   157          "y": 45
   158        },
   159        {
   160          "x": 236,
   161          "y": 45
   162        }
   163      ],
   164      "animated": false,
   165      "tooltip": "",
   166      "icon": null,
   167      "zIndex": 0
   168    },
   169    {
   170      "id": "(y -> z)[0]",
   171      "src": "y",
   172      "srcArrow": "none",
   173      "dst": "z",
   174      "dstArrow": "triangle",
   175      "opacity": 1,
   176      "strokeDash": 0,
   177      "strokeWidth": 2,
   178      "stroke": "B1",
   179      "borderRadius": 10,
   180      "label": "sync",
   181      "fontSize": 16,
   182      "fontFamily": "DEFAULT",
   183      "language": "",
   184      "color": "N2",
   185      "italic": true,
   186      "bold": true,
   187      "underline": false,
   188      "labelWidth": 33,
   189      "labelHeight": 21,
   190      "labelPosition": "INSIDE_MIDDLE_CENTER",
   191      "labelPercentage": 0,
   192      "route": [
   193        {
   194          "x": 290,
   195          "y": 45
   196        },
   197        {
   198          "x": 463,
   199          "y": 45
   200        }
   201      ],
   202      "animated": false,
   203      "tooltip": "",
   204      "icon": null,
   205      "zIndex": 0
   206    }
   207  ],
   208  "root": {
   209    "id": "",
   210    "type": "",
   211    "pos": {
   212      "x": 0,
   213      "y": 0
   214    },
   215    "width": 0,
   216    "height": 0,
   217    "opacity": 0,
   218    "strokeDash": 0,
   219    "strokeWidth": 0,
   220    "borderRadius": 0,
   221    "fill": "N7",
   222    "stroke": "",
   223    "shadow": false,
   224    "3d": false,
   225    "multiple": false,
   226    "double-border": false,
   227    "tooltip": "",
   228    "link": "",
   229    "icon": null,
   230    "iconPosition": "",
   231    "blend": false,
   232    "fields": null,
   233    "methods": null,
   234    "columns": null,
   235    "label": "",
   236    "fontSize": 0,
   237    "fontFamily": "",
   238    "language": "",
   239    "color": "",
   240    "italic": false,
   241    "bold": false,
   242    "underline": false,
   243    "labelWidth": 0,
   244    "labelHeight": 0,
   245    "zIndex": 0,
   246    "level": 0
   247  }
   248}

View as plain text