...

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

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

     1{
     2  "name": "",
     3  "isFolderOnly": false,
     4  "fontFamily": "SourceSansPro",
     5  "shapes": [
     6    {
     7      "id": "5 leading",
     8      "type": "code",
     9      "pos": {
    10        "x": 12,
    11        "y": 12
    12      },
    13      "width": 160,
    14      "height": 182,
    15      "opacity": 1,
    16      "strokeDash": 0,
    17      "strokeWidth": 2,
    18      "borderRadius": 0,
    19      "fill": "N7",
    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": "\n\n\n\n\ndef hello():\n\n  print \"world\"",
    34      "fontSize": 16,
    35      "fontFamily": "DEFAULT",
    36      "language": "python",
    37      "color": "N1",
    38      "italic": false,
    39      "bold": true,
    40      "underline": false,
    41      "labelWidth": 144,
    42      "labelHeight": 166,
    43      "zIndex": 0,
    44      "level": 1
    45    },
    46    {
    47      "id": "8 total",
    48      "type": "code",
    49      "pos": {
    50        "x": 192,
    51        "y": 12
    52      },
    53      "width": 160,
    54      "height": 182,
    55      "opacity": 1,
    56      "strokeDash": 0,
    57      "strokeWidth": 2,
    58      "borderRadius": 0,
    59      "fill": "N7",
    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": "# 1 leading\n# 2 leading\n# 3 leading\n# 4 leading\n# 5 leading\ndef hello():\n\n  print \"world\"",
    74      "fontSize": 16,
    75      "fontFamily": "DEFAULT",
    76      "language": "python",
    77      "color": "N1",
    78      "italic": false,
    79      "bold": true,
    80      "underline": false,
    81      "labelWidth": 144,
    82      "labelHeight": 166,
    83      "zIndex": 0,
    84      "level": 1
    85    },
    86    {
    87      "id": "1 leading",
    88      "type": "code",
    89      "pos": {
    90        "x": 372,
    91        "y": 53
    92      },
    93      "width": 160,
    94      "height": 99,
    95      "opacity": 1,
    96      "strokeDash": 0,
    97      "strokeWidth": 2,
    98      "borderRadius": 0,
    99      "fill": "N7",
   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": "\ndef hello():\n\n  print \"world\"",
   114      "fontSize": 16,
   115      "fontFamily": "DEFAULT",
   116      "language": "python",
   117      "color": "N1",
   118      "italic": false,
   119      "bold": true,
   120      "underline": false,
   121      "labelWidth": 144,
   122      "labelHeight": 83,
   123      "zIndex": 0,
   124      "level": 1
   125    },
   126    {
   127      "id": "4 total",
   128      "type": "code",
   129      "pos": {
   130        "x": 552,
   131        "y": 53
   132      },
   133      "width": 160,
   134      "height": 99,
   135      "opacity": 1,
   136      "strokeDash": 0,
   137      "strokeWidth": 2,
   138      "borderRadius": 0,
   139      "fill": "N7",
   140      "stroke": "N1",
   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": "# 1 leading\ndef hello():\n\n  print \"world\"",
   154      "fontSize": 16,
   155      "fontFamily": "DEFAULT",
   156      "language": "python",
   157      "color": "N1",
   158      "italic": false,
   159      "bold": true,
   160      "underline": false,
   161      "labelWidth": 144,
   162      "labelHeight": 83,
   163      "zIndex": 0,
   164      "level": 1
   165    },
   166    {
   167      "id": "2 leading",
   168      "type": "code",
   169      "pos": {
   170        "x": 732,
   171        "y": 43
   172      },
   173      "width": 160,
   174      "height": 120,
   175      "opacity": 1,
   176      "strokeDash": 0,
   177      "strokeWidth": 2,
   178      "borderRadius": 0,
   179      "fill": "N7",
   180      "stroke": "N1",
   181      "shadow": false,
   182      "3d": false,
   183      "multiple": false,
   184      "double-border": false,
   185      "tooltip": "",
   186      "link": "",
   187      "icon": null,
   188      "iconPosition": "",
   189      "blend": false,
   190      "fields": null,
   191      "methods": null,
   192      "columns": null,
   193      "label": "\n\ndef hello():\n\n  print \"world\"",
   194      "fontSize": 16,
   195      "fontFamily": "DEFAULT",
   196      "language": "python",
   197      "color": "N1",
   198      "italic": false,
   199      "bold": true,
   200      "underline": false,
   201      "labelWidth": 144,
   202      "labelHeight": 104,
   203      "zIndex": 0,
   204      "level": 1
   205    },
   206    {
   207      "id": "5 total",
   208      "type": "code",
   209      "pos": {
   210        "x": 912,
   211        "y": 43
   212      },
   213      "width": 160,
   214      "height": 120,
   215      "opacity": 1,
   216      "strokeDash": 0,
   217      "strokeWidth": 2,
   218      "borderRadius": 0,
   219      "fill": "N7",
   220      "stroke": "N1",
   221      "shadow": false,
   222      "3d": false,
   223      "multiple": false,
   224      "double-border": false,
   225      "tooltip": "",
   226      "link": "",
   227      "icon": null,
   228      "iconPosition": "",
   229      "blend": false,
   230      "fields": null,
   231      "methods": null,
   232      "columns": null,
   233      "label": "# 1 leading\n# 2 leading\ndef hello():\n\n  print \"world\"",
   234      "fontSize": 16,
   235      "fontFamily": "DEFAULT",
   236      "language": "python",
   237      "color": "N1",
   238      "italic": false,
   239      "bold": true,
   240      "underline": false,
   241      "labelWidth": 144,
   242      "labelHeight": 104,
   243      "zIndex": 0,
   244      "level": 1
   245    }
   246  ],
   247  "connections": [],
   248  "root": {
   249    "id": "",
   250    "type": "",
   251    "pos": {
   252      "x": 0,
   253      "y": 0
   254    },
   255    "width": 0,
   256    "height": 0,
   257    "opacity": 0,
   258    "strokeDash": 0,
   259    "strokeWidth": 0,
   260    "borderRadius": 0,
   261    "fill": "N7",
   262    "stroke": "",
   263    "shadow": false,
   264    "3d": false,
   265    "multiple": false,
   266    "double-border": false,
   267    "tooltip": "",
   268    "link": "",
   269    "icon": null,
   270    "iconPosition": "",
   271    "blend": false,
   272    "fields": null,
   273    "methods": null,
   274    "columns": null,
   275    "label": "",
   276    "fontSize": 0,
   277    "fontFamily": "",
   278    "language": "",
   279    "color": "",
   280    "italic": false,
   281    "bold": false,
   282    "underline": false,
   283    "labelWidth": 0,
   284    "labelHeight": 0,
   285    "zIndex": 0,
   286    "level": 0
   287  }
   288}

View as plain text