...

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

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

     1{
     2  "name": "",
     3  "isFolderOnly": false,
     4  "fontFamily": "SourceSansPro",
     5  "shapes": [
     6    {
     7      "id": "container",
     8      "type": "rectangle",
     9      "pos": {
    10        "x": 0,
    11        "y": 0
    12      },
    13      "width": 1213,
    14      "height": 524,
    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": "___________________________________container____________________________________",
    34      "fontSize": 28,
    35      "fontFamily": "DEFAULT",
    36      "language": "",
    37      "color": "N1",
    38      "italic": false,
    39      "bold": false,
    40      "underline": false,
    41      "labelWidth": 1107,
    42      "labelHeight": 36,
    43      "labelPosition": "INSIDE_TOP_CENTER",
    44      "zIndex": 0,
    45      "level": 1
    46    },
    47    {
    48      "id": "container.amscd plugin",
    49      "type": "rectangle",
    50      "pos": {
    51        "x": 20,
    52        "y": 82
    53      },
    54      "width": 345,
    55      "height": 132,
    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": "amscd plugin",
    75      "fontSize": 24,
    76      "fontFamily": "DEFAULT",
    77      "language": "",
    78      "color": "N1",
    79      "italic": false,
    80      "bold": false,
    81      "underline": false,
    82      "labelWidth": 133,
    83      "labelHeight": 31,
    84      "labelPosition": "OUTSIDE_TOP_CENTER",
    85      "zIndex": 0,
    86      "level": 2
    87    },
    88    {
    89      "id": "container.amscd plugin.ex",
    90      "type": "text",
    91      "pos": {
    92        "x": 50,
    93        "y": 112
    94      },
    95      "width": 285,
    96      "height": 72,
    97      "opacity": 1,
    98      "strokeDash": 0,
    99      "strokeWidth": 2,
   100      "borderRadius": 0,
   101      "fill": "transparent",
   102      "stroke": "N1",
   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": "\\\\begin{CD} B @>{\\\\text{very long label}}>> C S^{{\\\\mathcal{W}}_\\\\Lambda}\\\\otimes T @>j>> T\\\\\\\\ @VVV V \\\\end{CD}",
   116      "fontSize": 16,
   117      "fontFamily": "DEFAULT",
   118      "language": "latex",
   119      "color": "N1",
   120      "italic": false,
   121      "bold": false,
   122      "underline": false,
   123      "labelWidth": 285,
   124      "labelHeight": 72,
   125      "zIndex": 0,
   126      "level": 3
   127    },
   128    {
   129      "id": "container.braket plugin",
   130      "type": "rectangle",
   131      "pos": {
   132        "x": 20,
   133        "y": 285
   134      },
   135      "width": 330,
   136      "height": 79,
   137      "opacity": 1,
   138      "strokeDash": 0,
   139      "strokeWidth": 2,
   140      "borderRadius": 0,
   141      "fill": "B5",
   142      "stroke": "B1",
   143      "shadow": false,
   144      "3d": true,
   145      "multiple": false,
   146      "double-border": false,
   147      "tooltip": "",
   148      "link": "",
   149      "icon": null,
   150      "iconPosition": "",
   151      "blend": false,
   152      "fields": null,
   153      "methods": null,
   154      "columns": null,
   155      "label": "braket plugin",
   156      "fontSize": 24,
   157      "fontFamily": "DEFAULT",
   158      "language": "",
   159      "color": "N1",
   160      "italic": false,
   161      "bold": false,
   162      "underline": false,
   163      "labelWidth": 132,
   164      "labelHeight": 31,
   165      "labelPosition": "OUTSIDE_TOP_CENTER",
   166      "zIndex": 0,
   167      "level": 2
   168    },
   169    {
   170      "id": "container.braket plugin.ex",
   171      "type": "text",
   172      "pos": {
   173        "x": 50,
   174        "y": 315
   175      },
   176      "width": 37,
   177      "height": 19,
   178      "opacity": 1,
   179      "strokeDash": 0,
   180      "strokeWidth": 2,
   181      "borderRadius": 0,
   182      "fill": "transparent",
   183      "stroke": "N1",
   184      "shadow": false,
   185      "3d": false,
   186      "multiple": false,
   187      "double-border": false,
   188      "tooltip": "",
   189      "link": "",
   190      "icon": null,
   191      "iconPosition": "",
   192      "blend": false,
   193      "fields": null,
   194      "methods": null,
   195      "columns": null,
   196      "label": "\\\\bra{a}\\\\ket{b}",
   197      "fontSize": 16,
   198      "fontFamily": "DEFAULT",
   199      "language": "latex",
   200      "color": "N1",
   201      "italic": false,
   202      "bold": false,
   203      "underline": false,
   204      "labelWidth": 37,
   205      "labelHeight": 19,
   206      "zIndex": 0,
   207      "level": 3
   208    },
   209    {
   210      "id": "container.cancel plugin",
   211      "type": "rectangle",
   212      "pos": {
   213        "x": 20,
   214        "y": 420
   215      },
   216      "width": 345,
   217      "height": 84,
   218      "opacity": 1,
   219      "strokeDash": 0,
   220      "strokeWidth": 2,
   221      "borderRadius": 0,
   222      "fill": "B5",
   223      "stroke": "B1",
   224      "shadow": false,
   225      "3d": false,
   226      "multiple": false,
   227      "double-border": false,
   228      "tooltip": "",
   229      "link": "",
   230      "icon": null,
   231      "iconPosition": "",
   232      "blend": false,
   233      "fields": null,
   234      "methods": null,
   235      "columns": null,
   236      "label": "cancel plugin",
   237      "fontSize": 24,
   238      "fontFamily": "DEFAULT",
   239      "language": "",
   240      "color": "N1",
   241      "italic": false,
   242      "bold": false,
   243      "underline": false,
   244      "labelWidth": 132,
   245      "labelHeight": 31,
   246      "labelPosition": "OUTSIDE_TOP_CENTER",
   247      "zIndex": 0,
   248      "level": 2
   249    },
   250    {
   251      "id": "container.cancel plugin.ex",
   252      "type": "text",
   253      "pos": {
   254        "x": 50,
   255        "y": 450
   256      },
   257      "width": 104,
   258      "height": 24,
   259      "opacity": 1,
   260      "strokeDash": 0,
   261      "strokeWidth": 2,
   262      "borderRadius": 0,
   263      "fill": "transparent",
   264      "stroke": "N1",
   265      "shadow": false,
   266      "3d": false,
   267      "multiple": false,
   268      "double-border": false,
   269      "tooltip": "",
   270      "link": "",
   271      "icon": null,
   272      "iconPosition": "",
   273      "blend": false,
   274      "fields": null,
   275      "methods": null,
   276      "columns": null,
   277      "label": "\\\\cancel{Culture + 5}",
   278      "fontSize": 16,
   279      "fontFamily": "DEFAULT",
   280      "language": "latex",
   281      "color": "N1",
   282      "italic": false,
   283      "bold": false,
   284      "underline": false,
   285      "labelWidth": 104,
   286      "labelHeight": 24,
   287      "zIndex": 0,
   288      "level": 3
   289    },
   290    {
   291      "id": "container.color plugin",
   292      "type": "rectangle",
   293      "pos": {
   294        "x": 385,
   295        "y": 82
   296      },
   297      "width": 255,
   298      "height": 103,
   299      "opacity": 1,
   300      "strokeDash": 0,
   301      "strokeWidth": 2,
   302      "borderRadius": 0,
   303      "fill": "B5",
   304      "stroke": "B1",
   305      "shadow": false,
   306      "3d": false,
   307      "multiple": false,
   308      "double-border": false,
   309      "tooltip": "",
   310      "link": "",
   311      "icon": {
   312        "Scheme": "https",
   313        "Opaque": "",
   314        "User": null,
   315        "Host": "icons.terrastruct.com",
   316        "Path": "/essentials/profits.svg",
   317        "RawPath": "",
   318        "OmitHost": false,
   319        "ForceQuery": false,
   320        "RawQuery": "",
   321        "Fragment": "",
   322        "RawFragment": ""
   323      },
   324      "iconPosition": "OUTSIDE_RIGHT_MIDDLE",
   325      "blend": false,
   326      "fields": null,
   327      "methods": null,
   328      "columns": null,
   329      "label": "color plugin",
   330      "fontSize": 24,
   331      "fontFamily": "DEFAULT",
   332      "language": "",
   333      "color": "N1",
   334      "italic": false,
   335      "bold": false,
   336      "underline": false,
   337      "labelWidth": 118,
   338      "labelHeight": 31,
   339      "labelPosition": "OUTSIDE_TOP_CENTER",
   340      "zIndex": 0,
   341      "level": 2
   342    },
   343    {
   344      "id": "container.color plugin.ex",
   345      "type": "text",
   346      "pos": {
   347        "x": 415,
   348        "y": 112
   349      },
   350      "width": 69,
   351      "height": 16,
   352      "opacity": 1,
   353      "strokeDash": 0,
   354      "strokeWidth": 2,
   355      "borderRadius": 0,
   356      "fill": "transparent",
   357      "stroke": "N1",
   358      "shadow": false,
   359      "3d": false,
   360      "multiple": false,
   361      "double-border": false,
   362      "tooltip": "",
   363      "link": "",
   364      "icon": null,
   365      "iconPosition": "",
   366      "blend": false,
   367      "fields": null,
   368      "methods": null,
   369      "columns": null,
   370      "label": "\\\\textcolor{red}{y} = \\\\textcolor{green}{\\\\sin} x",
   371      "fontSize": 16,
   372      "fontFamily": "DEFAULT",
   373      "language": "latex",
   374      "color": "N1",
   375      "italic": false,
   376      "bold": false,
   377      "underline": false,
   378      "labelWidth": 69,
   379      "labelHeight": 16,
   380      "zIndex": 0,
   381      "level": 3
   382    },
   383    {
   384      "id": "container.gensymb plugin",
   385      "type": "rectangle",
   386      "pos": {
   387        "x": 385,
   388        "y": 241
   389      },
   390      "width": 324,
   391      "height": 103,
   392      "opacity": 1,
   393      "strokeDash": 0,
   394      "strokeWidth": 2,
   395      "borderRadius": 0,
   396      "fill": "B5",
   397      "stroke": "B1",
   398      "shadow": false,
   399      "3d": false,
   400      "multiple": false,
   401      "double-border": false,
   402      "tooltip": "",
   403      "link": "",
   404      "icon": null,
   405      "iconPosition": "",
   406      "blend": false,
   407      "fields": null,
   408      "methods": null,
   409      "columns": null,
   410      "label": "gensymb plugin",
   411      "fontSize": 24,
   412      "fontFamily": "DEFAULT",
   413      "language": "",
   414      "color": "N1",
   415      "italic": false,
   416      "bold": false,
   417      "underline": false,
   418      "labelWidth": 158,
   419      "labelHeight": 31,
   420      "labelPosition": "OUTSIDE_TOP_CENTER",
   421      "zIndex": 0,
   422      "level": 2
   423    },
   424    {
   425      "id": "container.gensymb plugin.ex",
   426      "type": "text",
   427      "pos": {
   428        "x": 415,
   429        "y": 271
   430      },
   431      "width": 96,
   432      "height": 18,
   433      "opacity": 1,
   434      "strokeDash": 0,
   435      "strokeWidth": 2,
   436      "borderRadius": 0,
   437      "fill": "transparent",
   438      "stroke": "N1",
   439      "shadow": false,
   440      "3d": false,
   441      "multiple": false,
   442      "double-border": false,
   443      "tooltip": "",
   444      "link": "",
   445      "icon": null,
   446      "iconPosition": "",
   447      "blend": false,
   448      "fields": null,
   449      "methods": null,
   450      "columns": null,
   451      "label": "\\\\lambda = 10.6\\\\,\\\\micro\\\\mathrm{m}",
   452      "fontSize": 16,
   453      "fontFamily": "DEFAULT",
   454      "language": "latex",
   455      "color": "N1",
   456      "italic": false,
   457      "bold": false,
   458      "underline": false,
   459      "labelWidth": 96,
   460      "labelHeight": 18,
   461      "zIndex": 0,
   462      "level": 3
   463    },
   464    {
   465      "id": "container.mhchem plugin",
   466      "type": "rectangle",
   467      "pos": {
   468        "x": 385,
   469        "y": 410
   470      },
   471      "width": 314,
   472      "height": 93,
   473      "opacity": 1,
   474      "strokeDash": 0,
   475      "strokeWidth": 2,
   476      "borderRadius": 0,
   477      "fill": "B5",
   478      "stroke": "B1",
   479      "shadow": false,
   480      "3d": false,
   481      "multiple": true,
   482      "double-border": false,
   483      "tooltip": "",
   484      "link": "",
   485      "icon": null,
   486      "iconPosition": "",
   487      "blend": false,
   488      "fields": null,
   489      "methods": null,
   490      "columns": null,
   491      "label": "mhchem plugin",
   492      "fontSize": 24,
   493      "fontFamily": "DEFAULT",
   494      "language": "",
   495      "color": "N1",
   496      "italic": false,
   497      "bold": false,
   498      "underline": false,
   499      "labelWidth": 156,
   500      "labelHeight": 31,
   501      "labelPosition": "OUTSIDE_TOP_CENTER",
   502      "zIndex": 0,
   503      "level": 2
   504    },
   505    {
   506      "id": "container.mhchem plugin.ex",
   507      "type": "text",
   508      "pos": {
   509        "x": 415,
   510        "y": 440
   511      },
   512      "width": 254,
   513      "height": 18,
   514      "opacity": 1,
   515      "strokeDash": 0,
   516      "strokeWidth": 2,
   517      "borderRadius": 0,
   518      "fill": "transparent",
   519      "stroke": "N1",
   520      "shadow": false,
   521      "3d": false,
   522      "multiple": false,
   523      "double-border": false,
   524      "tooltip": "",
   525      "link": "",
   526      "icon": null,
   527      "iconPosition": "",
   528      "blend": false,
   529      "fields": null,
   530      "methods": null,
   531      "columns": null,
   532      "label": "\\ce{SO4^2- + Ba^2+ -> BaSO4 v}",
   533      "fontSize": 16,
   534      "fontFamily": "DEFAULT",
   535      "language": "latex",
   536      "color": "N1",
   537      "italic": false,
   538      "bold": false,
   539      "underline": false,
   540      "labelWidth": 254,
   541      "labelHeight": 18,
   542      "zIndex": 0,
   543      "level": 3
   544    },
   545    {
   546      "id": "container.physics plugin",
   547      "type": "rectangle",
   548      "pos": {
   549        "x": 729,
   550        "y": 82
   551      },
   552      "width": 464,
   553      "height": 95,
   554      "opacity": 1,
   555      "strokeDash": 0,
   556      "strokeWidth": 2,
   557      "borderRadius": 0,
   558      "fill": "B5",
   559      "stroke": "B1",
   560      "shadow": false,
   561      "3d": false,
   562      "multiple": false,
   563      "double-border": false,
   564      "tooltip": "",
   565      "link": "",
   566      "icon": null,
   567      "iconPosition": "",
   568      "blend": false,
   569      "fields": null,
   570      "methods": null,
   571      "columns": null,
   572      "label": "physics plugin",
   573      "fontSize": 24,
   574      "fontFamily": "DEFAULT",
   575      "language": "",
   576      "color": "N1",
   577      "italic": false,
   578      "bold": false,
   579      "underline": false,
   580      "labelWidth": 141,
   581      "labelHeight": 31,
   582      "labelPosition": "OUTSIDE_TOP_CENTER",
   583      "zIndex": 0,
   584      "level": 2
   585    },
   586    {
   587      "id": "container.physics plugin.ex",
   588      "type": "text",
   589      "pos": {
   590        "x": 759,
   591        "y": 112
   592      },
   593      "width": 128,
   594      "height": 19,
   595      "opacity": 1,
   596      "strokeDash": 0,
   597      "strokeWidth": 2,
   598      "borderRadius": 0,
   599      "fill": "transparent",
   600      "stroke": "N1",
   601      "shadow": false,
   602      "3d": false,
   603      "multiple": false,
   604      "double-border": false,
   605      "tooltip": "",
   606      "link": "",
   607      "icon": null,
   608      "iconPosition": "",
   609      "blend": false,
   610      "fields": null,
   611      "methods": null,
   612      "columns": null,
   613      "label": "\\\\var{F[g(x)]}\n\\\\dd(\\\\cos\\\\theta)",
   614      "fontSize": 16,
   615      "fontFamily": "DEFAULT",
   616      "language": "latex",
   617      "color": "N1",
   618      "italic": false,
   619      "bold": false,
   620      "underline": false,
   621      "labelWidth": 128,
   622      "labelHeight": 19,
   623      "zIndex": 0,
   624      "level": 3
   625    },
   626    {
   627      "id": "container.multilines",
   628      "type": "rectangle",
   629      "pos": {
   630        "x": 729,
   631        "y": 233
   632      },
   633      "width": 464,
   634      "height": 112,
   635      "opacity": 1,
   636      "strokeDash": 0,
   637      "strokeWidth": 2,
   638      "borderRadius": 0,
   639      "fill": "B5",
   640      "stroke": "B1",
   641      "shadow": false,
   642      "3d": false,
   643      "multiple": false,
   644      "double-border": false,
   645      "tooltip": "",
   646      "link": "",
   647      "icon": null,
   648      "iconPosition": "",
   649      "blend": false,
   650      "fields": null,
   651      "methods": null,
   652      "columns": null,
   653      "label": "multilines",
   654      "fontSize": 24,
   655      "fontFamily": "DEFAULT",
   656      "language": "",
   657      "color": "N1",
   658      "italic": false,
   659      "bold": false,
   660      "underline": false,
   661      "labelWidth": 100,
   662      "labelHeight": 31,
   663      "labelPosition": "OUTSIDE_TOP_CENTER",
   664      "zIndex": 0,
   665      "level": 2
   666    },
   667    {
   668      "id": "container.multilines.ex",
   669      "type": "text",
   670      "pos": {
   671        "x": 759,
   672        "y": 263
   673      },
   674      "width": 404,
   675      "height": 52,
   676      "opacity": 1,
   677      "strokeDash": 0,
   678      "strokeWidth": 2,
   679      "borderRadius": 0,
   680      "fill": "transparent",
   681      "stroke": "N1",
   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": "\\\\displaylines{x = a + b \\\\\\\\ y = b + c}\n\\\\sum_{k=1}^{n} h_{k} \\\\int_{0}^{1} \\\\bigl(\\\\partial_{k} f(x_{k-1}+t h_{k} e_{k}) -\\\\partial_{k} f(a)\\\\bigr) \\\\,dt",
   695      "fontSize": 16,
   696      "fontFamily": "DEFAULT",
   697      "language": "latex",
   698      "color": "N1",
   699      "italic": false,
   700      "bold": false,
   701      "underline": false,
   702      "labelWidth": 404,
   703      "labelHeight": 52,
   704      "zIndex": 0,
   705      "level": 3
   706    },
   707    {
   708      "id": "container.asm",
   709      "type": "rectangle",
   710      "pos": {
   711        "x": 729,
   712        "y": 401
   713      },
   714      "width": 464,
   715      "height": 102,
   716      "opacity": 1,
   717      "strokeDash": 0,
   718      "strokeWidth": 2,
   719      "borderRadius": 0,
   720      "fill": "B5",
   721      "stroke": "B1",
   722      "shadow": false,
   723      "3d": false,
   724      "multiple": false,
   725      "double-border": false,
   726      "tooltip": "",
   727      "link": "",
   728      "icon": null,
   729      "iconPosition": "",
   730      "blend": false,
   731      "fields": null,
   732      "methods": null,
   733      "columns": null,
   734      "label": "asm",
   735      "fontSize": 24,
   736      "fontFamily": "DEFAULT",
   737      "language": "",
   738      "color": "N1",
   739      "italic": false,
   740      "bold": false,
   741      "underline": false,
   742      "labelWidth": 41,
   743      "labelHeight": 31,
   744      "labelPosition": "OUTSIDE_TOP_CENTER",
   745      "zIndex": 0,
   746      "level": 2
   747    },
   748    {
   749      "id": "container.asm.ex",
   750      "type": "text",
   751      "pos": {
   752        "x": 759,
   753        "y": 431
   754      },
   755      "width": 62,
   756      "height": 32,
   757      "opacity": 1,
   758      "strokeDash": 0,
   759      "strokeWidth": 2,
   760      "borderRadius": 0,
   761      "fill": "transparent",
   762      "stroke": "N1",
   763      "shadow": false,
   764      "3d": false,
   765      "multiple": false,
   766      "double-border": false,
   767      "tooltip": "",
   768      "link": "",
   769      "icon": null,
   770      "iconPosition": "",
   771      "blend": false,
   772      "fields": null,
   773      "methods": null,
   774      "columns": null,
   775      "label": "\\\\min_{ \\\\mathclap{\\\\substack{ x \\\\in \\\\mathbb{R}^n \\\\ x \\\\geq 0 \\\\ Ax \\\\leq b }}} c^T x",
   776      "fontSize": 16,
   777      "fontFamily": "DEFAULT",
   778      "language": "latex",
   779      "color": "N1",
   780      "italic": false,
   781      "bold": false,
   782      "underline": false,
   783      "labelWidth": 62,
   784      "labelHeight": 32,
   785      "zIndex": 0,
   786      "level": 3
   787    }
   788  ],
   789  "connections": [],
   790  "root": {
   791    "id": "",
   792    "type": "",
   793    "pos": {
   794      "x": 0,
   795      "y": 0
   796    },
   797    "width": 0,
   798    "height": 0,
   799    "opacity": 0,
   800    "strokeDash": 0,
   801    "strokeWidth": 0,
   802    "borderRadius": 0,
   803    "fill": "N7",
   804    "stroke": "",
   805    "shadow": false,
   806    "3d": false,
   807    "multiple": false,
   808    "double-border": false,
   809    "tooltip": "",
   810    "link": "",
   811    "icon": null,
   812    "iconPosition": "",
   813    "blend": false,
   814    "fields": null,
   815    "methods": null,
   816    "columns": null,
   817    "label": "",
   818    "fontSize": 0,
   819    "fontFamily": "",
   820    "language": "",
   821    "color": "",
   822    "italic": false,
   823    "bold": false,
   824    "underline": false,
   825    "labelWidth": 0,
   826    "labelHeight": 0,
   827    "zIndex": 0,
   828    "level": 0
   829  }
   830}

View as plain text