...

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

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

     1{
     2  "name": "",
     3  "isFolderOnly": false,
     4  "fontFamily": "SourceSansPro",
     5  "shapes": [
     6    {
     7      "id": "size XS",
     8      "type": "rectangle",
     9      "pos": {
    10        "x": 993,
    11        "y": 280
    12      },
    13      "width": 85,
    14      "height": 62,
    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": "size XS",
    34      "fontSize": 13,
    35      "fontFamily": "DEFAULT",
    36      "language": "",
    37      "color": "N1",
    38      "italic": false,
    39      "bold": true,
    40      "underline": false,
    41      "labelWidth": 40,
    42      "labelHeight": 17,
    43      "labelPosition": "INSIDE_MIDDLE_CENTER",
    44      "zIndex": 0,
    45      "level": 1
    46    },
    47    {
    48      "id": "size S",
    49      "type": "rectangle",
    50      "pos": {
    51        "x": 4,
    52        "y": 12
    53      },
    54      "width": 80,
    55      "height": 63,
    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": "size S",
    75      "fontSize": 14,
    76      "fontFamily": "DEFAULT",
    77      "language": "",
    78      "color": "N1",
    79      "italic": false,
    80      "bold": true,
    81      "underline": false,
    82      "labelWidth": 35,
    83      "labelHeight": 18,
    84      "labelPosition": "INSIDE_MIDDLE_CENTER",
    85      "zIndex": 0,
    86      "level": 1
    87    },
    88    {
    89      "id": "size M",
    90      "type": "rectangle",
    91      "pos": {
    92        "x": 0,
    93        "y": 278
    94      },
    95      "width": 87,
    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": "size M",
   116      "fontSize": 16,
   117      "fontFamily": "DEFAULT",
   118      "language": "",
   119      "color": "N1",
   120      "italic": false,
   121      "bold": true,
   122      "underline": false,
   123      "labelWidth": 42,
   124      "labelHeight": 21,
   125      "labelPosition": "INSIDE_MIDDLE_CENTER",
   126      "zIndex": 0,
   127      "level": 1
   128    },
   129    {
   130      "id": "size L",
   131      "type": "rectangle",
   132      "pos": {
   133        "x": 144,
   134        "y": 8
   135      },
   136      "width": 93,
   137      "height": 71,
   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": "size L",
   157      "fontSize": 20,
   158      "fontFamily": "DEFAULT",
   159      "language": "",
   160      "color": "N1",
   161      "italic": false,
   162      "bold": true,
   163      "underline": false,
   164      "labelWidth": 48,
   165      "labelHeight": 26,
   166      "labelPosition": "INSIDE_MIDDLE_CENTER",
   167      "zIndex": 0,
   168      "level": 1
   169    },
   170    {
   171      "id": "size XL",
   172      "type": "rectangle",
   173      "pos": {
   174        "x": 297,
   175        "y": 5
   176      },
   177      "width": 117,
   178      "height": 76,
   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": "size XL",
   198      "fontSize": 24,
   199      "fontFamily": "DEFAULT",
   200      "language": "",
   201      "color": "N1",
   202      "italic": false,
   203      "bold": true,
   204      "underline": false,
   205      "labelWidth": 72,
   206      "labelHeight": 31,
   207      "labelPosition": "INSIDE_MIDDLE_CENTER",
   208      "zIndex": 0,
   209      "level": 1
   210    },
   211    {
   212      "id": "size XXL",
   213      "type": "rectangle",
   214      "pos": {
   215        "x": 474,
   216        "y": 3
   217      },
   218      "width": 144,
   219      "height": 81,
   220      "opacity": 1,
   221      "strokeDash": 0,
   222      "strokeWidth": 2,
   223      "borderRadius": 0,
   224      "fill": "B6",
   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": "size XXL",
   239      "fontSize": 28,
   240      "fontFamily": "DEFAULT",
   241      "language": "",
   242      "color": "N1",
   243      "italic": false,
   244      "bold": true,
   245      "underline": false,
   246      "labelWidth": 99,
   247      "labelHeight": 36,
   248      "labelPosition": "INSIDE_MIDDLE_CENTER",
   249      "zIndex": 0,
   250      "level": 1
   251    },
   252    {
   253      "id": "size XXXL",
   254      "type": "rectangle",
   255      "pos": {
   256        "x": 678,
   257        "y": 0
   258      },
   259      "width": 177,
   260      "height": 86,
   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": "size XXXL",
   280      "fontSize": 32,
   281      "fontFamily": "DEFAULT",
   282      "language": "",
   283      "color": "N1",
   284      "italic": false,
   285      "bold": true,
   286      "underline": false,
   287      "labelWidth": 132,
   288      "labelHeight": 41,
   289      "labelPosition": "INSIDE_MIDDLE_CENTER",
   290      "zIndex": 0,
   291      "level": 1
   292    },
   293    {
   294      "id": "custom 8",
   295      "type": "rectangle",
   296      "pos": {
   297        "x": 997,
   298        "y": 15
   299      },
   300      "width": 77,
   301      "height": 56,
   302      "opacity": 1,
   303      "strokeDash": 0,
   304      "strokeWidth": 2,
   305      "borderRadius": 0,
   306      "fill": "B6",
   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": "custom 8",
   321      "fontSize": 8,
   322      "fontFamily": "DEFAULT",
   323      "language": "",
   324      "color": "N1",
   325      "italic": false,
   326      "bold": true,
   327      "underline": false,
   328      "labelWidth": 32,
   329      "labelHeight": 11,
   330      "labelPosition": "INSIDE_MIDDLE_CENTER",
   331      "zIndex": 0,
   332      "level": 1
   333    },
   334    {
   335      "id": "custom 12",
   336      "type": "rectangle",
   337      "pos": {
   338        "x": 1134,
   339        "y": 13
   340      },
   341      "width": 100,
   342      "height": 61,
   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": "custom 12",
   362      "fontSize": 12,
   363      "fontFamily": "DEFAULT",
   364      "language": "",
   365      "color": "N1",
   366      "italic": false,
   367      "bold": true,
   368      "underline": false,
   369      "labelWidth": 55,
   370      "labelHeight": 16,
   371      "labelPosition": "INSIDE_MIDDLE_CENTER",
   372      "zIndex": 0,
   373      "level": 1
   374    },
   375    {
   376      "id": "custom 18",
   377      "type": "rectangle",
   378      "pos": {
   379        "x": 1294,
   380        "y": 9
   381      },
   382      "width": 126,
   383      "height": 68,
   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": "custom 18",
   403      "fontSize": 18,
   404      "fontFamily": "DEFAULT",
   405      "language": "",
   406      "color": "N1",
   407      "italic": false,
   408      "bold": true,
   409      "underline": false,
   410      "labelWidth": 81,
   411      "labelHeight": 23,
   412      "labelPosition": "INSIDE_MIDDLE_CENTER",
   413      "zIndex": 0,
   414      "level": 1
   415    },
   416    {
   417      "id": "custom 21",
   418      "type": "rectangle",
   419      "pos": {
   420        "x": 1480,
   421        "y": 7
   422      },
   423      "width": 140,
   424      "height": 72,
   425      "opacity": 1,
   426      "strokeDash": 0,
   427      "strokeWidth": 2,
   428      "borderRadius": 0,
   429      "fill": "B6",
   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": "custom 21",
   444      "fontSize": 21,
   445      "fontFamily": "DEFAULT",
   446      "language": "",
   447      "color": "N1",
   448      "italic": false,
   449      "bold": true,
   450      "underline": false,
   451      "labelWidth": 95,
   452      "labelHeight": 27,
   453      "labelPosition": "INSIDE_MIDDLE_CENTER",
   454      "zIndex": 0,
   455      "level": 1
   456    },
   457    {
   458      "id": "custom 64",
   459      "type": "rectangle",
   460      "pos": {
   461        "x": 600,
   462        "y": 248
   463      },
   464      "width": 333,
   465      "height": 126,
   466      "opacity": 1,
   467      "strokeDash": 0,
   468      "strokeWidth": 2,
   469      "borderRadius": 0,
   470      "fill": "B6",
   471      "stroke": "B1",
   472      "shadow": false,
   473      "3d": false,
   474      "multiple": false,
   475      "double-border": false,
   476      "tooltip": "",
   477      "link": "",
   478      "icon": null,
   479      "iconPosition": "",
   480      "blend": false,
   481      "fields": null,
   482      "methods": null,
   483      "columns": null,
   484      "label": "custom 64",
   485      "fontSize": 64,
   486      "fontFamily": "DEFAULT",
   487      "language": "",
   488      "color": "N1",
   489      "italic": false,
   490      "bold": true,
   491      "underline": false,
   492      "labelWidth": 288,
   493      "labelHeight": 81,
   494      "labelPosition": "INSIDE_MIDDLE_CENTER",
   495      "zIndex": 0,
   496      "level": 1
   497    }
   498  ],
   499  "connections": [
   500    {
   501      "id": "(custom 8 -> size XS)[0]",
   502      "src": "custom 8",
   503      "srcArrow": "none",
   504      "dst": "size XS",
   505      "dstArrow": "triangle",
   506      "opacity": 1,
   507      "strokeDash": 0,
   508      "strokeWidth": 2,
   509      "stroke": "B1",
   510      "borderRadius": 10,
   511      "label": "custom 10",
   512      "fontSize": 10,
   513      "fontFamily": "DEFAULT",
   514      "language": "",
   515      "color": "N2",
   516      "italic": true,
   517      "bold": false,
   518      "underline": false,
   519      "labelWidth": 42,
   520      "labelHeight": 13,
   521      "labelPosition": "INSIDE_MIDDLE_CENTER",
   522      "labelPercentage": 0,
   523      "route": [
   524        {
   525          "x": 1035,
   526          "y": 71
   527        },
   528        {
   529          "x": 1035,
   530          "y": 147.8000030517578
   531        },
   532        {
   533          "x": 1035,
   534          "y": 189.60000610351562
   535        },
   536        {
   537          "x": 1035,
   538          "y": 280
   539        }
   540      ],
   541      "isCurve": true,
   542      "animated": false,
   543      "tooltip": "",
   544      "icon": null,
   545      "zIndex": 0
   546    },
   547    {
   548      "id": "(size S -> size M)[0]",
   549      "src": "size S",
   550      "srcArrow": "none",
   551      "dst": "size M",
   552      "dstArrow": "triangle",
   553      "opacity": 1,
   554      "strokeDash": 0,
   555      "strokeWidth": 2,
   556      "stroke": "B1",
   557      "borderRadius": 10,
   558      "label": "custom 15",
   559      "fontSize": 15,
   560      "fontFamily": "DEFAULT",
   561      "language": "",
   562      "color": "N2",
   563      "italic": true,
   564      "bold": false,
   565      "underline": false,
   566      "labelWidth": 64,
   567      "labelHeight": 19,
   568      "labelPosition": "INSIDE_MIDDLE_CENTER",
   569      "labelPercentage": 0,
   570      "route": [
   571        {
   572          "x": 43.5,
   573          "y": 75.5
   574        },
   575        {
   576          "x": 43.5,
   577          "y": 148.6999969482422
   578        },
   579        {
   580          "x": 43.5,
   581          "y": 189.1999969482422
   582        },
   583        {
   584          "x": 43.5,
   585          "y": 278
   586        }
   587      ],
   588      "isCurve": true,
   589      "animated": false,
   590      "tooltip": "",
   591      "icon": null,
   592      "zIndex": 0
   593    },
   594    {
   595      "id": "(size XXXL -> custom 64)[0]",
   596      "src": "size XXXL",
   597      "srcArrow": "none",
   598      "dst": "custom 64",
   599      "dstArrow": "triangle",
   600      "opacity": 1,
   601      "strokeDash": 0,
   602      "strokeWidth": 2,
   603      "stroke": "B1",
   604      "fill": "lavender",
   605      "borderRadius": 10,
   606      "label": "custom 48",
   607      "fontSize": 48,
   608      "fontFamily": "DEFAULT",
   609      "language": "",
   610      "color": "N2",
   611      "italic": true,
   612      "bold": false,
   613      "underline": false,
   614      "labelWidth": 199,
   615      "labelHeight": 61,
   616      "labelPosition": "INSIDE_MIDDLE_CENTER",
   617      "labelPercentage": 0,
   618      "route": [
   619        {
   620          "x": 766,
   621          "y": 86
   622        },
   623        {
   624          "x": 766,
   625          "y": 150.8000030517578
   626        },
   627        {
   628          "x": 766,
   629          "y": 183.1999969482422
   630        },
   631        {
   632          "x": 766,
   633          "y": 248
   634        }
   635      ],
   636      "isCurve": true,
   637      "animated": false,
   638      "tooltip": "",
   639      "icon": null,
   640      "zIndex": 0
   641    }
   642  ],
   643  "root": {
   644    "id": "",
   645    "type": "",
   646    "pos": {
   647      "x": 0,
   648      "y": 0
   649    },
   650    "width": 0,
   651    "height": 0,
   652    "opacity": 0,
   653    "strokeDash": 0,
   654    "strokeWidth": 0,
   655    "borderRadius": 0,
   656    "fill": "N7",
   657    "stroke": "",
   658    "shadow": false,
   659    "3d": false,
   660    "multiple": false,
   661    "double-border": false,
   662    "tooltip": "",
   663    "link": "",
   664    "icon": null,
   665    "iconPosition": "",
   666    "blend": false,
   667    "fields": null,
   668    "methods": null,
   669    "columns": null,
   670    "label": "",
   671    "fontSize": 0,
   672    "fontFamily": "",
   673    "language": "",
   674    "color": "",
   675    "italic": false,
   676    "bold": false,
   677    "underline": false,
   678    "labelWidth": 0,
   679    "labelHeight": 0,
   680    "zIndex": 0,
   681    "level": 0
   682  }
   683}

View as plain text