...

Text file src/oss.terrastruct.com/d2/e2etests/testdata/regression/grid_with_latex/elk/board.exp.json

Documentation: oss.terrastruct.com/d2/e2etests/testdata/regression/grid_with_latex/elk

     1{
     2  "name": "",
     3  "isFolderOnly": false,
     4  "fontFamily": "SourceSansPro",
     5  "shapes": [
     6    {
     7      "id": "x",
     8      "type": "rectangle",
     9      "pos": {
    10        "x": 12,
    11        "y": 12
    12      },
    13      "width": 260,
    14      "height": 192,
    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": "x",
    34      "fontSize": 28,
    35      "fontFamily": "DEFAULT",
    36      "language": "",
    37      "color": "N1",
    38      "italic": false,
    39      "bold": false,
    40      "underline": false,
    41      "labelWidth": 13,
    42      "labelHeight": 36,
    43      "labelPosition": "INSIDE_TOP_CENTER",
    44      "zIndex": 0,
    45      "level": 1
    46    },
    47    {
    48      "id": "x.a",
    49      "type": "rectangle",
    50      "pos": {
    51        "x": 72,
    52        "y": 72
    53      },
    54      "width": 50,
    55      "height": 72,
    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": "a",
    75      "fontSize": 16,
    76      "fontFamily": "DEFAULT",
    77      "language": "",
    78      "color": "N1",
    79      "italic": false,
    80      "bold": true,
    81      "underline": false,
    82      "labelWidth": 8,
    83      "labelHeight": 21,
    84      "labelPosition": "INSIDE_MIDDLE_CENTER",
    85      "zIndex": 0,
    86      "level": 2
    87    },
    88    {
    89      "id": "x.b",
    90      "type": "rectangle",
    91      "pos": {
    92        "x": 162,
    93        "y": 72
    94      },
    95      "width": 50,
    96      "height": 72,
    97      "opacity": 1,
    98      "strokeDash": 0,
    99      "strokeWidth": 2,
   100      "borderRadius": 0,
   101      "fill": "B5",
   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": "b",
   116      "fontSize": 16,
   117      "fontFamily": "DEFAULT",
   118      "language": "",
   119      "color": "N1",
   120      "italic": false,
   121      "bold": true,
   122      "underline": false,
   123      "labelWidth": 8,
   124      "labelHeight": 21,
   125      "labelPosition": "INSIDE_MIDDLE_CENTER",
   126      "zIndex": 0,
   127      "level": 2
   128    },
   129    {
   130      "id": "y",
   131      "type": "rectangle",
   132      "pos": {
   133        "x": 292,
   134        "y": 12
   135      },
   136      "width": 260,
   137      "height": 193,
   138      "opacity": 1,
   139      "strokeDash": 0,
   140      "strokeWidth": 2,
   141      "borderRadius": 0,
   142      "fill": "B4",
   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": "y",
   157      "fontSize": 28,
   158      "fontFamily": "DEFAULT",
   159      "language": "",
   160      "color": "N1",
   161      "italic": false,
   162      "bold": false,
   163      "underline": false,
   164      "labelWidth": 13,
   165      "labelHeight": 36,
   166      "labelPosition": "INSIDE_TOP_CENTER",
   167      "zIndex": 0,
   168      "level": 1
   169    },
   170    {
   171      "id": "y.a",
   172      "type": "rectangle",
   173      "pos": {
   174        "x": 352,
   175        "y": 72
   176      },
   177      "width": 50,
   178      "height": 73,
   179      "opacity": 1,
   180      "strokeDash": 0,
   181      "strokeWidth": 2,
   182      "borderRadius": 0,
   183      "fill": "B5",
   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": "a",
   198      "fontSize": 16,
   199      "fontFamily": "DEFAULT",
   200      "language": "",
   201      "color": "N1",
   202      "italic": false,
   203      "bold": true,
   204      "underline": false,
   205      "labelWidth": 8,
   206      "labelHeight": 21,
   207      "labelPosition": "INSIDE_MIDDLE_CENTER",
   208      "zIndex": 0,
   209      "level": 2
   210    },
   211    {
   212      "id": "y.b",
   213      "type": "rectangle",
   214      "pos": {
   215        "x": 442,
   216        "y": 72
   217      },
   218      "width": 50,
   219      "height": 73,
   220      "opacity": 1,
   221      "strokeDash": 0,
   222      "strokeWidth": 2,
   223      "borderRadius": 0,
   224      "fill": "B5",
   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": "b",
   239      "fontSize": 16,
   240      "fontFamily": "DEFAULT",
   241      "language": "",
   242      "color": "N1",
   243      "italic": false,
   244      "bold": true,
   245      "underline": false,
   246      "labelWidth": 8,
   247      "labelHeight": 21,
   248      "labelPosition": "INSIDE_MIDDLE_CENTER",
   249      "zIndex": 0,
   250      "level": 2
   251    },
   252    {
   253      "id": "z",
   254      "type": "rectangle",
   255      "pos": {
   256        "x": 572,
   257        "y": 28
   258      },
   259      "width": 363,
   260      "height": 161,
   261      "opacity": 1,
   262      "strokeDash": 0,
   263      "strokeWidth": 2,
   264      "borderRadius": 0,
   265      "fill": "B4",
   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": "z",
   280      "fontSize": 28,
   281      "fontFamily": "DEFAULT",
   282      "language": "",
   283      "color": "N1",
   284      "italic": false,
   285      "bold": false,
   286      "underline": false,
   287      "labelWidth": 12,
   288      "labelHeight": 36,
   289      "labelPosition": "INSIDE_TOP_CENTER",
   290      "zIndex": 0,
   291      "level": 1
   292    },
   293    {
   294      "id": "z.lim",
   295      "type": "text",
   296      "pos": {
   297        "x": 632,
   298        "y": 88
   299      },
   300      "width": 162,
   301      "height": 41,
   302      "opacity": 1,
   303      "strokeDash": 0,
   304      "strokeWidth": 2,
   305      "borderRadius": 0,
   306      "fill": "transparent",
   307      "stroke": "N1",
   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": "\\\\lim_{h \\\\rightarrow 0 } \\\\frac{f(x+h)-f(x)}{h}",
   321      "fontSize": 16,
   322      "fontFamily": "DEFAULT",
   323      "language": "latex",
   324      "color": "N1",
   325      "italic": false,
   326      "bold": false,
   327      "underline": false,
   328      "labelWidth": 162,
   329      "labelHeight": 41,
   330      "zIndex": 0,
   331      "level": 2
   332    },
   333    {
   334      "id": "z.add",
   335      "type": "text",
   336      "pos": {
   337        "x": 834,
   338        "y": 88
   339      },
   340      "width": 41,
   341      "height": 41,
   342      "opacity": 1,
   343      "strokeDash": 0,
   344      "strokeWidth": 2,
   345      "borderRadius": 0,
   346      "fill": "transparent",
   347      "stroke": "N1",
   348      "shadow": false,
   349      "3d": false,
   350      "multiple": false,
   351      "double-border": false,
   352      "tooltip": "",
   353      "link": "",
   354      "icon": null,
   355      "iconPosition": "",
   356      "blend": false,
   357      "fields": null,
   358      "methods": null,
   359      "columns": null,
   360      "label": "1 + 1",
   361      "fontSize": 16,
   362      "fontFamily": "DEFAULT",
   363      "language": "latex",
   364      "color": "N1",
   365      "italic": false,
   366      "bold": false,
   367      "underline": false,
   368      "labelWidth": 41,
   369      "labelHeight": 14,
   370      "zIndex": 0,
   371      "level": 2
   372    }
   373  ],
   374  "connections": [],
   375  "root": {
   376    "id": "",
   377    "type": "",
   378    "pos": {
   379      "x": 0,
   380      "y": 0
   381    },
   382    "width": 0,
   383    "height": 0,
   384    "opacity": 0,
   385    "strokeDash": 0,
   386    "strokeWidth": 0,
   387    "borderRadius": 0,
   388    "fill": "N7",
   389    "stroke": "",
   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": "",
   403    "fontSize": 0,
   404    "fontFamily": "",
   405    "language": "",
   406    "color": "",
   407    "italic": false,
   408    "bold": false,
   409    "underline": false,
   410    "labelWidth": 0,
   411    "labelHeight": 0,
   412    "zIndex": 0,
   413    "level": 0
   414  }
   415}

View as plain text