...

Text file src/oss.terrastruct.com/d2/e2etests/testdata/patterns/root-dots/dagre/board.exp.json

Documentation: oss.terrastruct.com/d2/e2etests/testdata/patterns/root-dots/dagre

     1{
     2  "name": "",
     3  "isFolderOnly": false,
     4  "fontFamily": "SourceSansPro",
     5  "shapes": [
     6    {
     7      "id": "x",
     8      "type": "rectangle",
     9      "pos": {
    10        "x": 191,
    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": 0,
    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": 162,
    93        "y": 332
    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      "id": "abcd",
   131      "type": "rectangle",
   132      "pos": {
   133        "x": 114,
   134        "y": 166
   135      },
   136      "width": 80,
   137      "height": 66,
   138      "opacity": 1,
   139      "strokeDash": 0,
   140      "strokeWidth": 2,
   141      "borderRadius": 0,
   142      "fill": "B6",
   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": "abcd",
   157      "fontSize": 16,
   158      "fontFamily": "DEFAULT",
   159      "language": "",
   160      "color": "N1",
   161      "italic": false,
   162      "bold": true,
   163      "underline": false,
   164      "labelWidth": 35,
   165      "labelHeight": 21,
   166      "labelPosition": "INSIDE_MIDDLE_CENTER",
   167      "zIndex": 0,
   168      "level": 1
   169    },
   170    {
   171      "id": "g",
   172      "type": "rectangle",
   173      "pos": {
   174        "x": 254,
   175        "y": 166
   176      },
   177      "width": 54,
   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": "g",
   198      "fontSize": 16,
   199      "fontFamily": "DEFAULT",
   200      "language": "",
   201      "color": "N1",
   202      "italic": false,
   203      "bold": true,
   204      "underline": false,
   205      "labelWidth": 9,
   206      "labelHeight": 21,
   207      "labelPosition": "INSIDE_MIDDLE_CENTER",
   208      "zIndex": 0,
   209      "level": 1
   210    }
   211  ],
   212  "connections": [
   213    {
   214      "id": "(x -> y)[0]",
   215      "src": "x",
   216      "srcArrow": "none",
   217      "dst": "y",
   218      "dstArrow": "triangle",
   219      "opacity": 1,
   220      "strokeDash": 0,
   221      "strokeWidth": 2,
   222      "stroke": "B1",
   223      "borderRadius": 10,
   224      "label": "",
   225      "fontSize": 16,
   226      "fontFamily": "DEFAULT",
   227      "language": "",
   228      "color": "N2",
   229      "italic": true,
   230      "bold": false,
   231      "underline": false,
   232      "labelWidth": 0,
   233      "labelHeight": 0,
   234      "labelPosition": "",
   235      "labelPercentage": 0,
   236      "route": [
   237        {
   238          "x": 191,
   239          "y": 45
   240        },
   241        {
   242          "x": 59.79899978637695,
   243          "y": 101.80000305175781
   244        },
   245        {
   246          "x": 27,
   247          "y": 126
   248        },
   249        {
   250          "x": 27,
   251          "y": 166
   252        }
   253      ],
   254      "isCurve": true,
   255      "animated": false,
   256      "tooltip": "",
   257      "icon": null,
   258      "zIndex": 0
   259    },
   260    {
   261      "id": "(y -> z)[0]",
   262      "src": "y",
   263      "srcArrow": "none",
   264      "dst": "z",
   265      "dstArrow": "triangle",
   266      "opacity": 1,
   267      "strokeDash": 0,
   268      "strokeWidth": 2,
   269      "stroke": "B1",
   270      "borderRadius": 10,
   271      "label": "",
   272      "fontSize": 16,
   273      "fontFamily": "DEFAULT",
   274      "language": "",
   275      "color": "N2",
   276      "italic": true,
   277      "bold": false,
   278      "underline": false,
   279      "labelWidth": 0,
   280      "labelHeight": 0,
   281      "labelPosition": "",
   282      "labelPercentage": 0,
   283      "route": [
   284        {
   285          "x": 27,
   286          "y": 232
   287        },
   288        {
   289          "x": 27,
   290          "y": 272
   291        },
   292        {
   293          "x": 53.900001525878906,
   294          "y": 295.9100036621094
   295        },
   296        {
   297          "x": 161.5,
   298          "y": 351.5539855957031
   299        }
   300      ],
   301      "isCurve": true,
   302      "animated": false,
   303      "tooltip": "",
   304      "icon": null,
   305      "zIndex": 0
   306    },
   307    {
   308      "id": "(x -> abcd)[0]",
   309      "src": "x",
   310      "srcArrow": "none",
   311      "dst": "abcd",
   312      "dstArrow": "triangle",
   313      "opacity": 1,
   314      "strokeDash": 0,
   315      "strokeWidth": 2,
   316      "stroke": "B1",
   317      "borderRadius": 10,
   318      "label": "",
   319      "fontSize": 16,
   320      "fontFamily": "DEFAULT",
   321      "language": "",
   322      "color": "N2",
   323      "italic": true,
   324      "bold": false,
   325      "underline": false,
   326      "labelWidth": 0,
   327      "labelHeight": 0,
   328      "labelPosition": "",
   329      "labelPercentage": 0,
   330      "route": [
   331        {
   332          "x": 192,
   333          "y": 66
   334        },
   335        {
   336          "x": 161.60000610351562,
   337          "y": 106
   338        },
   339        {
   340          "x": 154,
   341          "y": 126
   342        },
   343        {
   344          "x": 154,
   345          "y": 166
   346        }
   347      ],
   348      "isCurve": true,
   349      "animated": false,
   350      "tooltip": "",
   351      "icon": null,
   352      "zIndex": 0
   353    },
   354    {
   355      "id": "(x -> g)[0]",
   356      "src": "x",
   357      "srcArrow": "none",
   358      "dst": "g",
   359      "dstArrow": "triangle",
   360      "opacity": 1,
   361      "strokeDash": 0,
   362      "strokeWidth": 2,
   363      "stroke": "B1",
   364      "borderRadius": 10,
   365      "label": "",
   366      "fontSize": 16,
   367      "fontFamily": "DEFAULT",
   368      "language": "",
   369      "color": "N2",
   370      "italic": true,
   371      "bold": false,
   372      "underline": false,
   373      "labelWidth": 0,
   374      "labelHeight": 0,
   375      "labelPosition": "",
   376      "labelPercentage": 0,
   377      "route": [
   378        {
   379          "x": 243,
   380          "y": 66
   381        },
   382        {
   383          "x": 273.3999938964844,
   384          "y": 106
   385        },
   386        {
   387          "x": 281,
   388          "y": 126
   389        },
   390        {
   391          "x": 281,
   392          "y": 166
   393        }
   394      ],
   395      "isCurve": true,
   396      "animated": false,
   397      "tooltip": "",
   398      "icon": null,
   399      "zIndex": 0
   400    },
   401    {
   402      "id": "(x -> z)[0]",
   403      "src": "x",
   404      "srcArrow": "none",
   405      "dst": "z",
   406      "dstArrow": "triangle",
   407      "opacity": 1,
   408      "strokeDash": 0,
   409      "strokeWidth": 2,
   410      "stroke": "B1",
   411      "borderRadius": 10,
   412      "label": "",
   413      "fontSize": 16,
   414      "fontFamily": "DEFAULT",
   415      "language": "",
   416      "color": "N2",
   417      "italic": true,
   418      "bold": false,
   419      "underline": false,
   420      "labelWidth": 0,
   421      "labelHeight": 0,
   422      "labelPosition": "",
   423      "labelPercentage": 0,
   424      "route": [
   425        {
   426          "x": 244,
   427          "y": 50
   428        },
   429        {
   430          "x": 327.20001220703125,
   431          "y": 102.80000305175781
   432        },
   433        {
   434          "x": 348,
   435          "y": 132.60000610351562
   436        },
   437        {
   438          "x": 348,
   439          "y": 157.5
   440        },
   441        {
   442          "x": 348,
   443          "y": 182.39999389648438
   444        },
   445        {
   446          "x": 321.20001220703125,
   447          "y": 295.79998779296875
   448        },
   449        {
   450          "x": 214,
   451          "y": 351
   452        }
   453      ],
   454      "isCurve": true,
   455      "animated": false,
   456      "tooltip": "",
   457      "icon": null,
   458      "zIndex": 0
   459    }
   460  ],
   461  "root": {
   462    "id": "",
   463    "type": "",
   464    "pos": {
   465      "x": 0,
   466      "y": 0
   467    },
   468    "width": 0,
   469    "height": 0,
   470    "opacity": 0,
   471    "strokeDash": 0,
   472    "strokeWidth": 0,
   473    "borderRadius": 0,
   474    "fill": "N7",
   475    "fillPattern": "dots",
   476    "stroke": "",
   477    "shadow": false,
   478    "3d": false,
   479    "multiple": false,
   480    "double-border": false,
   481    "tooltip": "",
   482    "link": "",
   483    "icon": null,
   484    "iconPosition": "",
   485    "blend": false,
   486    "fields": null,
   487    "methods": null,
   488    "columns": null,
   489    "label": "",
   490    "fontSize": 0,
   491    "fontFamily": "",
   492    "language": "",
   493    "color": "",
   494    "italic": false,
   495    "bold": false,
   496    "underline": false,
   497    "labelWidth": 0,
   498    "labelHeight": 0,
   499    "zIndex": 0,
   500    "level": 0
   501  }
   502}

View as plain text