...

Text file src/oss.terrastruct.com/d2/e2etests/testdata/stable/container_edges/dagre/board.exp.json

Documentation: oss.terrastruct.com/d2/e2etests/testdata/stable/container_edges/dagre

     1{
     2  "name": "",
     3  "isFolderOnly": false,
     4  "fontFamily": "SourceSansPro",
     5  "shapes": [
     6    {
     7      "id": "a",
     8      "type": "rectangle",
     9      "pos": {
    10        "x": 40,
    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": "g",
    49      "type": "rectangle",
    50      "pos": {
    51        "x": 10,
    52        "y": 186
    53      },
    54      "width": 113,
    55      "height": 658,
    56      "opacity": 1,
    57      "strokeDash": 0,
    58      "strokeWidth": 2,
    59      "borderRadius": 0,
    60      "fill": "B4",
    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": "g",
    75      "fontSize": 28,
    76      "fontFamily": "DEFAULT",
    77      "language": "",
    78      "color": "N1",
    79      "italic": false,
    80      "bold": false,
    81      "underline": false,
    82      "labelWidth": 13,
    83      "labelHeight": 36,
    84      "labelPosition": "OUTSIDE_TOP_CENTER",
    85      "zIndex": 0,
    86      "level": 1
    87    },
    88    {
    89      "id": "g.b",
    90      "type": "rectangle",
    91      "pos": {
    92        "x": 40,
    93        "y": 216
    94      },
    95      "width": 53,
    96      "height": 66,
    97      "opacity": 1,
    98      "strokeDash": 0,
    99      "strokeWidth": 2,
   100      "borderRadius": 0,
   101      "fill": "B5",
   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": "b",
   116      "fontSize": 16,
   117      "fontFamily": "DEFAULT",
   118      "language": "",
   119      "color": "N1",
   120      "italic": false,
   121      "bold": true,
   122      "underline": false,
   123      "labelWidth": 8,
   124      "labelHeight": 21,
   125      "labelPosition": "INSIDE_MIDDLE_CENTER",
   126      "zIndex": 0,
   127      "level": 2
   128    },
   129    {
   130      "id": "d",
   131      "type": "rectangle",
   132      "pos": {
   133        "x": 153,
   134        "y": 411
   135      },
   136      "width": 173,
   137      "height": 197,
   138      "opacity": 1,
   139      "strokeDash": 0,
   140      "strokeWidth": 2,
   141      "borderRadius": 0,
   142      "fill": "B4",
   143      "stroke": "B1",
   144      "shadow": false,
   145      "3d": false,
   146      "multiple": false,
   147      "double-border": false,
   148      "tooltip": "",
   149      "link": "",
   150      "icon": null,
   151      "iconPosition": "",
   152      "blend": false,
   153      "fields": null,
   154      "methods": null,
   155      "columns": null,
   156      "label": "d",
   157      "fontSize": 28,
   158      "fontFamily": "DEFAULT",
   159      "language": "",
   160      "color": "N1",
   161      "italic": false,
   162      "bold": false,
   163      "underline": false,
   164      "labelWidth": 13,
   165      "labelHeight": 36,
   166      "labelPosition": "OUTSIDE_TOP_CENTER",
   167      "zIndex": 0,
   168      "level": 1
   169    },
   170    {
   171      "id": "d.h",
   172      "type": "rectangle",
   173      "pos": {
   174        "x": 183,
   175        "y": 452
   176      },
   177      "width": 113,
   178      "height": 126,
   179      "opacity": 1,
   180      "strokeDash": 0,
   181      "strokeWidth": 2,
   182      "borderRadius": 0,
   183      "fill": "B5",
   184      "stroke": "B1",
   185      "shadow": false,
   186      "3d": false,
   187      "multiple": false,
   188      "double-border": false,
   189      "tooltip": "",
   190      "link": "",
   191      "icon": null,
   192      "iconPosition": "",
   193      "blend": false,
   194      "fields": null,
   195      "methods": null,
   196      "columns": null,
   197      "label": "h",
   198      "fontSize": 24,
   199      "fontFamily": "DEFAULT",
   200      "language": "",
   201      "color": "N1",
   202      "italic": false,
   203      "bold": false,
   204      "underline": false,
   205      "labelWidth": 11,
   206      "labelHeight": 31,
   207      "labelPosition": "OUTSIDE_TOP_CENTER",
   208      "zIndex": 0,
   209      "level": 2
   210    },
   211    {
   212      "id": "d.h.c",
   213      "type": "rectangle",
   214      "pos": {
   215        "x": 213,
   216        "y": 482
   217      },
   218      "width": 53,
   219      "height": 66,
   220      "opacity": 1,
   221      "strokeDash": 0,
   222      "strokeWidth": 2,
   223      "borderRadius": 0,
   224      "fill": "B6",
   225      "stroke": "B1",
   226      "shadow": false,
   227      "3d": false,
   228      "multiple": false,
   229      "double-border": false,
   230      "tooltip": "",
   231      "link": "",
   232      "icon": null,
   233      "iconPosition": "",
   234      "blend": false,
   235      "fields": null,
   236      "methods": null,
   237      "columns": null,
   238      "label": "c",
   239      "fontSize": 16,
   240      "fontFamily": "DEFAULT",
   241      "language": "",
   242      "color": "N1",
   243      "italic": false,
   244      "bold": true,
   245      "underline": false,
   246      "labelWidth": 8,
   247      "labelHeight": 21,
   248      "labelPosition": "INSIDE_MIDDLE_CENTER",
   249      "zIndex": 0,
   250      "level": 3
   251    },
   252    {
   253      "id": "g.e",
   254      "type": "rectangle",
   255      "pos": {
   256        "x": 40,
   257        "y": 748
   258      },
   259      "width": 53,
   260      "height": 66,
   261      "opacity": 1,
   262      "strokeDash": 0,
   263      "strokeWidth": 2,
   264      "borderRadius": 0,
   265      "fill": "B5",
   266      "stroke": "B1",
   267      "shadow": false,
   268      "3d": false,
   269      "multiple": false,
   270      "double-border": false,
   271      "tooltip": "",
   272      "link": "",
   273      "icon": null,
   274      "iconPosition": "",
   275      "blend": false,
   276      "fields": null,
   277      "methods": null,
   278      "columns": null,
   279      "label": "e",
   280      "fontSize": 16,
   281      "fontFamily": "DEFAULT",
   282      "language": "",
   283      "color": "N1",
   284      "italic": false,
   285      "bold": true,
   286      "underline": false,
   287      "labelWidth": 8,
   288      "labelHeight": 21,
   289      "labelPosition": "INSIDE_MIDDLE_CENTER",
   290      "zIndex": 0,
   291      "level": 2
   292    },
   293    {
   294      "id": "f",
   295      "type": "rectangle",
   296      "pos": {
   297        "x": 41,
   298        "y": 964
   299      },
   300      "width": 51,
   301      "height": 66,
   302      "opacity": 1,
   303      "strokeDash": 0,
   304      "strokeWidth": 2,
   305      "borderRadius": 0,
   306      "fill": "B6",
   307      "stroke": "B1",
   308      "shadow": false,
   309      "3d": false,
   310      "multiple": false,
   311      "double-border": false,
   312      "tooltip": "",
   313      "link": "",
   314      "icon": null,
   315      "iconPosition": "",
   316      "blend": false,
   317      "fields": null,
   318      "methods": null,
   319      "columns": null,
   320      "label": "f",
   321      "fontSize": 16,
   322      "fontFamily": "DEFAULT",
   323      "language": "",
   324      "color": "N1",
   325      "italic": false,
   326      "bold": true,
   327      "underline": false,
   328      "labelWidth": 6,
   329      "labelHeight": 21,
   330      "labelPosition": "INSIDE_MIDDLE_CENTER",
   331      "zIndex": 0,
   332      "level": 1
   333    }
   334  ],
   335  "connections": [
   336    {
   337      "id": "(a -> g.b)[0]",
   338      "src": "a",
   339      "srcArrow": "none",
   340      "dst": "g.b",
   341      "dstArrow": "triangle",
   342      "opacity": 1,
   343      "strokeDash": 0,
   344      "strokeWidth": 2,
   345      "stroke": "B1",
   346      "borderRadius": 10,
   347      "label": "",
   348      "fontSize": 16,
   349      "fontFamily": "DEFAULT",
   350      "language": "",
   351      "color": "N2",
   352      "italic": true,
   353      "bold": false,
   354      "underline": false,
   355      "labelWidth": 0,
   356      "labelHeight": 0,
   357      "labelPosition": "",
   358      "labelPercentage": 0,
   359      "route": [
   360        {
   361          "x": 66.5,
   362          "y": 66
   363        },
   364        {
   365          "x": 66.5,
   366          "y": 106
   367        },
   368        {
   369          "x": 66.5,
   370          "y": 176
   371        },
   372        {
   373          "x": 66.5,
   374          "y": 216
   375        }
   376      ],
   377      "isCurve": true,
   378      "animated": false,
   379      "tooltip": "",
   380      "icon": null,
   381      "zIndex": 0
   382    },
   383    {
   384      "id": "(g.b -> d.h.c)[0]",
   385      "src": "g.b",
   386      "srcArrow": "none",
   387      "dst": "d.h.c",
   388      "dstArrow": "triangle",
   389      "opacity": 1,
   390      "strokeDash": 0,
   391      "strokeWidth": 2,
   392      "stroke": "B1",
   393      "borderRadius": 10,
   394      "label": "",
   395      "fontSize": 16,
   396      "fontFamily": "DEFAULT",
   397      "language": "",
   398      "color": "N2",
   399      "italic": true,
   400      "bold": false,
   401      "underline": false,
   402      "labelWidth": 0,
   403      "labelHeight": 0,
   404      "labelPosition": "",
   405      "labelPercentage": 0,
   406      "route": [
   407        {
   408          "x": 66.5,
   409          "y": 282
   410        },
   411        {
   412          "x": 66.5,
   413          "y": 322
   414        },
   415        {
   416          "x": 66.5,
   417          "y": 342
   418        },
   419        {
   420          "x": 66.5,
   421          "y": 357
   422        },
   423        {
   424          "x": 66.5,
   425          "y": 372
   426        },
   427        {
   428          "x": 95.9000015258789,
   429          "y": 446
   430        },
   431        {
   432          "x": 213.5,
   433          "y": 502
   434        }
   435      ],
   436      "isCurve": true,
   437      "animated": false,
   438      "tooltip": "",
   439      "icon": null,
   440      "zIndex": 0
   441    },
   442    {
   443      "id": "(d -> g.e)[0]",
   444      "src": "d",
   445      "srcArrow": "none",
   446      "dst": "g.e",
   447      "dstArrow": "triangle",
   448      "opacity": 1,
   449      "strokeDash": 0,
   450      "strokeWidth": 2,
   451      "stroke": "B1",
   452      "borderRadius": 10,
   453      "label": "",
   454      "fontSize": 16,
   455      "fontFamily": "DEFAULT",
   456      "language": "",
   457      "color": "N2",
   458      "italic": true,
   459      "bold": false,
   460      "underline": false,
   461      "labelWidth": 0,
   462      "labelHeight": 0,
   463      "labelPosition": "",
   464      "labelPercentage": 0,
   465      "route": [
   466        {
   467          "x": 226.25,
   468          "y": 608
   469        },
   470        {
   471          "x": 79.8499984741211,
   472          "y": 680
   473        },
   474        {
   475          "x": 46.04999923706055,
   476          "y": 708
   477        },
   478        {
   479          "x": 57.25,
   480          "y": 748
   481        }
   482      ],
   483      "isCurve": true,
   484      "animated": false,
   485      "tooltip": "",
   486      "icon": null,
   487      "zIndex": 0
   488    },
   489    {
   490      "id": "(g.e -> f)[0]",
   491      "src": "g.e",
   492      "srcArrow": "none",
   493      "dst": "f",
   494      "dstArrow": "triangle",
   495      "opacity": 1,
   496      "strokeDash": 0,
   497      "strokeWidth": 2,
   498      "stroke": "B1",
   499      "borderRadius": 10,
   500      "label": "",
   501      "fontSize": 16,
   502      "fontFamily": "DEFAULT",
   503      "language": "",
   504      "color": "N2",
   505      "italic": true,
   506      "bold": false,
   507      "underline": false,
   508      "labelWidth": 0,
   509      "labelHeight": 0,
   510      "labelPosition": "",
   511      "labelPercentage": 0,
   512      "route": [
   513        {
   514          "x": 61.25,
   515          "y": 814
   516        },
   517        {
   518          "x": 54.849998474121094,
   519          "y": 854
   520        },
   521        {
   522          "x": 54.849998474121094,
   523          "y": 924
   524        },
   525        {
   526          "x": 61.25,
   527          "y": 964
   528        }
   529      ],
   530      "isCurve": true,
   531      "animated": false,
   532      "tooltip": "",
   533      "icon": null,
   534      "zIndex": 0
   535    },
   536    {
   537      "id": "(f -> g)[0]",
   538      "src": "f",
   539      "srcArrow": "none",
   540      "dst": "g",
   541      "dstArrow": "triangle",
   542      "opacity": 1,
   543      "strokeDash": 0,
   544      "strokeWidth": 2,
   545      "stroke": "B1",
   546      "borderRadius": 10,
   547      "label": "",
   548      "fontSize": 16,
   549      "fontFamily": "DEFAULT",
   550      "language": "",
   551      "color": "N2",
   552      "italic": true,
   553      "bold": false,
   554      "underline": false,
   555      "labelWidth": 0,
   556      "labelHeight": 0,
   557      "labelPosition": "",
   558      "labelPercentage": 0,
   559      "route": [
   560        {
   561          "x": 75.75,
   562          "y": 964
   563        },
   564        {
   565          "x": 86.94999694824219,
   566          "y": 924
   567        },
   568        {
   569          "x": 89.75,
   570          "y": 900
   571        },
   572        {
   573          "x": 89.75,
   574          "y": 844
   575        }
   576      ],
   577      "isCurve": true,
   578      "animated": false,
   579      "tooltip": "",
   580      "icon": null,
   581      "zIndex": 0
   582    },
   583    {
   584      "id": "(g -> d.h)[0]",
   585      "src": "g",
   586      "srcArrow": "none",
   587      "dst": "d.h",
   588      "dstArrow": "triangle",
   589      "opacity": 1,
   590      "strokeDash": 0,
   591      "strokeWidth": 2,
   592      "stroke": "B1",
   593      "borderRadius": 10,
   594      "label": "",
   595      "fontSize": 16,
   596      "fontFamily": "DEFAULT",
   597      "language": "",
   598      "color": "N2",
   599      "italic": true,
   600      "bold": false,
   601      "underline": false,
   602      "labelWidth": 0,
   603      "labelHeight": 0,
   604      "labelPosition": "",
   605      "labelPercentage": 0,
   606      "route": [
   607        {
   608          "x": 122.75,
   609          "y": 685
   610        },
   611        {
   612          "x": 234.75,
   613          "y": 655.4000244140625
   614        },
   615        {
   616          "x": 262.75,
   617          "y": 634
   618        },
   619        {
   620          "x": 262.75,
   621          "y": 578
   622        }
   623      ],
   624      "isCurve": true,
   625      "animated": false,
   626      "tooltip": "",
   627      "icon": null,
   628      "zIndex": 0
   629    }
   630  ],
   631  "root": {
   632    "id": "",
   633    "type": "",
   634    "pos": {
   635      "x": 0,
   636      "y": 0
   637    },
   638    "width": 0,
   639    "height": 0,
   640    "opacity": 0,
   641    "strokeDash": 0,
   642    "strokeWidth": 0,
   643    "borderRadius": 0,
   644    "fill": "N7",
   645    "stroke": "",
   646    "shadow": false,
   647    "3d": false,
   648    "multiple": false,
   649    "double-border": false,
   650    "tooltip": "",
   651    "link": "",
   652    "icon": null,
   653    "iconPosition": "",
   654    "blend": false,
   655    "fields": null,
   656    "methods": null,
   657    "columns": null,
   658    "label": "",
   659    "fontSize": 0,
   660    "fontFamily": "",
   661    "language": "",
   662    "color": "",
   663    "italic": false,
   664    "bold": false,
   665    "underline": false,
   666    "labelWidth": 0,
   667    "labelHeight": 0,
   668    "zIndex": 0,
   669    "level": 0
   670  }
   671}

View as plain text