...

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

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

     1{
     2  "name": "",
     3  "isFolderOnly": false,
     4  "fontFamily": "SourceSansPro",
     5  "shapes": [
     6    {
     7      "id": "a",
     8      "type": "text",
     9      "pos": {
    10        "x": 26,
    11        "y": 251
    12      },
    13      "width": 382,
    14      "height": 101,
    15      "opacity": 1,
    16      "strokeDash": 0,
    17      "strokeWidth": 2,
    18      "borderRadius": 0,
    19      "fill": "transparent",
    20      "stroke": "N1",
    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": "\\\\Huge{\\\\frac{\\\\alpha g^2}{\\\\omega^5} e^{[ -0.74\\\\bigl\\\\{\\\\frac{\\\\omega U_\\\\omega 19.5}{g}\\\\bigr\\\\}^{\\\\!-4}\\\\,]}}",
    34      "fontSize": 16,
    35      "fontFamily": "DEFAULT",
    36      "language": "latex",
    37      "color": "N1",
    38      "italic": false,
    39      "bold": false,
    40      "underline": false,
    41      "labelWidth": 382,
    42      "labelHeight": 101,
    43      "zIndex": 0,
    44      "level": 1
    45    },
    46    {
    47      "id": "b",
    48      "type": "text",
    49      "pos": {
    50        "x": 468,
    51        "y": 293
    52      },
    53      "width": 65,
    54      "height": 18,
    55      "opacity": 1,
    56      "strokeDash": 0,
    57      "strokeWidth": 2,
    58      "borderRadius": 0,
    59      "fill": "transparent",
    60      "stroke": "N1",
    61      "shadow": false,
    62      "3d": false,
    63      "multiple": false,
    64      "double-border": false,
    65      "tooltip": "",
    66      "link": "",
    67      "icon": null,
    68      "iconPosition": "",
    69      "blend": false,
    70      "fields": null,
    71      "methods": null,
    72      "columns": null,
    73      "label": "e = mc^2",
    74      "fontSize": 16,
    75      "fontFamily": "DEFAULT",
    76      "language": "latex",
    77      "color": "N1",
    78      "italic": false,
    79      "bold": false,
    80      "underline": false,
    81      "labelWidth": 65,
    82      "labelHeight": 18,
    83      "zIndex": 0,
    84      "level": 1
    85    },
    86    {
    87      "id": "z",
    88      "type": "text",
    89      "pos": {
    90        "x": 269,
    91        "y": 50
    92      },
    93      "width": 179,
    94      "height": 51,
    95      "opacity": 1,
    96      "strokeDash": 0,
    97      "strokeWidth": 2,
    98      "borderRadius": 0,
    99      "fill": "transparent",
   100      "stroke": "N1",
   101      "shadow": false,
   102      "3d": false,
   103      "multiple": false,
   104      "double-border": false,
   105      "tooltip": "",
   106      "link": "",
   107      "icon": null,
   108      "iconPosition": "",
   109      "blend": false,
   110      "fields": null,
   111      "methods": null,
   112      "columns": null,
   113      "label": "gibberish\\\\; math:\\\\sum_{i=0}^\\\\infty i^2",
   114      "fontSize": 16,
   115      "fontFamily": "DEFAULT",
   116      "language": "latex",
   117      "color": "N1",
   118      "italic": false,
   119      "bold": false,
   120      "underline": false,
   121      "labelWidth": 179,
   122      "labelHeight": 51,
   123      "zIndex": 0,
   124      "level": 1
   125    },
   126    {
   127      "id": "c",
   128      "type": "rectangle",
   129      "pos": {
   130        "x": 423,
   131        "y": 452
   132      },
   133      "width": 154,
   134      "height": 66,
   135      "opacity": 1,
   136      "strokeDash": 0,
   137      "strokeWidth": 2,
   138      "borderRadius": 0,
   139      "fill": "B6",
   140      "stroke": "B1",
   141      "shadow": false,
   142      "3d": false,
   143      "multiple": false,
   144      "double-border": false,
   145      "tooltip": "",
   146      "link": "",
   147      "icon": null,
   148      "iconPosition": "",
   149      "blend": false,
   150      "fields": null,
   151      "methods": null,
   152      "columns": null,
   153      "label": "mixed together",
   154      "fontSize": 16,
   155      "fontFamily": "DEFAULT",
   156      "language": "",
   157      "color": "N1",
   158      "italic": false,
   159      "bold": true,
   160      "underline": false,
   161      "labelWidth": 109,
   162      "labelHeight": 21,
   163      "labelPosition": "INSIDE_MIDDLE_CENTER",
   164      "zIndex": 0,
   165      "level": 1
   166    },
   167    {
   168      "id": "sugar",
   169      "type": "rectangle",
   170      "pos": {
   171        "x": 593,
   172        "y": 269
   173      },
   174      "width": 86,
   175      "height": 66,
   176      "opacity": 1,
   177      "strokeDash": 0,
   178      "strokeWidth": 2,
   179      "borderRadius": 0,
   180      "fill": "B6",
   181      "stroke": "B1",
   182      "shadow": false,
   183      "3d": false,
   184      "multiple": false,
   185      "double-border": false,
   186      "tooltip": "",
   187      "link": "",
   188      "icon": null,
   189      "iconPosition": "",
   190      "blend": false,
   191      "fields": null,
   192      "methods": null,
   193      "columns": null,
   194      "label": "sugar",
   195      "fontSize": 16,
   196      "fontFamily": "DEFAULT",
   197      "language": "",
   198      "color": "N1",
   199      "italic": false,
   200      "bold": true,
   201      "underline": false,
   202      "labelWidth": 41,
   203      "labelHeight": 21,
   204      "labelPosition": "INSIDE_MIDDLE_CENTER",
   205      "zIndex": 0,
   206      "level": 1
   207    },
   208    {
   209      "id": "solution",
   210      "type": "rectangle",
   211      "pos": {
   212        "x": 448,
   213        "y": 639
   214      },
   215      "width": 104,
   216      "height": 66,
   217      "opacity": 1,
   218      "strokeDash": 0,
   219      "strokeWidth": 2,
   220      "borderRadius": 0,
   221      "fill": "B6",
   222      "stroke": "B1",
   223      "shadow": false,
   224      "3d": false,
   225      "multiple": false,
   226      "double-border": false,
   227      "tooltip": "",
   228      "link": "",
   229      "icon": null,
   230      "iconPosition": "",
   231      "blend": false,
   232      "fields": null,
   233      "methods": null,
   234      "columns": null,
   235      "label": "solution",
   236      "fontSize": 16,
   237      "fontFamily": "DEFAULT",
   238      "language": "",
   239      "color": "N1",
   240      "italic": false,
   241      "bold": true,
   242      "underline": false,
   243      "labelWidth": 59,
   244      "labelHeight": 21,
   245      "labelPosition": "INSIDE_MIDDLE_CENTER",
   246      "zIndex": 0,
   247      "level": 1
   248    },
   249    {
   250      "id": "Linear program",
   251      "type": "rectangle",
   252      "pos": {
   253        "x": 10,
   254        "y": 30
   255      },
   256      "width": 122,
   257      "height": 92,
   258      "opacity": 1,
   259      "strokeDash": 0,
   260      "strokeWidth": 2,
   261      "borderRadius": 0,
   262      "fill": "B4",
   263      "stroke": "B1",
   264      "shadow": false,
   265      "3d": false,
   266      "multiple": false,
   267      "double-border": false,
   268      "tooltip": "",
   269      "link": "",
   270      "icon": null,
   271      "iconPosition": "",
   272      "blend": false,
   273      "fields": null,
   274      "methods": null,
   275      "columns": null,
   276      "label": "Linear program",
   277      "fontSize": 28,
   278      "fontFamily": "DEFAULT",
   279      "language": "",
   280      "color": "N1",
   281      "italic": false,
   282      "bold": false,
   283      "underline": false,
   284      "labelWidth": 178,
   285      "labelHeight": 36,
   286      "labelPosition": "OUTSIDE_TOP_CENTER",
   287      "zIndex": 0,
   288      "level": 1
   289    },
   290    {
   291      "id": "Linear program.formula",
   292      "type": "text",
   293      "pos": {
   294        "x": 40,
   295        "y": 60
   296      },
   297      "width": 62,
   298      "height": 32,
   299      "opacity": 1,
   300      "strokeDash": 0,
   301      "strokeWidth": 2,
   302      "borderRadius": 0,
   303      "fill": "transparent",
   304      "stroke": "N1",
   305      "shadow": false,
   306      "3d": false,
   307      "multiple": false,
   308      "double-border": false,
   309      "tooltip": "",
   310      "link": "",
   311      "icon": null,
   312      "iconPosition": "",
   313      "blend": false,
   314      "fields": null,
   315      "methods": null,
   316      "columns": null,
   317      "label": "\\\\min_{ \\\\mathclap{\\\\substack{ x \\\\in \\\\mathbb{R}^n \\\\ x \\\\geq 0 \\\\ Ax \\\\leq b }}} c^T x",
   318      "fontSize": 16,
   319      "fontFamily": "DEFAULT",
   320      "language": "latex",
   321      "color": "N1",
   322      "italic": false,
   323      "bold": false,
   324      "underline": false,
   325      "labelWidth": 62,
   326      "labelHeight": 32,
   327      "zIndex": 0,
   328      "level": 2
   329    }
   330  ],
   331  "connections": [
   332    {
   333      "id": "(z -> a)[0]",
   334      "src": "z",
   335      "srcArrow": "none",
   336      "dst": "a",
   337      "dstArrow": "triangle",
   338      "opacity": 1,
   339      "strokeDash": 0,
   340      "strokeWidth": 2,
   341      "stroke": "B1",
   342      "borderRadius": 10,
   343      "label": "",
   344      "fontSize": 16,
   345      "fontFamily": "DEFAULT",
   346      "language": "",
   347      "color": "N2",
   348      "italic": true,
   349      "bold": false,
   350      "underline": false,
   351      "labelWidth": 0,
   352      "labelHeight": 0,
   353      "labelPosition": "",
   354      "labelPercentage": 0,
   355      "route": [
   356        {
   357          "x": 310.75,
   358          "y": 101
   359        },
   360        {
   361          "x": 235.5500030517578,
   362          "y": 141
   363        },
   364        {
   365          "x": 216.75,
   366          "y": 211
   367        },
   368        {
   369          "x": 216.75,
   370          "y": 251
   371        }
   372      ],
   373      "isCurve": true,
   374      "animated": false,
   375      "tooltip": "",
   376      "icon": null,
   377      "zIndex": 0
   378    },
   379    {
   380      "id": "(z -> b)[0]",
   381      "src": "z",
   382      "srcArrow": "none",
   383      "dst": "b",
   384      "dstArrow": "triangle",
   385      "opacity": 1,
   386      "strokeDash": 0,
   387      "strokeWidth": 2,
   388      "stroke": "B1",
   389      "borderRadius": 10,
   390      "label": "",
   391      "fontSize": 16,
   392      "fontFamily": "DEFAULT",
   393      "language": "",
   394      "color": "N2",
   395      "italic": true,
   396      "bold": false,
   397      "underline": false,
   398      "labelWidth": 0,
   399      "labelHeight": 0,
   400      "labelPosition": "",
   401      "labelPercentage": 0,
   402      "route": [
   403        {
   404          "x": 406.25,
   405          "y": 101
   406        },
   407        {
   408          "x": 481.45001220703125,
   409          "y": 141
   410        },
   411        {
   412          "x": 500.25,
   413          "y": 219.3000030517578
   414        },
   415        {
   416          "x": 500.25,
   417          "y": 292.5
   418        }
   419      ],
   420      "isCurve": true,
   421      "animated": false,
   422      "tooltip": "",
   423      "icon": null,
   424      "zIndex": 0
   425    },
   426    {
   427      "id": "(a -> c)[0]",
   428      "src": "a",
   429      "srcArrow": "none",
   430      "dst": "c",
   431      "dstArrow": "triangle",
   432      "opacity": 1,
   433      "strokeDash": 0,
   434      "strokeWidth": 2,
   435      "stroke": "B1",
   436      "borderRadius": 10,
   437      "label": "",
   438      "fontSize": 16,
   439      "fontFamily": "DEFAULT",
   440      "language": "",
   441      "color": "N2",
   442      "italic": true,
   443      "bold": false,
   444      "underline": false,
   445      "labelWidth": 0,
   446      "labelHeight": 0,
   447      "labelPosition": "",
   448      "labelPercentage": 0,
   449      "route": [
   450        {
   451          "x": 216.75,
   452          "y": 352
   453        },
   454        {
   455          "x": 216.75,
   456          "y": 392
   457        },
   458        {
   459          "x": 257.95001220703125,
   460          "y": 414
   461        },
   462        {
   463          "x": 422.75,
   464          "y": 462
   465        }
   466      ],
   467      "isCurve": true,
   468      "animated": false,
   469      "tooltip": "",
   470      "icon": null,
   471      "zIndex": 0
   472    },
   473    {
   474      "id": "(b -> c)[0]",
   475      "src": "b",
   476      "srcArrow": "none",
   477      "dst": "c",
   478      "dstArrow": "triangle",
   479      "opacity": 1,
   480      "strokeDash": 0,
   481      "strokeWidth": 2,
   482      "stroke": "B1",
   483      "borderRadius": 10,
   484      "label": "",
   485      "fontSize": 16,
   486      "fontFamily": "DEFAULT",
   487      "language": "",
   488      "color": "N2",
   489      "italic": true,
   490      "bold": false,
   491      "underline": false,
   492      "labelWidth": 0,
   493      "labelHeight": 0,
   494      "labelPosition": "",
   495      "labelPercentage": 0,
   496      "route": [
   497        {
   498          "x": 500.25,
   499          "y": 311.5
   500        },
   501        {
   502          "x": 500.25,
   503          "y": 383.8999938964844
   504        },
   505        {
   506          "x": 500.25,
   507          "y": 412
   508        },
   509        {
   510          "x": 500.25,
   511          "y": 452
   512        }
   513      ],
   514      "isCurve": true,
   515      "animated": false,
   516      "tooltip": "",
   517      "icon": null,
   518      "zIndex": 0
   519    },
   520    {
   521      "id": "(sugar -> c)[0]",
   522      "src": "sugar",
   523      "srcArrow": "none",
   524      "dst": "c",
   525      "dstArrow": "triangle",
   526      "opacity": 1,
   527      "strokeDash": 0,
   528      "strokeWidth": 2,
   529      "stroke": "B1",
   530      "borderRadius": 10,
   531      "label": "",
   532      "fontSize": 16,
   533      "fontFamily": "DEFAULT",
   534      "language": "",
   535      "color": "N2",
   536      "italic": true,
   537      "bold": false,
   538      "underline": false,
   539      "labelWidth": 0,
   540      "labelHeight": 0,
   541      "labelPosition": "",
   542      "labelPercentage": 0,
   543      "route": [
   544        {
   545          "x": 635.75,
   546          "y": 335.5
   547        },
   548        {
   549          "x": 635.75,
   550          "y": 388.70001220703125
   551        },
   552        {
   553          "x": 619.3499755859375,
   554          "y": 412
   555        },
   556        {
   557          "x": 553.75,
   558          "y": 452
   559        }
   560      ],
   561      "isCurve": true,
   562      "animated": false,
   563      "tooltip": "",
   564      "icon": null,
   565      "zIndex": 0
   566    },
   567    {
   568      "id": "(c -> solution)[0]",
   569      "src": "c",
   570      "srcArrow": "none",
   571      "dst": "solution",
   572      "dstArrow": "triangle",
   573      "opacity": 1,
   574      "strokeDash": 0,
   575      "strokeWidth": 2,
   576      "stroke": "B1",
   577      "borderRadius": 10,
   578      "label": "we get",
   579      "fontSize": 16,
   580      "fontFamily": "DEFAULT",
   581      "language": "",
   582      "color": "N2",
   583      "italic": true,
   584      "bold": false,
   585      "underline": false,
   586      "labelWidth": 44,
   587      "labelHeight": 21,
   588      "labelPosition": "INSIDE_MIDDLE_CENTER",
   589      "labelPercentage": 0,
   590      "route": [
   591        {
   592          "x": 500.25,
   593          "y": 517.5
   594        },
   595        {
   596          "x": 500.25,
   597          "y": 566.2999877929688
   598        },
   599        {
   600          "x": 500.25,
   601          "y": 590.7000122070312
   602        },
   603        {
   604          "x": 500.25,
   605          "y": 639.5
   606        }
   607      ],
   608      "isCurve": true,
   609      "animated": false,
   610      "tooltip": "",
   611      "icon": null,
   612      "zIndex": 0
   613    }
   614  ],
   615  "root": {
   616    "id": "",
   617    "type": "",
   618    "pos": {
   619      "x": 0,
   620      "y": 0
   621    },
   622    "width": 0,
   623    "height": 0,
   624    "opacity": 0,
   625    "strokeDash": 0,
   626    "strokeWidth": 0,
   627    "borderRadius": 0,
   628    "fill": "N7",
   629    "stroke": "",
   630    "shadow": false,
   631    "3d": false,
   632    "multiple": false,
   633    "double-border": false,
   634    "tooltip": "",
   635    "link": "",
   636    "icon": null,
   637    "iconPosition": "",
   638    "blend": false,
   639    "fields": null,
   640    "methods": null,
   641    "columns": null,
   642    "label": "",
   643    "fontSize": 0,
   644    "fontFamily": "",
   645    "language": "",
   646    "color": "",
   647    "italic": false,
   648    "bold": false,
   649    "underline": false,
   650    "labelWidth": 0,
   651    "labelHeight": 0,
   652    "zIndex": 0,
   653    "level": 0
   654  }
   655}

View as plain text