...

Text file src/oss.terrastruct.com/d2/e2etests/testdata/regression/overlapping-edge-label/dagre/board.exp.json

Documentation: oss.terrastruct.com/d2/e2etests/testdata/regression/overlapping-edge-label/dagre

     1{
     2  "name": "",
     3  "isFolderOnly": false,
     4  "fontFamily": "SourceSansPro",
     5  "shapes": [
     6    {
     7      "id": "k8s",
     8      "type": "rectangle",
     9      "pos": {
    10        "x": 10,
    11        "y": 20
    12      },
    13      "width": 1155,
    14      "height": 126,
    15      "opacity": 1,
    16      "strokeDash": 0,
    17      "strokeWidth": 2,
    18      "borderRadius": 0,
    19      "fill": "B4",
    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": "Kubernetes",
    34      "fontSize": 28,
    35      "fontFamily": "DEFAULT",
    36      "language": "",
    37      "color": "N1",
    38      "italic": false,
    39      "bold": false,
    40      "underline": false,
    41      "labelWidth": 133,
    42      "labelHeight": 36,
    43      "labelPosition": "OUTSIDE_TOP_CENTER",
    44      "zIndex": 0,
    45      "level": 1
    46    },
    47    {
    48      "id": "k8s.m1",
    49      "type": "rectangle",
    50      "pos": {
    51        "x": 40,
    52        "y": 50
    53      },
    54      "width": 132,
    55      "height": 66,
    56      "opacity": 1,
    57      "strokeDash": 0,
    58      "strokeWidth": 2,
    59      "borderRadius": 0,
    60      "fill": "B5",
    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": "k8s-master1",
    75      "fontSize": 16,
    76      "fontFamily": "DEFAULT",
    77      "language": "",
    78      "color": "N1",
    79      "italic": false,
    80      "bold": true,
    81      "underline": false,
    82      "labelWidth": 87,
    83      "labelHeight": 21,
    84      "labelPosition": "INSIDE_MIDDLE_CENTER",
    85      "zIndex": 0,
    86      "level": 2
    87    },
    88    {
    89      "id": "k8s.m2",
    90      "type": "rectangle",
    91      "pos": {
    92        "x": 232,
    93        "y": 50
    94      },
    95      "width": 132,
    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": "k8s-master2",
   116      "fontSize": 16,
   117      "fontFamily": "DEFAULT",
   118      "language": "",
   119      "color": "N1",
   120      "italic": false,
   121      "bold": true,
   122      "underline": false,
   123      "labelWidth": 87,
   124      "labelHeight": 21,
   125      "labelPosition": "INSIDE_MIDDLE_CENTER",
   126      "zIndex": 0,
   127      "level": 2
   128    },
   129    {
   130      "id": "k8s.m3",
   131      "type": "rectangle",
   132      "pos": {
   133        "x": 424,
   134        "y": 50
   135      },
   136      "width": 132,
   137      "height": 66,
   138      "opacity": 1,
   139      "strokeDash": 0,
   140      "strokeWidth": 2,
   141      "borderRadius": 0,
   142      "fill": "B5",
   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": "k8s-master3",
   157      "fontSize": 16,
   158      "fontFamily": "DEFAULT",
   159      "language": "",
   160      "color": "N1",
   161      "italic": false,
   162      "bold": true,
   163      "underline": false,
   164      "labelWidth": 87,
   165      "labelHeight": 21,
   166      "labelPosition": "INSIDE_MIDDLE_CENTER",
   167      "zIndex": 0,
   168      "level": 2
   169    },
   170    {
   171      "id": "k8s.w1",
   172      "type": "rectangle",
   173      "pos": {
   174        "x": 616,
   175        "y": 50
   176      },
   177      "width": 133,
   178      "height": 66,
   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": "k8s-worker1",
   198      "fontSize": 16,
   199      "fontFamily": "DEFAULT",
   200      "language": "",
   201      "color": "N1",
   202      "italic": false,
   203      "bold": true,
   204      "underline": false,
   205      "labelWidth": 88,
   206      "labelHeight": 21,
   207      "labelPosition": "INSIDE_MIDDLE_CENTER",
   208      "zIndex": 0,
   209      "level": 2
   210    },
   211    {
   212      "id": "k8s.w2",
   213      "type": "rectangle",
   214      "pos": {
   215        "x": 809,
   216        "y": 50
   217      },
   218      "width": 133,
   219      "height": 66,
   220      "opacity": 1,
   221      "strokeDash": 0,
   222      "strokeWidth": 2,
   223      "borderRadius": 0,
   224      "fill": "B5",
   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": "k8s-worker2",
   239      "fontSize": 16,
   240      "fontFamily": "DEFAULT",
   241      "language": "",
   242      "color": "N1",
   243      "italic": false,
   244      "bold": true,
   245      "underline": false,
   246      "labelWidth": 88,
   247      "labelHeight": 21,
   248      "labelPosition": "INSIDE_MIDDLE_CENTER",
   249      "zIndex": 0,
   250      "level": 2
   251    },
   252    {
   253      "id": "k8s.w3",
   254      "type": "rectangle",
   255      "pos": {
   256        "x": 1002,
   257        "y": 50
   258      },
   259      "width": 133,
   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": "k8s-worker3",
   280      "fontSize": 16,
   281      "fontFamily": "DEFAULT",
   282      "language": "",
   283      "color": "N1",
   284      "italic": false,
   285      "bold": true,
   286      "underline": false,
   287      "labelWidth": 88,
   288      "labelHeight": 21,
   289      "labelPosition": "INSIDE_MIDDLE_CENTER",
   290      "zIndex": 0,
   291      "level": 2
   292    },
   293    {
   294      "id": "osvc",
   295      "type": "rectangle",
   296      "pos": {
   297        "x": 416,
   298        "y": 307
   299      },
   300      "width": 425,
   301      "height": 126,
   302      "opacity": 1,
   303      "strokeDash": 0,
   304      "strokeWidth": 2,
   305      "borderRadius": 0,
   306      "fill": "B4",
   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": "opensvc",
   321      "fontSize": 28,
   322      "fontFamily": "DEFAULT",
   323      "language": "",
   324      "color": "N1",
   325      "italic": false,
   326      "bold": false,
   327      "underline": false,
   328      "labelWidth": 97,
   329      "labelHeight": 36,
   330      "labelPosition": "OUTSIDE_TOP_CENTER",
   331      "zIndex": 0,
   332      "level": 1
   333    },
   334    {
   335      "id": "osvc.vm1",
   336      "type": "rectangle",
   337      "pos": {
   338        "x": 446,
   339        "y": 337
   340      },
   341      "width": 76,
   342      "height": 66,
   343      "opacity": 1,
   344      "strokeDash": 0,
   345      "strokeWidth": 2,
   346      "borderRadius": 0,
   347      "fill": "B5",
   348      "stroke": "B1",
   349      "shadow": false,
   350      "3d": false,
   351      "multiple": false,
   352      "double-border": false,
   353      "tooltip": "",
   354      "link": "",
   355      "icon": null,
   356      "iconPosition": "",
   357      "blend": false,
   358      "fields": null,
   359      "methods": null,
   360      "columns": null,
   361      "label": "VM1",
   362      "fontSize": 16,
   363      "fontFamily": "DEFAULT",
   364      "language": "",
   365      "color": "N1",
   366      "italic": false,
   367      "bold": true,
   368      "underline": false,
   369      "labelWidth": 31,
   370      "labelHeight": 21,
   371      "labelPosition": "INSIDE_MIDDLE_CENTER",
   372      "zIndex": 0,
   373      "level": 2
   374    },
   375    {
   376      "id": "osvc.vm2",
   377      "type": "rectangle",
   378      "pos": {
   379        "x": 645,
   380        "y": 337
   381      },
   382      "width": 76,
   383      "height": 66,
   384      "opacity": 1,
   385      "strokeDash": 0,
   386      "strokeWidth": 2,
   387      "borderRadius": 0,
   388      "fill": "B5",
   389      "stroke": "B1",
   390      "shadow": false,
   391      "3d": false,
   392      "multiple": false,
   393      "double-border": false,
   394      "tooltip": "",
   395      "link": "",
   396      "icon": null,
   397      "iconPosition": "",
   398      "blend": false,
   399      "fields": null,
   400      "methods": null,
   401      "columns": null,
   402      "label": "VM2",
   403      "fontSize": 16,
   404      "fontFamily": "DEFAULT",
   405      "language": "",
   406      "color": "N1",
   407      "italic": false,
   408      "bold": true,
   409      "underline": false,
   410      "labelWidth": 31,
   411      "labelHeight": 21,
   412      "labelPosition": "INSIDE_MIDDLE_CENTER",
   413      "zIndex": 0,
   414      "level": 2
   415    }
   416  ],
   417  "connections": [
   418    {
   419      "id": "(k8s -> osvc)[0]",
   420      "src": "k8s",
   421      "srcArrow": "none",
   422      "dst": "osvc",
   423      "dstArrow": "triangle",
   424      "opacity": 1,
   425      "strokeDash": 0,
   426      "strokeWidth": 2,
   427      "stroke": "B1",
   428      "borderRadius": 10,
   429      "label": "keycloak",
   430      "fontSize": 16,
   431      "fontFamily": "DEFAULT",
   432      "language": "",
   433      "color": "N2",
   434      "italic": true,
   435      "bold": false,
   436      "underline": false,
   437      "labelWidth": 59,
   438      "labelHeight": 21,
   439      "labelPosition": "INSIDE_MIDDLE_CENTER",
   440      "labelPercentage": 0,
   441      "route": [
   442        {
   443          "x": 532.5,
   444          "y": 145.5
   445        },
   446        {
   447          "x": 532.5,
   448          "y": 210.3000030517578
   449        },
   450        {
   451          "x": 532.5,
   452          "y": 242.6999969482422
   453        },
   454        {
   455          "x": 532.5,
   456          "y": 307.5
   457        }
   458      ],
   459      "isCurve": true,
   460      "animated": false,
   461      "tooltip": "",
   462      "icon": null,
   463      "zIndex": 0
   464    },
   465    {
   466      "id": "(k8s -> osvc)[1]",
   467      "src": "k8s",
   468      "srcArrow": "none",
   469      "dst": "osvc",
   470      "dstArrow": "triangle",
   471      "opacity": 1,
   472      "strokeDash": 0,
   473      "strokeWidth": 2,
   474      "stroke": "B1",
   475      "borderRadius": 10,
   476      "label": "heptapod",
   477      "fontSize": 16,
   478      "fontFamily": "DEFAULT",
   479      "language": "",
   480      "color": "N2",
   481      "italic": true,
   482      "bold": false,
   483      "underline": false,
   484      "labelWidth": 65,
   485      "labelHeight": 21,
   486      "labelPosition": "INSIDE_MIDDLE_CENTER",
   487      "labelPercentage": 0,
   488      "route": [
   489        {
   490          "x": 634.5,
   491          "y": 145.5
   492        },
   493        {
   494          "x": 634.5,
   495          "y": 210.3000030517578
   496        },
   497        {
   498          "x": 634.5,
   499          "y": 234.5
   500        },
   501        {
   502          "x": 634.5,
   503          "y": 266.5
   504        }
   505      ],
   506      "isCurve": true,
   507      "animated": false,
   508      "tooltip": "",
   509      "icon": null,
   510      "zIndex": 0
   511    },
   512    {
   513      "id": "(k8s -> osvc)[2]",
   514      "src": "k8s",
   515      "srcArrow": "none",
   516      "dst": "osvc",
   517      "dstArrow": "triangle",
   518      "opacity": 1,
   519      "strokeDash": 0,
   520      "strokeWidth": 2,
   521      "stroke": "B1",
   522      "borderRadius": 10,
   523      "label": "harbor",
   524      "fontSize": 16,
   525      "fontFamily": "DEFAULT",
   526      "language": "",
   527      "color": "N2",
   528      "italic": true,
   529      "bold": false,
   530      "underline": false,
   531      "labelWidth": 47,
   532      "labelHeight": 21,
   533      "labelPosition": "INSIDE_MIDDLE_CENTER",
   534      "labelPercentage": 0,
   535      "route": [
   536        {
   537          "x": 730.5,
   538          "y": 145.5
   539        },
   540        {
   541          "x": 730.5,
   542          "y": 210.3000030517578
   543        },
   544        {
   545          "x": 730.5,
   546          "y": 242.6999969482422
   547        },
   548        {
   549          "x": 730.5,
   550          "y": 307.5
   551        }
   552      ],
   553      "isCurve": true,
   554      "animated": false,
   555      "tooltip": "",
   556      "icon": null,
   557      "zIndex": 0
   558    },
   559    {
   560      "id": "(k8s -> osvc)[3]",
   561      "src": "k8s",
   562      "srcArrow": "none",
   563      "dst": "osvc",
   564      "dstArrow": "triangle",
   565      "opacity": 1,
   566      "strokeDash": 0,
   567      "strokeWidth": 2,
   568      "stroke": "B1",
   569      "borderRadius": 10,
   570      "label": "vault",
   571      "fontSize": 16,
   572      "fontFamily": "DEFAULT",
   573      "language": "",
   574      "color": "N2",
   575      "italic": true,
   576      "bold": false,
   577      "underline": false,
   578      "labelWidth": 35,
   579      "labelHeight": 21,
   580      "labelPosition": "INSIDE_MIDDLE_CENTER",
   581      "labelPercentage": 0,
   582      "route": [
   583        {
   584          "x": 811.5,
   585          "y": 145.5
   586        },
   587        {
   588          "x": 811.5,
   589          "y": 210.3000030517578
   590        },
   591        {
   592          "x": 811.5,
   593          "y": 242.6999969482422
   594        },
   595        {
   596          "x": 811.5,
   597          "y": 307.5
   598        }
   599      ],
   600      "isCurve": true,
   601      "animated": false,
   602      "tooltip": "",
   603      "icon": null,
   604      "zIndex": 0
   605    }
   606  ],
   607  "root": {
   608    "id": "",
   609    "type": "",
   610    "pos": {
   611      "x": 0,
   612      "y": 0
   613    },
   614    "width": 0,
   615    "height": 0,
   616    "opacity": 0,
   617    "strokeDash": 0,
   618    "strokeWidth": 0,
   619    "borderRadius": 0,
   620    "fill": "N7",
   621    "stroke": "",
   622    "shadow": false,
   623    "3d": false,
   624    "multiple": false,
   625    "double-border": false,
   626    "tooltip": "",
   627    "link": "",
   628    "icon": null,
   629    "iconPosition": "",
   630    "blend": false,
   631    "fields": null,
   632    "methods": null,
   633    "columns": null,
   634    "label": "",
   635    "fontSize": 0,
   636    "fontFamily": "",
   637    "language": "",
   638    "color": "",
   639    "italic": false,
   640    "bold": false,
   641    "underline": false,
   642    "labelWidth": 0,
   643    "labelHeight": 0,
   644    "zIndex": 0,
   645    "level": 0
   646  }
   647}

View as plain text