...

Text file src/oss.terrastruct.com/d2/e2etests/testdata/regression/multiple_constant_nears/dagre/board.exp.json

Documentation: oss.terrastruct.com/d2/e2etests/testdata/regression/multiple_constant_nears/dagre

     1{
     2  "name": "",
     3  "isFolderOnly": false,
     4  "fontFamily": "SourceSansPro",
     5  "shapes": [
     6    {
     7      "id": "a",
     8      "type": "rectangle",
     9      "pos": {
    10        "x": 73,
    11        "y": -196
    12      },
    13      "width": 113,
    14      "height": 458,
    15      "opacity": 0.5,
    16      "strokeDash": 0,
    17      "strokeWidth": 2,
    18      "borderRadius": 0,
    19      "fill": "red",
    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": "a",
    34      "fontSize": 28,
    35      "fontFamily": "DEFAULT",
    36      "language": "",
    37      "color": "N1",
    38      "italic": false,
    39      "bold": false,
    40      "underline": false,
    41      "labelWidth": 12,
    42      "labelHeight": 36,
    43      "labelPosition": "OUTSIDE_TOP_CENTER",
    44      "zIndex": 0,
    45      "level": 1
    46    },
    47    {
    48      "id": "b",
    49      "type": "rectangle",
    50      "pos": {
    51        "x": 73,
    52        "y": 318
    53      },
    54      "width": 139,
    55      "height": 292,
    56      "opacity": 0.5,
    57      "strokeDash": 0,
    58      "strokeWidth": 2,
    59      "borderRadius": 0,
    60      "fill": "green",
    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": "b",
    75      "fontSize": 28,
    76      "fontFamily": "DEFAULT",
    77      "language": "",
    78      "color": "N1",
    79      "italic": false,
    80      "bold": false,
    81      "underline": false,
    82      "labelWidth": 13,
    83      "labelHeight": 36,
    84      "labelPosition": "OUTSIDE_TOP_CENTER",
    85      "zIndex": 0,
    86      "level": 1
    87    },
    88    {
    89      "id": "c",
    90      "type": "rectangle",
    91      "pos": {
    92        "x": 0,
    93        "y": 0
    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": "c",
   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": 1
   128    },
   129    {
   130      "id": "a.1",
   131      "type": "rectangle",
   132      "pos": {
   133        "x": 104,
   134        "y": -166
   135      },
   136      "width": 52,
   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": "1",
   157      "fontSize": 16,
   158      "fontFamily": "DEFAULT",
   159      "language": "",
   160      "color": "N1",
   161      "italic": false,
   162      "bold": true,
   163      "underline": false,
   164      "labelWidth": 7,
   165      "labelHeight": 21,
   166      "labelPosition": "INSIDE_MIDDLE_CENTER",
   167      "zIndex": 0,
   168      "level": 2
   169    },
   170    {
   171      "id": "a.2",
   172      "type": "rectangle",
   173      "pos": {
   174        "x": 103,
   175        "y": 0
   176      },
   177      "width": 53,
   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": "2",
   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": 2
   210    },
   211    {
   212      "id": "a.3",
   213      "type": "rectangle",
   214      "pos": {
   215        "x": 103,
   216        "y": 166
   217      },
   218      "width": 53,
   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": "3",
   239      "fontSize": 16,
   240      "fontFamily": "DEFAULT",
   241      "language": "",
   242      "color": "N1",
   243      "italic": false,
   244      "bold": true,
   245      "underline": false,
   246      "labelWidth": 8,
   247      "labelHeight": 21,
   248      "labelPosition": "INSIDE_MIDDLE_CENTER",
   249      "zIndex": 0,
   250      "level": 2
   251    },
   252    {
   253      "id": "b.1111",
   254      "type": "rectangle",
   255      "pos": {
   256        "x": 104,
   257        "y": 348
   258      },
   259      "width": 78,
   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": "1111",
   280      "fontSize": 16,
   281      "fontFamily": "DEFAULT",
   282      "language": "",
   283      "color": "N1",
   284      "italic": false,
   285      "bold": true,
   286      "underline": false,
   287      "labelWidth": 33,
   288      "labelHeight": 21,
   289      "labelPosition": "INSIDE_MIDDLE_CENTER",
   290      "zIndex": 0,
   291      "level": 2
   292    },
   293    {
   294      "id": "b.2222",
   295      "type": "rectangle",
   296      "pos": {
   297        "x": 103,
   298        "y": 514
   299      },
   300      "width": 79,
   301      "height": 66,
   302      "opacity": 1,
   303      "strokeDash": 0,
   304      "strokeWidth": 2,
   305      "borderRadius": 0,
   306      "fill": "B5",
   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": "2222",
   321      "fontSize": 16,
   322      "fontFamily": "DEFAULT",
   323      "language": "",
   324      "color": "N1",
   325      "italic": false,
   326      "bold": true,
   327      "underline": false,
   328      "labelWidth": 34,
   329      "labelHeight": 21,
   330      "labelPosition": "INSIDE_MIDDLE_CENTER",
   331      "zIndex": 0,
   332      "level": 2
   333    }
   334  ],
   335  "connections": [
   336    {
   337      "id": "a.(1 -> 2)[0]",
   338      "src": "a.1",
   339      "srcArrow": "none",
   340      "dst": "a.2",
   341      "dstArrow": "triangle",
   342      "opacity": 1,
   343      "strokeDash": 0,
   344      "strokeWidth": 2,
   345      "stroke": "B1",
   346      "borderRadius": 10,
   347      "label": "",
   348      "fontSize": 16,
   349      "fontFamily": "DEFAULT",
   350      "language": "",
   351      "color": "N2",
   352      "italic": true,
   353      "bold": false,
   354      "underline": false,
   355      "labelWidth": 0,
   356      "labelHeight": 0,
   357      "labelPosition": "",
   358      "labelPercentage": 0,
   359      "route": [
   360        {
   361          "x": 129.5,
   362          "y": -100
   363        },
   364        {
   365          "x": 129.5,
   366          "y": -60
   367        },
   368        {
   369          "x": 129.5,
   370          "y": -40
   371        },
   372        {
   373          "x": 129.5,
   374          "y": 0
   375        }
   376      ],
   377      "isCurve": true,
   378      "animated": false,
   379      "tooltip": "",
   380      "icon": null,
   381      "zIndex": 0
   382    },
   383    {
   384      "id": "a.(2 -> 3)[0]",
   385      "src": "a.2",
   386      "srcArrow": "none",
   387      "dst": "a.3",
   388      "dstArrow": "triangle",
   389      "opacity": 1,
   390      "strokeDash": 0,
   391      "strokeWidth": 2,
   392      "stroke": "B1",
   393      "borderRadius": 10,
   394      "label": "",
   395      "fontSize": 16,
   396      "fontFamily": "DEFAULT",
   397      "language": "",
   398      "color": "N2",
   399      "italic": true,
   400      "bold": false,
   401      "underline": false,
   402      "labelWidth": 0,
   403      "labelHeight": 0,
   404      "labelPosition": "",
   405      "labelPercentage": 0,
   406      "route": [
   407        {
   408          "x": 129.5,
   409          "y": 66
   410        },
   411        {
   412          "x": 129.5,
   413          "y": 106
   414        },
   415        {
   416          "x": 129.5,
   417          "y": 126
   418        },
   419        {
   420          "x": 129.5,
   421          "y": 166
   422        }
   423      ],
   424      "isCurve": true,
   425      "animated": false,
   426      "tooltip": "",
   427      "icon": null,
   428      "zIndex": 0
   429    },
   430    {
   431      "id": "b.(1111 -> 2222)[0]",
   432      "src": "b.1111",
   433      "srcArrow": "none",
   434      "dst": "b.2222",
   435      "dstArrow": "triangle",
   436      "opacity": 1,
   437      "strokeDash": 0,
   438      "strokeWidth": 2,
   439      "stroke": "B1",
   440      "borderRadius": 10,
   441      "label": "",
   442      "fontSize": 16,
   443      "fontFamily": "DEFAULT",
   444      "language": "",
   445      "color": "N2",
   446      "italic": true,
   447      "bold": false,
   448      "underline": false,
   449      "labelWidth": 0,
   450      "labelHeight": 0,
   451      "labelPosition": "",
   452      "labelPercentage": 0,
   453      "route": [
   454        {
   455          "x": 142.5,
   456          "y": 414
   457        },
   458        {
   459          "x": 142.5,
   460          "y": 454
   461        },
   462        {
   463          "x": 142.5,
   464          "y": 474
   465        },
   466        {
   467          "x": 142.5,
   468          "y": 514
   469        }
   470      ],
   471      "isCurve": true,
   472      "animated": false,
   473      "tooltip": "",
   474      "icon": null,
   475      "zIndex": 0
   476    }
   477  ],
   478  "root": {
   479    "id": "",
   480    "type": "",
   481    "pos": {
   482      "x": 0,
   483      "y": 0
   484    },
   485    "width": 0,
   486    "height": 0,
   487    "opacity": 0,
   488    "strokeDash": 0,
   489    "strokeWidth": 0,
   490    "borderRadius": 0,
   491    "fill": "N7",
   492    "stroke": "",
   493    "shadow": false,
   494    "3d": false,
   495    "multiple": false,
   496    "double-border": false,
   497    "tooltip": "",
   498    "link": "",
   499    "icon": null,
   500    "iconPosition": "",
   501    "blend": false,
   502    "fields": null,
   503    "methods": null,
   504    "columns": null,
   505    "label": "",
   506    "fontSize": 0,
   507    "fontFamily": "",
   508    "language": "",
   509    "color": "",
   510    "italic": false,
   511    "bold": false,
   512    "underline": false,
   513    "labelWidth": 0,
   514    "labelHeight": 0,
   515    "zIndex": 0,
   516    "level": 0
   517  }
   518}

View as plain text