...

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

Documentation: oss.terrastruct.com/d2/e2etests/testdata/stable/self-referencing/elk

     1{
     2  "name": "",
     3  "isFolderOnly": false,
     4  "fontFamily": "SourceSansPro",
     5  "shapes": [
     6    {
     7      "id": "x",
     8      "type": "rectangle",
     9      "pos": {
    10        "x": 62,
    11        "y": 12
    12      },
    13      "width": 120,
    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": 209,
    52        "y": 158
    53      },
    54      "width": 80,
    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": 337,
    93        "y": 12
    94      },
    95      "width": 80,
    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": 62,
   157          "y": 34
   158        },
   159        {
   160          "x": 12,
   161          "y": 34
   162        },
   163        {
   164          "x": 12,
   165          "y": 56
   166        },
   167        {
   168          "x": 62,
   169          "y": 56
   170        }
   171      ],
   172      "animated": false,
   173      "tooltip": "",
   174      "icon": null,
   175      "zIndex": 0
   176    },
   177    {
   178      "id": "(x -> x)[1]",
   179      "src": "x",
   180      "srcArrow": "none",
   181      "dst": "x",
   182      "dstArrow": "triangle",
   183      "opacity": 1,
   184      "strokeDash": 0,
   185      "strokeWidth": 2,
   186      "stroke": "B1",
   187      "borderRadius": 10,
   188      "label": "",
   189      "fontSize": 16,
   190      "fontFamily": "DEFAULT",
   191      "language": "",
   192      "color": "N2",
   193      "italic": true,
   194      "bold": false,
   195      "underline": false,
   196      "labelWidth": 0,
   197      "labelHeight": 0,
   198      "labelPosition": "",
   199      "labelPercentage": 0,
   200      "route": [
   201        {
   202          "x": 182,
   203          "y": 56
   204        },
   205        {
   206          "x": 232,
   207          "y": 56
   208        },
   209        {
   210          "x": 232,
   211          "y": 34
   212        },
   213        {
   214          "x": 182,
   215          "y": 34
   216        }
   217      ],
   218      "animated": false,
   219      "tooltip": "",
   220      "icon": null,
   221      "zIndex": 0
   222    },
   223    {
   224      "id": "(x -> y)[0]",
   225      "src": "x",
   226      "srcArrow": "none",
   227      "dst": "y",
   228      "dstArrow": "triangle",
   229      "opacity": 1,
   230      "strokeDash": 0,
   231      "strokeWidth": 2,
   232      "stroke": "B1",
   233      "borderRadius": 10,
   234      "label": "",
   235      "fontSize": 16,
   236      "fontFamily": "DEFAULT",
   237      "language": "",
   238      "color": "N2",
   239      "italic": true,
   240      "bold": false,
   241      "underline": false,
   242      "labelWidth": 0,
   243      "labelHeight": 0,
   244      "labelPosition": "",
   245      "labelPercentage": 0,
   246      "route": [
   247        {
   248          "x": 122,
   249          "y": 78
   250        },
   251        {
   252          "x": 122,
   253          "y": 118
   254        },
   255        {
   256          "x": 236.16600036621094,
   257          "y": 118
   258        },
   259        {
   260          "x": 236.16600036621094,
   261          "y": 158
   262        }
   263      ],
   264      "animated": false,
   265      "tooltip": "",
   266      "icon": null,
   267      "zIndex": 0
   268    },
   269    {
   270      "id": "(z -> y)[0]",
   271      "src": "z",
   272      "srcArrow": "none",
   273      "dst": "y",
   274      "dstArrow": "triangle",
   275      "opacity": 1,
   276      "strokeDash": 0,
   277      "strokeWidth": 2,
   278      "stroke": "B1",
   279      "borderRadius": 10,
   280      "label": "",
   281      "fontSize": 16,
   282      "fontFamily": "DEFAULT",
   283      "language": "",
   284      "color": "N2",
   285      "italic": true,
   286      "bold": false,
   287      "underline": false,
   288      "labelWidth": 0,
   289      "labelHeight": 0,
   290      "labelPosition": "",
   291      "labelPercentage": 0,
   292      "route": [
   293        {
   294          "x": 377,
   295          "y": 78
   296        },
   297        {
   298          "x": 377,
   299          "y": 118
   300        },
   301        {
   302          "x": 262.8330078125,
   303          "y": 118
   304        },
   305        {
   306          "x": 262.8330078125,
   307          "y": 158
   308        }
   309      ],
   310      "animated": false,
   311      "tooltip": "",
   312      "icon": null,
   313      "zIndex": 0
   314    },
   315    {
   316      "id": "(z -> z)[0]",
   317      "src": "z",
   318      "srcArrow": "none",
   319      "dst": "z",
   320      "dstArrow": "triangle",
   321      "opacity": 1,
   322      "strokeDash": 0,
   323      "strokeWidth": 2,
   324      "stroke": "B1",
   325      "borderRadius": 10,
   326      "label": "hello",
   327      "fontSize": 16,
   328      "fontFamily": "DEFAULT",
   329      "language": "",
   330      "color": "N2",
   331      "italic": true,
   332      "bold": false,
   333      "underline": false,
   334      "labelWidth": 33,
   335      "labelHeight": 21,
   336      "labelPosition": "INSIDE_MIDDLE_CENTER",
   337      "labelPercentage": 0,
   338      "route": [
   339        {
   340          "x": 337,
   341          "y": 34
   342        },
   343        {
   344          "x": 287,
   345          "y": 34
   346        },
   347        {
   348          "x": 287,
   349          "y": 56
   350        },
   351        {
   352          "x": 337,
   353          "y": 56
   354        }
   355      ],
   356      "animated": false,
   357      "tooltip": "",
   358      "icon": null,
   359      "zIndex": 0
   360    }
   361  ],
   362  "root": {
   363    "id": "",
   364    "type": "",
   365    "pos": {
   366      "x": 0,
   367      "y": 0
   368    },
   369    "width": 0,
   370    "height": 0,
   371    "opacity": 0,
   372    "strokeDash": 0,
   373    "strokeWidth": 0,
   374    "borderRadius": 0,
   375    "fill": "N7",
   376    "stroke": "",
   377    "shadow": false,
   378    "3d": false,
   379    "multiple": false,
   380    "double-border": false,
   381    "tooltip": "",
   382    "link": "",
   383    "icon": null,
   384    "iconPosition": "",
   385    "blend": false,
   386    "fields": null,
   387    "methods": null,
   388    "columns": null,
   389    "label": "",
   390    "fontSize": 0,
   391    "fontFamily": "",
   392    "language": "",
   393    "color": "",
   394    "italic": false,
   395    "bold": false,
   396    "underline": false,
   397    "labelWidth": 0,
   398    "labelHeight": 0,
   399    "zIndex": 0,
   400    "level": 0
   401  }
   402}

View as plain text