...

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

Documentation: oss.terrastruct.com/d2/e2etests/testdata/regression/bold_edge_label/dagre

     1{
     2  "name": "",
     3  "isFolderOnly": false,
     4  "fontFamily": "SourceSansPro",
     5  "shapes": [
     6    {
     7      "id": "x",
     8      "type": "rectangle",
     9      "pos": {
    10        "x": 0,
    11        "y": 0
    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": 184,
    52        "y": 0
    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": 371,
    93        "y": 0
    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": 52.5,
   157          "y": 33
   158        },
   159        {
   160          "x": 105.30000305175781,
   161          "y": 33
   162        },
   163        {
   164          "x": 131.6999969482422,
   165          "y": 33
   166        },
   167        {
   168          "x": 184.5,
   169          "y": 33
   170        }
   171      ],
   172      "isCurve": true,
   173      "animated": false,
   174      "tooltip": "",
   175      "icon": null,
   176      "zIndex": 0
   177    },
   178    {
   179      "id": "(y -> z)[0]",
   180      "src": "y",
   181      "srcArrow": "none",
   182      "dst": "z",
   183      "dstArrow": "triangle",
   184      "opacity": 1,
   185      "strokeDash": 0,
   186      "strokeWidth": 2,
   187      "stroke": "B1",
   188      "borderRadius": 10,
   189      "label": "sync",
   190      "fontSize": 16,
   191      "fontFamily": "DEFAULT",
   192      "language": "",
   193      "color": "N2",
   194      "italic": true,
   195      "bold": true,
   196      "underline": false,
   197      "labelWidth": 33,
   198      "labelHeight": 21,
   199      "labelPosition": "INSIDE_MIDDLE_CENTER",
   200      "labelPercentage": 0,
   201      "route": [
   202        {
   203          "x": 237.5,
   204          "y": 33
   205        },
   206        {
   207          "x": 291.1000061035156,
   208          "y": 33
   209        },
   210        {
   211          "x": 317.8999938964844,
   212          "y": 33
   213        },
   214        {
   215          "x": 371.5,
   216          "y": 33
   217        }
   218      ],
   219      "isCurve": true,
   220      "animated": false,
   221      "tooltip": "",
   222      "icon": null,
   223      "zIndex": 0
   224    }
   225  ],
   226  "root": {
   227    "id": "",
   228    "type": "",
   229    "pos": {
   230      "x": 0,
   231      "y": 0
   232    },
   233    "width": 0,
   234    "height": 0,
   235    "opacity": 0,
   236    "strokeDash": 0,
   237    "strokeWidth": 0,
   238    "borderRadius": 0,
   239    "fill": "N7",
   240    "stroke": "",
   241    "shadow": false,
   242    "3d": false,
   243    "multiple": false,
   244    "double-border": false,
   245    "tooltip": "",
   246    "link": "",
   247    "icon": null,
   248    "iconPosition": "",
   249    "blend": false,
   250    "fields": null,
   251    "methods": null,
   252    "columns": null,
   253    "label": "",
   254    "fontSize": 0,
   255    "fontFamily": "",
   256    "language": "",
   257    "color": "",
   258    "italic": false,
   259    "bold": false,
   260    "underline": false,
   261    "labelWidth": 0,
   262    "labelHeight": 0,
   263    "zIndex": 0,
   264    "level": 0
   265  }
   266}

View as plain text