...

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

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

     1{
     2  "name": "",
     3  "isFolderOnly": false,
     4  "fontFamily": "SourceSansPro",
     5  "shapes": [
     6    {
     7      "id": "a",
     8      "type": "text",
     9      "pos": {
    10        "x": 12,
    11        "y": 224
    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": 414,
    51        "y": 265
    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": 235,
    91        "y": 93
    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": 315,
   131        "y": 455
   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": 499,
   172        "y": 259
   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": 340,
   213        "y": 682
   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": 434,
   254        "y": 12
   255      },
   256      "width": 223,
   257      "height": 132,
   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": "INSIDE_TOP_CENTER",
   287      "zIndex": 0,
   288      "level": 1
   289    },
   290    {
   291      "id": "Linear program.formula",
   292      "type": "text",
   293      "pos": {
   294        "x": 514,
   295        "y": 62
   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": 294.9159851074219,
   358          "y": 144
   359        },
   360        {
   361          "x": 294.9159851074219,
   362          "y": 224
   363        }
   364      ],
   365      "animated": false,
   366      "tooltip": "",
   367      "icon": null,
   368      "zIndex": 0
   369    },
   370    {
   371      "id": "(z -> b)[0]",
   372      "src": "z",
   373      "srcArrow": "none",
   374      "dst": "b",
   375      "dstArrow": "triangle",
   376      "opacity": 1,
   377      "strokeDash": 0,
   378      "strokeWidth": 2,
   379      "stroke": "B1",
   380      "borderRadius": 10,
   381      "label": "",
   382      "fontSize": 16,
   383      "fontFamily": "DEFAULT",
   384      "language": "",
   385      "color": "N2",
   386      "italic": true,
   387      "bold": false,
   388      "underline": false,
   389      "labelWidth": 0,
   390      "labelHeight": 0,
   391      "labelPosition": "",
   392      "labelPercentage": 0,
   393      "route": [
   394        {
   395          "x": 354.5830078125,
   396          "y": 144
   397        },
   398        {
   399          "x": 354.5830078125,
   400          "y": 184
   401        },
   402        {
   403          "x": 446.5,
   404          "y": 184
   405        },
   406        {
   407          "x": 446.5,
   408          "y": 266
   409        }
   410      ],
   411      "animated": false,
   412      "tooltip": "",
   413      "icon": null,
   414      "zIndex": 0
   415    },
   416    {
   417      "id": "(a -> c)[0]",
   418      "src": "a",
   419      "srcArrow": "none",
   420      "dst": "c",
   421      "dstArrow": "triangle",
   422      "opacity": 1,
   423      "strokeDash": 0,
   424      "strokeWidth": 2,
   425      "stroke": "B1",
   426      "borderRadius": 10,
   427      "label": "",
   428      "fontSize": 16,
   429      "fontFamily": "DEFAULT",
   430      "language": "",
   431      "color": "N2",
   432      "italic": true,
   433      "bold": false,
   434      "underline": false,
   435      "labelWidth": 0,
   436      "labelHeight": 0,
   437      "labelPosition": "",
   438      "labelPercentage": 0,
   439      "route": [
   440        {
   441          "x": 354.4159851074219,
   442          "y": 325
   443        },
   444        {
   445          "x": 354.4159851074219,
   446          "y": 455
   447        }
   448      ],
   449      "animated": false,
   450      "tooltip": "",
   451      "icon": null,
   452      "zIndex": 0
   453    },
   454    {
   455      "id": "(b -> c)[0]",
   456      "src": "b",
   457      "srcArrow": "none",
   458      "dst": "c",
   459      "dstArrow": "triangle",
   460      "opacity": 1,
   461      "strokeDash": 0,
   462      "strokeWidth": 2,
   463      "stroke": "B1",
   464      "borderRadius": 10,
   465      "label": "",
   466      "fontSize": 16,
   467      "fontFamily": "DEFAULT",
   468      "language": "",
   469      "color": "N2",
   470      "italic": true,
   471      "bold": false,
   472      "underline": false,
   473      "labelWidth": 0,
   474      "labelHeight": 0,
   475      "labelPosition": "",
   476      "labelPercentage": 0,
   477      "route": [
   478        {
   479          "x": 446.5,
   480          "y": 283
   481        },
   482        {
   483          "x": 446.5,
   484          "y": 365
   485        },
   486        {
   487          "x": 392.9159851074219,
   488          "y": 365
   489        },
   490        {
   491          "x": 392.9159851074219,
   492          "y": 455
   493        }
   494      ],
   495      "animated": false,
   496      "tooltip": "",
   497      "icon": null,
   498      "zIndex": 0
   499    },
   500    {
   501      "id": "(sugar -> c)[0]",
   502      "src": "sugar",
   503      "srcArrow": "none",
   504      "dst": "c",
   505      "dstArrow": "triangle",
   506      "opacity": 1,
   507      "strokeDash": 0,
   508      "strokeWidth": 2,
   509      "stroke": "B1",
   510      "borderRadius": 10,
   511      "label": "",
   512      "fontSize": 16,
   513      "fontFamily": "DEFAULT",
   514      "language": "",
   515      "color": "N2",
   516      "italic": true,
   517      "bold": false,
   518      "underline": false,
   519      "labelWidth": 0,
   520      "labelHeight": 0,
   521      "labelPosition": "",
   522      "labelPercentage": 0,
   523      "route": [
   524        {
   525          "x": 542,
   526          "y": 325
   527        },
   528        {
   529          "x": 542,
   530          "y": 415
   531        },
   532        {
   533          "x": 431.4159851074219,
   534          "y": 415
   535        },
   536        {
   537          "x": 431.4159851074219,
   538          "y": 455
   539        }
   540      ],
   541      "animated": false,
   542      "tooltip": "",
   543      "icon": null,
   544      "zIndex": 0
   545    },
   546    {
   547      "id": "(c -> solution)[0]",
   548      "src": "c",
   549      "srcArrow": "none",
   550      "dst": "solution",
   551      "dstArrow": "triangle",
   552      "opacity": 1,
   553      "strokeDash": 0,
   554      "strokeWidth": 2,
   555      "stroke": "B1",
   556      "borderRadius": 10,
   557      "label": "we get",
   558      "fontSize": 16,
   559      "fontFamily": "DEFAULT",
   560      "language": "",
   561      "color": "N2",
   562      "italic": true,
   563      "bold": false,
   564      "underline": false,
   565      "labelWidth": 44,
   566      "labelHeight": 21,
   567      "labelPosition": "INSIDE_MIDDLE_CENTER",
   568      "labelPercentage": 0,
   569      "route": [
   570        {
   571          "x": 392.9159851074219,
   572          "y": 521
   573        },
   574        {
   575          "x": 392.9159851074219,
   576          "y": 682
   577        }
   578      ],
   579      "animated": false,
   580      "tooltip": "",
   581      "icon": null,
   582      "zIndex": 0
   583    }
   584  ],
   585  "root": {
   586    "id": "",
   587    "type": "",
   588    "pos": {
   589      "x": 0,
   590      "y": 0
   591    },
   592    "width": 0,
   593    "height": 0,
   594    "opacity": 0,
   595    "strokeDash": 0,
   596    "strokeWidth": 0,
   597    "borderRadius": 0,
   598    "fill": "N7",
   599    "stroke": "",
   600    "shadow": false,
   601    "3d": false,
   602    "multiple": false,
   603    "double-border": false,
   604    "tooltip": "",
   605    "link": "",
   606    "icon": null,
   607    "iconPosition": "",
   608    "blend": false,
   609    "fields": null,
   610    "methods": null,
   611    "columns": null,
   612    "label": "",
   613    "fontSize": 0,
   614    "fontFamily": "",
   615    "language": "",
   616    "color": "",
   617    "italic": false,
   618    "bold": false,
   619    "underline": false,
   620    "labelWidth": 0,
   621    "labelHeight": 0,
   622    "zIndex": 0,
   623    "level": 0
   624  }
   625}

View as plain text