...

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

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

     1{
     2  "name": "",
     3  "isFolderOnly": false,
     4  "fontFamily": "SourceSansPro",
     5  "shapes": [
     6    {
     7      "id": "a",
     8      "type": "rectangle",
     9      "pos": {
    10        "x": 14,
    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": "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": 0,
    52        "y": 166
    53      },
    54      "width": 398,
    55      "height": 166,
    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": "OUTSIDE_TOP_CENTER",
    86      "zIndex": 0,
    87      "level": 1
    88    },
    89    {
    90      "id": "b.c",
    91      "type": "rectangle",
    92      "pos": {
    93        "x": 183,
    94        "y": 216
    95      },
    96      "width": 53,
    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": 182,
   135        "y": 432
   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": 127,
   176        "y": 0
   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": 240,
   217        "y": 0
   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": 351,
   258        "y": 0
   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": 40,
   322          "y": 66
   323        },
   324        {
   325          "x": 40,
   326          "y": 106
   327        },
   328        {
   329          "x": 68.5,
   330          "y": 179.9969940185547
   331        },
   332        {
   333          "x": 182.5,
   334          "y": 235.98500061035156
   335        }
   336      ],
   337      "isCurve": true,
   338      "animated": false,
   339      "tooltip": "",
   340      "icon": null,
   341      "zIndex": 0
   342    },
   343    {
   344      "id": "(b.c -> d)[0]",
   345      "src": "b.c",
   346      "srcArrow": "none",
   347      "dst": "d",
   348      "dstArrow": "filled-diamond",
   349      "opacity": 1,
   350      "strokeDash": 0,
   351      "strokeWidth": 8,
   352      "stroke": "B1",
   353      "borderRadius": 10,
   354      "label": "",
   355      "fontSize": 16,
   356      "fontFamily": "DEFAULT",
   357      "language": "",
   358      "color": "N2",
   359      "italic": true,
   360      "bold": false,
   361      "underline": false,
   362      "labelWidth": 0,
   363      "labelHeight": 0,
   364      "labelPosition": "",
   365      "labelPercentage": 0,
   366      "route": [
   367        {
   368          "x": 209,
   369          "y": 282
   370        },
   371        {
   372          "x": 209,
   373          "y": 322
   374        },
   375        {
   376          "x": 209,
   377          "y": 392
   378        },
   379        {
   380          "x": 209,
   381          "y": 432
   382        }
   383      ],
   384      "isCurve": true,
   385      "animated": false,
   386      "tooltip": "",
   387      "icon": null,
   388      "zIndex": 0
   389    },
   390    {
   391      "id": "(e -> b.c)[0]",
   392      "src": "e",
   393      "srcArrow": "none",
   394      "dst": "b.c",
   395      "dstArrow": "filled-diamond",
   396      "opacity": 1,
   397      "strokeDash": 0,
   398      "strokeWidth": 8,
   399      "stroke": "B1",
   400      "borderRadius": 10,
   401      "label": "",
   402      "fontSize": 16,
   403      "fontFamily": "DEFAULT",
   404      "language": "",
   405      "color": "N2",
   406      "italic": true,
   407      "bold": false,
   408      "underline": false,
   409      "labelWidth": 0,
   410      "labelHeight": 0,
   411      "labelPosition": "",
   412      "labelPercentage": 0,
   413      "route": [
   414        {
   415          "x": 153,
   416          "y": 66
   417        },
   418        {
   419          "x": 153,
   420          "y": 106
   421        },
   422        {
   423          "x": 159.8000030517578,
   424          "y": 176
   425        },
   426        {
   427          "x": 187,
   428          "y": 216
   429        }
   430      ],
   431      "isCurve": true,
   432      "animated": false,
   433      "tooltip": "",
   434      "icon": null,
   435      "zIndex": 0
   436    },
   437    {
   438      "id": "(f -> b)[0]",
   439      "src": "f",
   440      "srcArrow": "none",
   441      "dst": "b",
   442      "dstArrow": "filled-diamond",
   443      "opacity": 1,
   444      "strokeDash": 0,
   445      "strokeWidth": 8,
   446      "stroke": "red",
   447      "borderRadius": 10,
   448      "label": "",
   449      "fontSize": 16,
   450      "fontFamily": "DEFAULT",
   451      "language": "",
   452      "color": "N2",
   453      "italic": true,
   454      "bold": false,
   455      "underline": false,
   456      "labelWidth": 0,
   457      "labelHeight": 0,
   458      "labelPosition": "",
   459      "labelPercentage": 0,
   460      "route": [
   461        {
   462          "x": 265,
   463          "y": 66
   464        },
   465        {
   466          "x": 265,
   467          "y": 125
   468        }
   469      ],
   470      "animated": false,
   471      "tooltip": "",
   472      "icon": null,
   473      "zIndex": 0
   474    },
   475    {
   476      "id": "(g -> b)[0]",
   477      "src": "g",
   478      "srcArrow": "none",
   479      "dst": "b",
   480      "dstArrow": "filled-diamond",
   481      "opacity": 1,
   482      "strokeDash": 0,
   483      "strokeWidth": 8,
   484      "stroke": "B1",
   485      "borderRadius": 10,
   486      "label": "",
   487      "fontSize": 16,
   488      "fontFamily": "DEFAULT",
   489      "language": "",
   490      "color": "N2",
   491      "italic": true,
   492      "bold": false,
   493      "underline": false,
   494      "labelWidth": 0,
   495      "labelHeight": 0,
   496      "labelPosition": "",
   497      "labelPercentage": 0,
   498      "route": [
   499        {
   500          "x": 377.5,
   501          "y": 66
   502        },
   503        {
   504          "x": 377.5,
   505          "y": 106
   506        },
   507        {
   508          "x": 377.6000061035156,
   509          "y": 140
   510        },
   511        {
   512          "x": 378,
   513          "y": 236
   514        }
   515      ],
   516      "isCurve": true,
   517      "animated": false,
   518      "tooltip": "",
   519      "icon": null,
   520      "zIndex": 0
   521    }
   522  ],
   523  "root": {
   524    "id": "",
   525    "type": "",
   526    "pos": {
   527      "x": 0,
   528      "y": 0
   529    },
   530    "width": 0,
   531    "height": 0,
   532    "opacity": 0,
   533    "strokeDash": 0,
   534    "strokeWidth": 0,
   535    "borderRadius": 0,
   536    "fill": "N7",
   537    "stroke": "",
   538    "shadow": false,
   539    "3d": false,
   540    "multiple": false,
   541    "double-border": false,
   542    "tooltip": "",
   543    "link": "",
   544    "icon": null,
   545    "iconPosition": "",
   546    "blend": false,
   547    "fields": null,
   548    "methods": null,
   549    "columns": null,
   550    "label": "",
   551    "fontSize": 0,
   552    "fontFamily": "",
   553    "language": "",
   554    "color": "",
   555    "italic": false,
   556    "bold": false,
   557    "underline": false,
   558    "labelWidth": 0,
   559    "labelHeight": 0,
   560    "zIndex": 0,
   561    "level": 0
   562  }
   563}

View as plain text