...

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

Documentation: oss.terrastruct.com/d2/e2etests/testdata/stable/self-referencing/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": 96,
    52        "y": 166
    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": 193,
    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 -> x)[0]",
   133      "src": "x",
   134      "srcArrow": "none",
   135      "dst": "x",
   136      "dstArrow": "triangle",
   137      "opacity": 1,
   138      "strokeDash": 0,
   139      "strokeWidth": 2,
   140      "stroke": "B1",
   141      "borderRadius": 10,
   142      "label": "",
   143      "fontSize": 16,
   144      "fontFamily": "DEFAULT",
   145      "language": "",
   146      "color": "N2",
   147      "italic": true,
   148      "bold": false,
   149      "underline": false,
   150      "labelWidth": 0,
   151      "labelHeight": 0,
   152      "labelPosition": "",
   153      "labelPercentage": 0,
   154      "route": [
   155        {
   156          "x": 53.33300018310547,
   157          "y": 18
   158        },
   159        {
   160          "x": 79.73300170898438,
   161          "y": 3.5989999771118164
   162        },
   163        {
   164          "x": 88,
   165          "y": 0
   166        },
   167        {
   168          "x": 90.5,
   169          "y": 0
   170        },
   171        {
   172          "x": 93,
   173          "y": 0
   174        },
   175        {
   176          "x": 96.33300018310547,
   177          "y": 6.599999904632568
   178        },
   179        {
   180          "x": 98.83300018310547,
   181          "y": 16.5
   182        },
   183        {
   184          "x": 101.33300018310547,
   185          "y": 26.399999618530273
   186        },
   187        {
   188          "x": 101.33300018310547,
   189          "y": 39.599998474121094
   190        },
   191        {
   192          "x": 98.83300018310547,
   193          "y": 49.5
   194        },
   195        {
   196          "x": 96.33300018310547,
   197          "y": 59.400001525878906
   198        },
   199        {
   200          "x": 79.73300170898438,
   201          "y": 62.400001525878906
   202        },
   203        {
   204          "x": 53.33300018310547,
   205          "y": 48
   206        }
   207      ],
   208      "isCurve": true,
   209      "animated": false,
   210      "tooltip": "",
   211      "icon": null,
   212      "zIndex": 0
   213    },
   214    {
   215      "id": "(x -> x)[1]",
   216      "src": "x",
   217      "srcArrow": "none",
   218      "dst": "x",
   219      "dstArrow": "triangle",
   220      "opacity": 1,
   221      "strokeDash": 0,
   222      "strokeWidth": 2,
   223      "stroke": "B1",
   224      "borderRadius": 10,
   225      "label": "",
   226      "fontSize": 16,
   227      "fontFamily": "DEFAULT",
   228      "language": "",
   229      "color": "N2",
   230      "italic": true,
   231      "bold": false,
   232      "underline": false,
   233      "labelWidth": 0,
   234      "labelHeight": 0,
   235      "labelPosition": "",
   236      "labelPercentage": 0,
   237      "route": [
   238        {
   239          "x": 53,
   240          "y": 23
   241        },
   242        {
   243          "x": 101,
   244          "y": 4.598999977111816
   245        },
   246        {
   247          "x": 116,
   248          "y": 0
   249        },
   250        {
   251          "x": 120.5,
   252          "y": 0
   253        },
   254        {
   255          "x": 125,
   256          "y": 0
   257        },
   258        {
   259          "x": 131,
   260          "y": 6.599999904632568
   261        },
   262        {
   263          "x": 135.5,
   264          "y": 16.5
   265        },
   266        {
   267          "x": 140,
   268          "y": 26.399999618530273
   269        },
   270        {
   271          "x": 140,
   272          "y": 39.599998474121094
   273        },
   274        {
   275          "x": 135.5,
   276          "y": 49.5
   277        },
   278        {
   279          "x": 131,
   280          "y": 59.400001525878906
   281        },
   282        {
   283          "x": 101,
   284          "y": 61.400001525878906
   285        },
   286        {
   287          "x": 53,
   288          "y": 43
   289        }
   290      ],
   291      "isCurve": true,
   292      "animated": false,
   293      "tooltip": "",
   294      "icon": null,
   295      "zIndex": 0
   296    },
   297    {
   298      "id": "(x -> y)[0]",
   299      "src": "x",
   300      "srcArrow": "none",
   301      "dst": "y",
   302      "dstArrow": "triangle",
   303      "opacity": 1,
   304      "strokeDash": 0,
   305      "strokeWidth": 2,
   306      "stroke": "B1",
   307      "borderRadius": 10,
   308      "label": "",
   309      "fontSize": 16,
   310      "fontFamily": "DEFAULT",
   311      "language": "",
   312      "color": "N2",
   313      "italic": true,
   314      "bold": false,
   315      "underline": false,
   316      "labelWidth": 0,
   317      "labelHeight": 0,
   318      "labelPosition": "",
   319      "labelPercentage": 0,
   320      "route": [
   321        {
   322          "x": 26.5,
   323          "y": 66
   324        },
   325        {
   326          "x": 26.5,
   327          "y": 106
   328        },
   329        {
   330          "x": 40.349998474121094,
   331          "y": 127.94300079345703
   332        },
   333        {
   334          "x": 95.75,
   335          "y": 175.71600341796875
   336        }
   337      ],
   338      "isCurve": true,
   339      "animated": false,
   340      "tooltip": "",
   341      "icon": null,
   342      "zIndex": 0
   343    },
   344    {
   345      "id": "(z -> y)[0]",
   346      "src": "z",
   347      "srcArrow": "none",
   348      "dst": "y",
   349      "dstArrow": "triangle",
   350      "opacity": 1,
   351      "strokeDash": 0,
   352      "strokeWidth": 2,
   353      "stroke": "B1",
   354      "borderRadius": 10,
   355      "label": "",
   356      "fontSize": 16,
   357      "fontFamily": "DEFAULT",
   358      "language": "",
   359      "color": "N2",
   360      "italic": true,
   361      "bold": false,
   362      "underline": false,
   363      "labelWidth": 0,
   364      "labelHeight": 0,
   365      "labelPosition": "",
   366      "labelPercentage": 0,
   367      "route": [
   368        {
   369          "x": 219,
   370          "y": 66
   371        },
   372        {
   373          "x": 219,
   374          "y": 106
   375        },
   376        {
   377          "x": 205.1999969482422,
   378          "y": 128
   379        },
   380        {
   381          "x": 150,
   382          "y": 176
   383        }
   384      ],
   385      "isCurve": true,
   386      "animated": false,
   387      "tooltip": "",
   388      "icon": null,
   389      "zIndex": 0
   390    },
   391    {
   392      "id": "(z -> z)[0]",
   393      "src": "z",
   394      "srcArrow": "none",
   395      "dst": "z",
   396      "dstArrow": "triangle",
   397      "opacity": 1,
   398      "strokeDash": 0,
   399      "strokeWidth": 2,
   400      "stroke": "B1",
   401      "borderRadius": 10,
   402      "label": "hello",
   403      "fontSize": 16,
   404      "fontFamily": "DEFAULT",
   405      "language": "",
   406      "color": "N2",
   407      "italic": true,
   408      "bold": false,
   409      "underline": false,
   410      "labelWidth": 33,
   411      "labelHeight": 21,
   412      "labelPosition": "INSIDE_MIDDLE_CENTER",
   413      "labelPercentage": 0,
   414      "route": [
   415        {
   416          "x": 244.66600036621094,
   417          "y": 20
   418        },
   419        {
   420          "x": 275.0660095214844,
   421          "y": 4
   422        },
   423        {
   424          "x": 284.54998779296875,
   425          "y": 0
   426        },
   427        {
   428          "x": 287.375,
   429          "y": 0
   430        },
   431        {
   432          "x": 290.20001220703125,
   433          "y": 0
   434        },
   435        {
   436          "x": 293.96600341796875,
   437          "y": 6.599999904632568
   438        },
   439        {
   440          "x": 296.7909851074219,
   441          "y": 16.5
   442        },
   443        {
   444          "x": 299.6159973144531,
   445          "y": 26.399999618530273
   446        },
   447        {
   448          "x": 299.6159973144531,
   449          "y": 39.599998474121094
   450        },
   451        {
   452          "x": 296.7909851074219,
   453          "y": 49.5
   454        },
   455        {
   456          "x": 293.96600341796875,
   457          "y": 59.400001525878906
   458        },
   459        {
   460          "x": 275.0660095214844,
   461          "y": 62
   462        },
   463        {
   464          "x": 244.66600036621094,
   465          "y": 46
   466        }
   467      ],
   468      "isCurve": true,
   469      "animated": false,
   470      "tooltip": "",
   471      "icon": null,
   472      "zIndex": 0
   473    }
   474  ],
   475  "root": {
   476    "id": "",
   477    "type": "",
   478    "pos": {
   479      "x": 0,
   480      "y": 0
   481    },
   482    "width": 0,
   483    "height": 0,
   484    "opacity": 0,
   485    "strokeDash": 0,
   486    "strokeWidth": 0,
   487    "borderRadius": 0,
   488    "fill": "N7",
   489    "stroke": "",
   490    "shadow": false,
   491    "3d": false,
   492    "multiple": false,
   493    "double-border": false,
   494    "tooltip": "",
   495    "link": "",
   496    "icon": null,
   497    "iconPosition": "",
   498    "blend": false,
   499    "fields": null,
   500    "methods": null,
   501    "columns": null,
   502    "label": "",
   503    "fontSize": 0,
   504    "fontFamily": "",
   505    "language": "",
   506    "color": "",
   507    "italic": false,
   508    "bold": false,
   509    "underline": false,
   510    "labelWidth": 0,
   511    "labelHeight": 0,
   512    "zIndex": 0,
   513    "level": 0
   514  }
   515}

View as plain text