...

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

Documentation: oss.terrastruct.com/d2/e2etests/testdata/stable/grid_edge_across_cell/elk

     1{
     2  "name": "",
     3  "isFolderOnly": false,
     4  "fontFamily": "SourceSansPro",
     5  "shapes": [
     6    {
     7      "id": "grid",
     8      "type": "rectangle",
     9      "pos": {
    10        "x": 12,
    11        "y": 12
    12      },
    13      "width": 510,
    14      "height": 578,
    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": "grid",
    34      "fontSize": 28,
    35      "fontFamily": "DEFAULT",
    36      "language": "",
    37      "color": "N1",
    38      "italic": false,
    39      "bold": false,
    40      "underline": false,
    41      "labelWidth": 44,
    42      "labelHeight": 36,
    43      "labelPosition": "INSIDE_TOP_CENTER",
    44      "zIndex": 0,
    45      "level": 1
    46    },
    47    {
    48      "id": "grid.cell 1",
    49      "type": "rectangle",
    50      "pos": {
    51        "x": 22,
    52        "y": 58
    53      },
    54      "width": 153,
    55      "height": 256,
    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": "cell 1",
    75      "fontSize": 24,
    76      "fontFamily": "DEFAULT",
    77      "language": "",
    78      "color": "N1",
    79      "italic": false,
    80      "bold": false,
    81      "underline": false,
    82      "labelWidth": 50,
    83      "labelHeight": 31,
    84      "labelPosition": "INSIDE_TOP_CENTER",
    85      "zIndex": 0,
    86      "level": 2
    87    },
    88    {
    89      "id": "grid.cell 1.a",
    90      "type": "rectangle",
    91      "pos": {
    92        "x": 72,
    93        "y": 108
    94      },
    95      "width": 53,
    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": "a",
   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": 3
   128    },
   129    {
   130      "id": "grid.cell 2",
   131      "type": "rectangle",
   132      "pos": {
   133        "x": 22,
   134        "y": 324
   135      },
   136      "width": 153,
   137      "height": 256,
   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": "cell 2",
   157      "fontSize": 24,
   158      "fontFamily": "DEFAULT",
   159      "language": "",
   160      "color": "N1",
   161      "italic": false,
   162      "bold": false,
   163      "underline": false,
   164      "labelWidth": 50,
   165      "labelHeight": 31,
   166      "labelPosition": "INSIDE_TOP_CENTER",
   167      "zIndex": 0,
   168      "level": 2
   169    },
   170    {
   171      "id": "grid.cell 2.b",
   172      "type": "rectangle",
   173      "pos": {
   174        "x": 72,
   175        "y": 374
   176      },
   177      "width": 53,
   178      "height": 66,
   179      "opacity": 1,
   180      "strokeDash": 0,
   181      "strokeWidth": 2,
   182      "borderRadius": 0,
   183      "fill": "B6",
   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": "b",
   198      "fontSize": 16,
   199      "fontFamily": "DEFAULT",
   200      "language": "",
   201      "color": "N1",
   202      "italic": false,
   203      "bold": true,
   204      "underline": false,
   205      "labelWidth": 8,
   206      "labelHeight": 21,
   207      "labelPosition": "INSIDE_MIDDLE_CENTER",
   208      "zIndex": 0,
   209      "level": 3
   210    },
   211    {
   212      "id": "grid.cell 3",
   213      "type": "rectangle",
   214      "pos": {
   215        "x": 185,
   216        "y": 58
   217      },
   218      "width": 327,
   219      "height": 522,
   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": "cell 3",
   239      "fontSize": 24,
   240      "fontFamily": "DEFAULT",
   241      "language": "",
   242      "color": "N1",
   243      "italic": false,
   244      "bold": false,
   245      "underline": false,
   246      "labelWidth": 50,
   247      "labelHeight": 31,
   248      "labelPosition": "INSIDE_TOP_CENTER",
   249      "zIndex": 0,
   250      "level": 2
   251    },
   252    {
   253      "id": "grid.cell 3.c",
   254      "type": "rectangle",
   255      "pos": {
   256        "x": 251,
   257        "y": 108
   258      },
   259      "width": 154,
   260      "height": 166,
   261      "opacity": 1,
   262      "strokeDash": 0,
   263      "strokeWidth": 2,
   264      "borderRadius": 0,
   265      "fill": "B6",
   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": "c",
   280      "fontSize": 20,
   281      "fontFamily": "DEFAULT",
   282      "language": "",
   283      "color": "N1",
   284      "italic": false,
   285      "bold": false,
   286      "underline": false,
   287      "labelWidth": 9,
   288      "labelHeight": 26,
   289      "labelPosition": "INSIDE_TOP_CENTER",
   290      "zIndex": 0,
   291      "level": 3
   292    },
   293    {
   294      "id": "grid.cell 3.c.d",
   295      "type": "rectangle",
   296      "pos": {
   297        "x": 301,
   298        "y": 158
   299      },
   300      "width": 54,
   301      "height": 66,
   302      "opacity": 1,
   303      "strokeDash": 0,
   304      "strokeWidth": 2,
   305      "borderRadius": 0,
   306      "fill": "N7",
   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": "d",
   321      "fontSize": 16,
   322      "fontFamily": "DEFAULT",
   323      "language": "",
   324      "color": "N1",
   325      "italic": false,
   326      "bold": true,
   327      "underline": false,
   328      "labelWidth": 9,
   329      "labelHeight": 21,
   330      "labelPosition": "INSIDE_MIDDLE_CENTER",
   331      "zIndex": 0,
   332      "level": 4
   333    },
   334    {
   335      "id": "grid.cell 3.e",
   336      "type": "rectangle",
   337      "pos": {
   338        "x": 235,
   339        "y": 364
   340      },
   341      "width": 53,
   342      "height": 66,
   343      "opacity": 1,
   344      "strokeDash": 0,
   345      "strokeWidth": 2,
   346      "borderRadius": 0,
   347      "fill": "B6",
   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": "e",
   362      "fontSize": 16,
   363      "fontFamily": "DEFAULT",
   364      "language": "",
   365      "color": "N1",
   366      "italic": false,
   367      "bold": true,
   368      "underline": false,
   369      "labelWidth": 8,
   370      "labelHeight": 21,
   371      "labelPosition": "INSIDE_MIDDLE_CENTER",
   372      "zIndex": 0,
   373      "level": 3
   374    },
   375    {
   376      "id": "grid.cell 3.f",
   377      "type": "rectangle",
   378      "pos": {
   379        "x": 308,
   380        "y": 364
   381      },
   382      "width": 154,
   383      "height": 166,
   384      "opacity": 1,
   385      "strokeDash": 0,
   386      "strokeWidth": 2,
   387      "borderRadius": 0,
   388      "fill": "B6",
   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": "f",
   403      "fontSize": 20,
   404      "fontFamily": "DEFAULT",
   405      "language": "",
   406      "color": "N1",
   407      "italic": false,
   408      "bold": false,
   409      "underline": false,
   410      "labelWidth": 7,
   411      "labelHeight": 26,
   412      "labelPosition": "INSIDE_TOP_CENTER",
   413      "zIndex": 0,
   414      "level": 3
   415    },
   416    {
   417      "id": "grid.cell 3.f.g",
   418      "type": "rectangle",
   419      "pos": {
   420        "x": 358,
   421        "y": 414
   422      },
   423      "width": 54,
   424      "height": 66,
   425      "opacity": 1,
   426      "strokeDash": 0,
   427      "strokeWidth": 2,
   428      "borderRadius": 0,
   429      "fill": "N7",
   430      "stroke": "B1",
   431      "shadow": false,
   432      "3d": false,
   433      "multiple": false,
   434      "double-border": false,
   435      "tooltip": "",
   436      "link": "",
   437      "icon": null,
   438      "iconPosition": "",
   439      "blend": false,
   440      "fields": null,
   441      "methods": null,
   442      "columns": null,
   443      "label": "g",
   444      "fontSize": 16,
   445      "fontFamily": "DEFAULT",
   446      "language": "",
   447      "color": "N1",
   448      "italic": false,
   449      "bold": true,
   450      "underline": false,
   451      "labelWidth": 9,
   452      "labelHeight": 21,
   453      "labelPosition": "INSIDE_MIDDLE_CENTER",
   454      "zIndex": 0,
   455      "level": 4
   456    }
   457  ],
   458  "connections": [
   459    {
   460      "id": "grid.(cell 1.a -> cell 2.b)[0]",
   461      "classes": [
   462        "red"
   463      ],
   464      "src": "grid.cell 1.a",
   465      "srcArrow": "none",
   466      "dst": "grid.cell 2.b",
   467      "dstArrow": "triangle",
   468      "opacity": 1,
   469      "strokeDash": 0,
   470      "strokeWidth": 2,
   471      "stroke": "red",
   472      "borderRadius": 10,
   473      "label": "",
   474      "fontSize": 16,
   475      "fontFamily": "DEFAULT",
   476      "language": "",
   477      "color": "N2",
   478      "italic": true,
   479      "bold": false,
   480      "underline": false,
   481      "labelWidth": 0,
   482      "labelHeight": 0,
   483      "labelPosition": "",
   484      "labelPercentage": 0,
   485      "route": [
   486        {
   487          "x": 98.5,
   488          "y": 174
   489        },
   490        {
   491          "x": 98.5,
   492          "y": 374
   493        }
   494      ],
   495      "animated": false,
   496      "tooltip": "",
   497      "icon": null,
   498      "zIndex": 0
   499    },
   500    {
   501      "id": "grid.(cell 2.b -> cell 3.c.d)[0]",
   502      "classes": [
   503        "red"
   504      ],
   505      "src": "grid.cell 2.b",
   506      "srcArrow": "none",
   507      "dst": "grid.cell 3.c.d",
   508      "dstArrow": "triangle",
   509      "opacity": 1,
   510      "strokeDash": 0,
   511      "strokeWidth": 2,
   512      "stroke": "red",
   513      "borderRadius": 10,
   514      "label": "",
   515      "fontSize": 16,
   516      "fontFamily": "DEFAULT",
   517      "language": "",
   518      "color": "N2",
   519      "italic": true,
   520      "bold": false,
   521      "underline": false,
   522      "labelWidth": 0,
   523      "labelHeight": 0,
   524      "labelPosition": "",
   525      "labelPercentage": 0,
   526      "route": [
   527        {
   528          "x": 125.25,
   529          "y": 382
   530        },
   531        {
   532          "x": 301.25,
   533          "y": 216
   534        }
   535      ],
   536      "animated": false,
   537      "tooltip": "",
   538      "icon": null,
   539      "zIndex": 0
   540    },
   541    {
   542      "id": "grid.cell 3.(c -> e)[0]",
   543      "src": "grid.cell 3.c",
   544      "srcArrow": "none",
   545      "dst": "grid.cell 3.e",
   546      "dstArrow": "triangle",
   547      "opacity": 1,
   548      "strokeDash": 0,
   549      "strokeWidth": 2,
   550      "stroke": "B1",
   551      "borderRadius": 10,
   552      "label": "",
   553      "fontSize": 16,
   554      "fontFamily": "DEFAULT",
   555      "language": "",
   556      "color": "N2",
   557      "italic": true,
   558      "bold": false,
   559      "underline": false,
   560      "labelWidth": 0,
   561      "labelHeight": 0,
   562      "labelPosition": "",
   563      "labelPercentage": 0,
   564      "route": [
   565        {
   566          "x": 261.5,
   567          "y": 274
   568        },
   569        {
   570          "x": 261.5,
   571          "y": 364
   572        }
   573      ],
   574      "animated": false,
   575      "tooltip": "",
   576      "icon": null,
   577      "zIndex": 0
   578    },
   579    {
   580      "id": "grid.cell 3.(c.d -> f.g)[0]",
   581      "src": "grid.cell 3.c.d",
   582      "srcArrow": "none",
   583      "dst": "grid.cell 3.f.g",
   584      "dstArrow": "triangle",
   585      "opacity": 1,
   586      "strokeDash": 0,
   587      "strokeWidth": 2,
   588      "stroke": "B1",
   589      "borderRadius": 10,
   590      "label": "",
   591      "fontSize": 16,
   592      "fontFamily": "DEFAULT",
   593      "language": "",
   594      "color": "N2",
   595      "italic": true,
   596      "bold": false,
   597      "underline": false,
   598      "labelWidth": 0,
   599      "labelHeight": 0,
   600      "labelPosition": "",
   601      "labelPercentage": 0,
   602      "route": [
   603        {
   604          "x": 328.25,
   605          "y": 224
   606        },
   607        {
   608          "x": 328.25,
   609          "y": 319
   610        },
   611        {
   612          "x": 385,
   613          "y": 319
   614        },
   615        {
   616          "x": 385,
   617          "y": 414
   618        }
   619      ],
   620      "animated": false,
   621      "tooltip": "",
   622      "icon": null,
   623      "zIndex": 0
   624    },
   625    {
   626      "id": "grid.(cell 3.f.g -> cell 1.a)[0]",
   627      "classes": [
   628        "red"
   629      ],
   630      "src": "grid.cell 3.f.g",
   631      "srcArrow": "none",
   632      "dst": "grid.cell 1.a",
   633      "dstArrow": "triangle",
   634      "opacity": 1,
   635      "strokeDash": 0,
   636      "strokeWidth": 2,
   637      "stroke": "red",
   638      "borderRadius": 10,
   639      "label": "",
   640      "fontSize": 16,
   641      "fontFamily": "DEFAULT",
   642      "language": "",
   643      "color": "N2",
   644      "italic": true,
   645      "bold": false,
   646      "underline": false,
   647      "labelWidth": 0,
   648      "labelHeight": 0,
   649      "labelPosition": "",
   650      "labelPercentage": 0,
   651      "route": [
   652        {
   653          "x": 358.5,
   654          "y": 418
   655        },
   656        {
   657          "x": 124.5,
   658          "y": 169
   659        }
   660      ],
   661      "animated": false,
   662      "tooltip": "",
   663      "icon": null,
   664      "zIndex": 0
   665    }
   666  ],
   667  "root": {
   668    "id": "",
   669    "type": "",
   670    "pos": {
   671      "x": 0,
   672      "y": 0
   673    },
   674    "width": 0,
   675    "height": 0,
   676    "opacity": 0,
   677    "strokeDash": 0,
   678    "strokeWidth": 0,
   679    "borderRadius": 0,
   680    "fill": "N7",
   681    "stroke": "",
   682    "shadow": false,
   683    "3d": false,
   684    "multiple": false,
   685    "double-border": false,
   686    "tooltip": "",
   687    "link": "",
   688    "icon": null,
   689    "iconPosition": "",
   690    "blend": false,
   691    "fields": null,
   692    "methods": null,
   693    "columns": null,
   694    "label": "",
   695    "fontSize": 0,
   696    "fontFamily": "",
   697    "language": "",
   698    "color": "",
   699    "italic": false,
   700    "bold": false,
   701    "underline": false,
   702    "labelWidth": 0,
   703    "labelHeight": 0,
   704    "zIndex": 0,
   705    "level": 0
   706  }
   707}

View as plain text