...

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

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

     1{
     2  "name": "",
     3  "isFolderOnly": false,
     4  "fontFamily": "SourceSansPro",
     5  "shapes": [
     6    {
     7      "id": "grid",
     8      "type": "rectangle",
     9      "pos": {
    10        "x": 0,
    11        "y": 0
    12      },
    13      "width": 424,
    14      "height": 550,
    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": 10,
    52        "y": 82
    53      },
    54      "width": 113,
    55      "height": 206,
    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": "OUTSIDE_TOP_CENTER",
    85      "zIndex": 0,
    86      "level": 2
    87    },
    88    {
    89      "id": "grid.cell 1.a",
    90      "type": "rectangle",
    91      "pos": {
    92        "x": 40,
    93        "y": 112
    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": 10,
   134        "y": 334
   135      },
   136      "width": 113,
   137      "height": 206,
   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": "OUTSIDE_TOP_CENTER",
   167      "zIndex": 0,
   168      "level": 2
   169    },
   170    {
   171      "id": "grid.cell 2.b",
   172      "type": "rectangle",
   173      "pos": {
   174        "x": 40,
   175        "y": 364
   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": 133,
   216        "y": 82
   217      },
   218      "width": 280,
   219      "height": 458,
   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": "OUTSIDE_TOP_CENTER",
   249      "zIndex": 0,
   250      "level": 2
   251    },
   252    {
   253      "id": "grid.cell 3.c",
   254      "type": "rectangle",
   255      "pos": {
   256        "x": 163,
   257        "y": 118
   258      },
   259      "width": 154,
   260      "height": 126,
   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": "OUTSIDE_TOP_CENTER",
   290      "zIndex": 0,
   291      "level": 3
   292    },
   293    {
   294      "id": "grid.cell 3.c.d",
   295      "type": "rectangle",
   296      "pos": {
   297        "x": 233,
   298        "y": 148
   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": 166,
   339        "y": 414
   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": 269,
   380        "y": 384
   381      },
   382      "width": 114,
   383      "height": 126,
   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": "OUTSIDE_TOP_CENTER",
   413      "zIndex": 0,
   414      "level": 3
   415    },
   416    {
   417      "id": "grid.cell 3.f.g",
   418      "type": "rectangle",
   419      "pos": {
   420        "x": 299,
   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": 66.875,
   488          "y": 178
   489        },
   490        {
   491          "x": 66.875,
   492          "y": 364
   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": 93.625,
   529          "y": 367
   530        },
   531        {
   532          "x": 233.625,
   533          "y": 211
   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": 193.375,
   567          "y": 244
   568        },
   569        {
   570          "x": 193.375,
   571          "y": 300
   572        },
   573        {
   574          "x": 193.375,
   575          "y": 374
   576        },
   577        {
   578          "x": 193.375,
   579          "y": 414
   580        }
   581      ],
   582      "isCurve": true,
   583      "animated": false,
   584      "tooltip": "",
   585      "icon": null,
   586      "zIndex": 0
   587    },
   588    {
   589      "id": "grid.cell 3.(c.d -> f.g)[0]",
   590      "src": "grid.cell 3.c.d",
   591      "srcArrow": "none",
   592      "dst": "grid.cell 3.f.g",
   593      "dstArrow": "triangle",
   594      "opacity": 1,
   595      "strokeDash": 0,
   596      "strokeWidth": 2,
   597      "stroke": "B1",
   598      "borderRadius": 10,
   599      "label": "",
   600      "fontSize": 16,
   601      "fontFamily": "DEFAULT",
   602      "language": "",
   603      "color": "N2",
   604      "italic": true,
   605      "bold": false,
   606      "underline": false,
   607      "labelWidth": 0,
   608      "labelHeight": 0,
   609      "labelPosition": "",
   610      "labelPercentage": 0,
   611      "route": [
   612        {
   613          "x": 286.875,
   614          "y": 214
   615        },
   616        {
   617          "x": 318.875,
   618          "y": 254
   619        },
   620        {
   621          "x": 326.875,
   622          "y": 274
   623        },
   624        {
   625          "x": 326.875,
   626          "y": 289
   627        },
   628        {
   629          "x": 326.875,
   630          "y": 304
   631        },
   632        {
   633          "x": 326.875,
   634          "y": 374
   635        },
   636        {
   637          "x": 326.875,
   638          "y": 414
   639        }
   640      ],
   641      "isCurve": true,
   642      "animated": false,
   643      "tooltip": "",
   644      "icon": null,
   645      "zIndex": 0
   646    },
   647    {
   648      "id": "grid.(cell 3.f.g -> cell 1.a)[0]",
   649      "classes": [
   650        "red"
   651      ],
   652      "src": "grid.cell 3.f.g",
   653      "srcArrow": "none",
   654      "dst": "grid.cell 1.a",
   655      "dstArrow": "triangle",
   656      "opacity": 1,
   657      "strokeDash": 0,
   658      "strokeWidth": 2,
   659      "stroke": "red",
   660      "borderRadius": 10,
   661      "label": "",
   662      "fontSize": 16,
   663      "fontFamily": "DEFAULT",
   664      "language": "",
   665      "color": "N2",
   666      "italic": true,
   667      "bold": false,
   668      "underline": false,
   669      "labelWidth": 0,
   670      "labelHeight": 0,
   671      "labelPosition": "",
   672      "labelPercentage": 0,
   673      "route": [
   674        {
   675          "x": 299.875,
   676          "y": 416
   677        },
   678        {
   679          "x": 92.875,
   680          "y": 176
   681        }
   682      ],
   683      "animated": false,
   684      "tooltip": "",
   685      "icon": null,
   686      "zIndex": 0
   687    }
   688  ],
   689  "root": {
   690    "id": "",
   691    "type": "",
   692    "pos": {
   693      "x": 0,
   694      "y": 0
   695    },
   696    "width": 0,
   697    "height": 0,
   698    "opacity": 0,
   699    "strokeDash": 0,
   700    "strokeWidth": 0,
   701    "borderRadius": 0,
   702    "fill": "N7",
   703    "stroke": "",
   704    "shadow": false,
   705    "3d": false,
   706    "multiple": false,
   707    "double-border": false,
   708    "tooltip": "",
   709    "link": "",
   710    "icon": null,
   711    "iconPosition": "",
   712    "blend": false,
   713    "fields": null,
   714    "methods": null,
   715    "columns": null,
   716    "label": "",
   717    "fontSize": 0,
   718    "fontFamily": "",
   719    "language": "",
   720    "color": "",
   721    "italic": false,
   722    "bold": false,
   723    "underline": false,
   724    "labelWidth": 0,
   725    "labelHeight": 0,
   726    "zIndex": 0,
   727    "level": 0
   728  }
   729}

View as plain text