...

Text file src/oss.terrastruct.com/d2/e2etests/testdata/todo/container_label_edge_adjustment/elk/board.exp.json

Documentation: oss.terrastruct.com/d2/e2etests/testdata/todo/container_label_edge_adjustment/elk

     1{
     2  "name": "",
     3  "isFolderOnly": false,
     4  "fontFamily": "SourceSansPro",
     5  "shapes": [
     6    {
     7      "id": "a",
     8      "type": "rectangle",
     9      "pos": {
    10        "x": 41,
    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": "a",
    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": "b",
    49      "type": "cloud",
    50      "pos": {
    51        "x": 12,
    52        "y": 213
    53      },
    54      "width": 294,
    55      "height": 254,
    56      "opacity": 1,
    57      "strokeDash": 0,
    58      "strokeWidth": 2,
    59      "borderRadius": 0,
    60      "fill": "N7",
    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      "contentAspectRatio": 7.2903685241231955,
    75      "label": "a container label",
    76      "fontSize": 28,
    77      "fontFamily": "DEFAULT",
    78      "language": "",
    79      "color": "N1",
    80      "italic": false,
    81      "bold": false,
    82      "underline": false,
    83      "labelWidth": 195,
    84      "labelHeight": 36,
    85      "labelPosition": "INSIDE_TOP_CENTER",
    86      "zIndex": 0,
    87      "level": 1
    88    },
    89    {
    90      "id": "b.c",
    91      "type": "rectangle",
    92      "pos": {
    93        "x": 119,
    94        "y": 351
    95      },
    96      "width": 80,
    97      "height": 66,
    98      "opacity": 1,
    99      "strokeDash": 0,
   100      "strokeWidth": 2,
   101      "borderRadius": 0,
   102      "fill": "B5",
   103      "stroke": "B1",
   104      "shadow": false,
   105      "3d": false,
   106      "multiple": false,
   107      "double-border": false,
   108      "tooltip": "",
   109      "link": "",
   110      "icon": null,
   111      "iconPosition": "",
   112      "blend": false,
   113      "fields": null,
   114      "methods": null,
   115      "columns": null,
   116      "label": "c",
   117      "fontSize": 16,
   118      "fontFamily": "DEFAULT",
   119      "language": "",
   120      "color": "N1",
   121      "italic": false,
   122      "bold": true,
   123      "underline": false,
   124      "labelWidth": 8,
   125      "labelHeight": 21,
   126      "labelPosition": "INSIDE_MIDDLE_CENTER",
   127      "zIndex": 0,
   128      "level": 2
   129    },
   130    {
   131      "id": "d",
   132      "type": "rectangle",
   133      "pos": {
   134        "x": 132,
   135        "y": 542
   136      },
   137      "width": 54,
   138      "height": 66,
   139      "opacity": 1,
   140      "strokeDash": 0,
   141      "strokeWidth": 2,
   142      "borderRadius": 0,
   143      "fill": "B6",
   144      "stroke": "B1",
   145      "shadow": false,
   146      "3d": false,
   147      "multiple": false,
   148      "double-border": false,
   149      "tooltip": "",
   150      "link": "",
   151      "icon": null,
   152      "iconPosition": "",
   153      "blend": false,
   154      "fields": null,
   155      "methods": null,
   156      "columns": null,
   157      "label": "d",
   158      "fontSize": 16,
   159      "fontFamily": "DEFAULT",
   160      "language": "",
   161      "color": "N1",
   162      "italic": false,
   163      "bold": true,
   164      "underline": false,
   165      "labelWidth": 9,
   166      "labelHeight": 21,
   167      "labelPosition": "INSIDE_MIDDLE_CENTER",
   168      "zIndex": 0,
   169      "level": 1
   170    },
   171    {
   172      "id": "e",
   173      "type": "rectangle",
   174      "pos": {
   175        "x": 114,
   176        "y": 12
   177      },
   178      "width": 53,
   179      "height": 66,
   180      "opacity": 1,
   181      "strokeDash": 0,
   182      "strokeWidth": 2,
   183      "borderRadius": 0,
   184      "fill": "B6",
   185      "stroke": "B1",
   186      "shadow": false,
   187      "3d": false,
   188      "multiple": false,
   189      "double-border": false,
   190      "tooltip": "",
   191      "link": "",
   192      "icon": null,
   193      "iconPosition": "",
   194      "blend": false,
   195      "fields": null,
   196      "methods": null,
   197      "columns": null,
   198      "label": "e",
   199      "fontSize": 16,
   200      "fontFamily": "DEFAULT",
   201      "language": "",
   202      "color": "N1",
   203      "italic": false,
   204      "bold": true,
   205      "underline": false,
   206      "labelWidth": 8,
   207      "labelHeight": 21,
   208      "labelPosition": "INSIDE_MIDDLE_CENTER",
   209      "zIndex": 0,
   210      "level": 1
   211    },
   212    {
   213      "id": "f",
   214      "type": "rectangle",
   215      "pos": {
   216        "x": 187,
   217        "y": 12
   218      },
   219      "width": 51,
   220      "height": 66,
   221      "opacity": 1,
   222      "strokeDash": 0,
   223      "strokeWidth": 2,
   224      "borderRadius": 0,
   225      "fill": "B6",
   226      "stroke": "B1",
   227      "shadow": false,
   228      "3d": false,
   229      "multiple": false,
   230      "double-border": false,
   231      "tooltip": "",
   232      "link": "",
   233      "icon": null,
   234      "iconPosition": "",
   235      "blend": false,
   236      "fields": null,
   237      "methods": null,
   238      "columns": null,
   239      "label": "f",
   240      "fontSize": 16,
   241      "fontFamily": "DEFAULT",
   242      "language": "",
   243      "color": "N1",
   244      "italic": false,
   245      "bold": true,
   246      "underline": false,
   247      "labelWidth": 6,
   248      "labelHeight": 21,
   249      "labelPosition": "INSIDE_MIDDLE_CENTER",
   250      "zIndex": 0,
   251      "level": 1
   252    },
   253    {
   254      "id": "g",
   255      "type": "rectangle",
   256      "pos": {
   257        "x": 258,
   258        "y": 12
   259      },
   260      "width": 54,
   261      "height": 66,
   262      "opacity": 1,
   263      "strokeDash": 0,
   264      "strokeWidth": 2,
   265      "borderRadius": 0,
   266      "fill": "B6",
   267      "stroke": "B1",
   268      "shadow": false,
   269      "3d": false,
   270      "multiple": false,
   271      "double-border": false,
   272      "tooltip": "",
   273      "link": "",
   274      "icon": null,
   275      "iconPosition": "",
   276      "blend": false,
   277      "fields": null,
   278      "methods": null,
   279      "columns": null,
   280      "label": "g",
   281      "fontSize": 16,
   282      "fontFamily": "DEFAULT",
   283      "language": "",
   284      "color": "N1",
   285      "italic": false,
   286      "bold": true,
   287      "underline": false,
   288      "labelWidth": 9,
   289      "labelHeight": 21,
   290      "labelPosition": "INSIDE_MIDDLE_CENTER",
   291      "zIndex": 0,
   292      "level": 1
   293    }
   294  ],
   295  "connections": [
   296    {
   297      "id": "(a -> b.c)[0]",
   298      "src": "a",
   299      "srcArrow": "none",
   300      "dst": "b.c",
   301      "dstArrow": "filled-diamond",
   302      "opacity": 1,
   303      "strokeDash": 0,
   304      "strokeWidth": 8,
   305      "stroke": "B1",
   306      "borderRadius": 10,
   307      "label": "",
   308      "fontSize": 16,
   309      "fontFamily": "DEFAULT",
   310      "language": "",
   311      "color": "N2",
   312      "italic": true,
   313      "bold": false,
   314      "underline": false,
   315      "labelWidth": 0,
   316      "labelHeight": 0,
   317      "labelPosition": "",
   318      "labelPercentage": 0,
   319      "route": [
   320        {
   321          "x": 68.33300018310547,
   322          "y": 78
   323        },
   324        {
   325          "x": 68.33300018310547,
   326          "y": 168
   327        },
   328        {
   329          "x": 145.66600036621094,
   330          "y": 168
   331        },
   332        {
   333          "x": 145.66600036621094,
   334          "y": 351
   335        }
   336      ],
   337      "animated": false,
   338      "tooltip": "",
   339      "icon": null,
   340      "zIndex": 0
   341    },
   342    {
   343      "id": "(b.c -> d)[0]",
   344      "src": "b.c",
   345      "srcArrow": "none",
   346      "dst": "d",
   347      "dstArrow": "filled-diamond",
   348      "opacity": 1,
   349      "strokeDash": 0,
   350      "strokeWidth": 8,
   351      "stroke": "B1",
   352      "borderRadius": 10,
   353      "label": "",
   354      "fontSize": 16,
   355      "fontFamily": "DEFAULT",
   356      "language": "",
   357      "color": "N2",
   358      "italic": true,
   359      "bold": false,
   360      "underline": false,
   361      "labelWidth": 0,
   362      "labelHeight": 0,
   363      "labelPosition": "",
   364      "labelPercentage": 0,
   365      "route": [
   366        {
   367          "x": 159,
   368          "y": 417
   369        },
   370        {
   371          "x": 159,
   372          "y": 542
   373        }
   374      ],
   375      "animated": false,
   376      "tooltip": "",
   377      "icon": null,
   378      "zIndex": 0
   379    },
   380    {
   381      "id": "(e -> b.c)[0]",
   382      "src": "e",
   383      "srcArrow": "none",
   384      "dst": "b.c",
   385      "dstArrow": "filled-diamond",
   386      "opacity": 1,
   387      "strokeDash": 0,
   388      "strokeWidth": 8,
   389      "stroke": "B1",
   390      "borderRadius": 10,
   391      "label": "",
   392      "fontSize": 16,
   393      "fontFamily": "DEFAULT",
   394      "language": "",
   395      "color": "N2",
   396      "italic": true,
   397      "bold": false,
   398      "underline": false,
   399      "labelWidth": 0,
   400      "labelHeight": 0,
   401      "labelPosition": "",
   402      "labelPercentage": 0,
   403      "route": [
   404        {
   405          "x": 141.33299255371094,
   406          "y": 78
   407        },
   408        {
   409          "x": 141.33299255371094,
   410          "y": 118
   411        },
   412        {
   413          "x": 172.33299255371094,
   414          "y": 118
   415        },
   416        {
   417          "x": 172.33299255371094,
   418          "y": 351
   419        }
   420      ],
   421      "animated": false,
   422      "tooltip": "",
   423      "icon": null,
   424      "zIndex": 0
   425    },
   426    {
   427      "id": "(f -> b)[0]",
   428      "src": "f",
   429      "srcArrow": "none",
   430      "dst": "b",
   431      "dstArrow": "filled-diamond",
   432      "opacity": 1,
   433      "strokeDash": 0,
   434      "strokeWidth": 8,
   435      "stroke": "red",
   436      "borderRadius": 10,
   437      "label": "",
   438      "fontSize": 16,
   439      "fontFamily": "DEFAULT",
   440      "language": "",
   441      "color": "N2",
   442      "italic": true,
   443      "bold": false,
   444      "underline": false,
   445      "labelWidth": 0,
   446      "labelHeight": 0,
   447      "labelPosition": "",
   448      "labelPercentage": 0,
   449      "route": [
   450        {
   451          "x": 213.33299255371094,
   452          "y": 78
   453        },
   454        {
   455          "x": 213.33299255371094,
   456          "y": 118
   457        },
   458        {
   459          "x": 182.33299255371094,
   460          "y": 118
   461        },
   462        {
   463          "x": 182,
   464          "y": 214
   465        }
   466      ],
   467      "animated": false,
   468      "tooltip": "",
   469      "icon": null,
   470      "zIndex": 0
   471    },
   472    {
   473      "id": "(g -> b)[0]",
   474      "src": "g",
   475      "srcArrow": "none",
   476      "dst": "b",
   477      "dstArrow": "filled-diamond",
   478      "opacity": 1,
   479      "strokeDash": 0,
   480      "strokeWidth": 8,
   481      "stroke": "B1",
   482      "borderRadius": 10,
   483      "label": "",
   484      "fontSize": 16,
   485      "fontFamily": "DEFAULT",
   486      "language": "",
   487      "color": "N2",
   488      "italic": true,
   489      "bold": false,
   490      "underline": false,
   491      "labelWidth": 0,
   492      "labelHeight": 0,
   493      "labelPosition": "",
   494      "labelPercentage": 0,
   495      "route": [
   496        {
   497          "x": 285.8330078125,
   498          "y": 78
   499        },
   500        {
   501          "x": 286,
   502          "y": 318
   503        }
   504      ],
   505      "animated": false,
   506      "tooltip": "",
   507      "icon": null,
   508      "zIndex": 0
   509    }
   510  ],
   511  "root": {
   512    "id": "",
   513    "type": "",
   514    "pos": {
   515      "x": 0,
   516      "y": 0
   517    },
   518    "width": 0,
   519    "height": 0,
   520    "opacity": 0,
   521    "strokeDash": 0,
   522    "strokeWidth": 0,
   523    "borderRadius": 0,
   524    "fill": "N7",
   525    "stroke": "",
   526    "shadow": false,
   527    "3d": false,
   528    "multiple": false,
   529    "double-border": false,
   530    "tooltip": "",
   531    "link": "",
   532    "icon": null,
   533    "iconPosition": "",
   534    "blend": false,
   535    "fields": null,
   536    "methods": null,
   537    "columns": null,
   538    "label": "",
   539    "fontSize": 0,
   540    "fontFamily": "",
   541    "language": "",
   542    "color": "",
   543    "italic": false,
   544    "bold": false,
   545    "underline": false,
   546    "labelWidth": 0,
   547    "labelHeight": 0,
   548    "zIndex": 0,
   549    "level": 0
   550  }
   551}

View as plain text