...

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

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

     1{
     2  "name": "",
     3  "isFolderOnly": false,
     4  "fontFamily": "SourceSansPro",
     5  "shapes": [
     6    {
     7      "id": "class2",
     8      "type": "class",
     9      "pos": {
    10        "x": 12,
    11        "y": 12
    12      },
    13      "width": 422,
    14      "height": 512,
    15      "opacity": 1,
    16      "strokeDash": 0,
    17      "strokeWidth": 2,
    18      "borderRadius": 0,
    19      "fill": "N1",
    20      "stroke": "N7",
    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": [
    31        {
    32          "name": "num",
    33          "type": "int",
    34          "visibility": "private"
    35        },
    36        {
    37          "name": "timeout",
    38          "type": "int",
    39          "visibility": "private"
    40        },
    41        {
    42          "name": "pid",
    43          "type": "",
    44          "visibility": "private"
    45        }
    46      ],
    47      "methods": [
    48        {
    49          "name": "getStatus()",
    50          "return": "Enum",
    51          "visibility": "public"
    52        },
    53        {
    54          "name": "getJobs()",
    55          "return": "Job[]",
    56          "visibility": "public"
    57        },
    58        {
    59          "name": "setTimeout(seconds int)",
    60          "return": "void",
    61          "visibility": "public"
    62        }
    63      ],
    64      "columns": null,
    65      "label": "",
    66      "fontSize": 20,
    67      "fontFamily": "DEFAULT",
    68      "language": "",
    69      "color": "N1",
    70      "italic": false,
    71      "bold": false,
    72      "underline": false,
    73      "labelWidth": 0,
    74      "labelHeight": 0,
    75      "zIndex": 0,
    76      "level": 1,
    77      "primaryAccentColor": "B2",
    78      "secondaryAccentColor": "AA2",
    79      "neutralAccentColor": "N2"
    80    },
    81    {
    82      "id": "users",
    83      "type": "sql_table",
    84      "pos": {
    85        "x": 119,
    86        "y": 594
    87      },
    88      "width": 208,
    89      "height": 512,
    90      "opacity": 1,
    91      "strokeDash": 0,
    92      "strokeWidth": 2,
    93      "borderRadius": 0,
    94      "fill": "N1",
    95      "stroke": "N7",
    96      "shadow": false,
    97      "3d": false,
    98      "multiple": false,
    99      "double-border": false,
   100      "tooltip": "",
   101      "link": "",
   102      "icon": null,
   103      "iconPosition": "",
   104      "blend": false,
   105      "fields": null,
   106      "methods": null,
   107      "columns": [
   108        {
   109          "name": {
   110            "label": "id",
   111            "fontSize": 0,
   112            "fontFamily": "",
   113            "language": "",
   114            "color": "",
   115            "italic": false,
   116            "bold": false,
   117            "underline": false,
   118            "labelWidth": 15,
   119            "labelHeight": 26
   120          },
   121          "type": {
   122            "label": "int",
   123            "fontSize": 0,
   124            "fontFamily": "",
   125            "language": "",
   126            "color": "",
   127            "italic": false,
   128            "bold": false,
   129            "underline": false,
   130            "labelWidth": 23,
   131            "labelHeight": 26
   132          },
   133          "constraint": null,
   134          "reference": ""
   135        },
   136        {
   137          "name": {
   138            "label": "name",
   139            "fontSize": 0,
   140            "fontFamily": "",
   141            "language": "",
   142            "color": "",
   143            "italic": false,
   144            "bold": false,
   145            "underline": false,
   146            "labelWidth": 47,
   147            "labelHeight": 26
   148          },
   149          "type": {
   150            "label": "string",
   151            "fontSize": 0,
   152            "fontFamily": "",
   153            "language": "",
   154            "color": "",
   155            "italic": false,
   156            "bold": false,
   157            "underline": false,
   158            "labelWidth": 48,
   159            "labelHeight": 26
   160          },
   161          "constraint": null,
   162          "reference": ""
   163        },
   164        {
   165          "name": {
   166            "label": "email",
   167            "fontSize": 0,
   168            "fontFamily": "",
   169            "language": "",
   170            "color": "",
   171            "italic": false,
   172            "bold": false,
   173            "underline": false,
   174            "labelWidth": 47,
   175            "labelHeight": 26
   176          },
   177          "type": {
   178            "label": "string",
   179            "fontSize": 0,
   180            "fontFamily": "",
   181            "language": "",
   182            "color": "",
   183            "italic": false,
   184            "bold": false,
   185            "underline": false,
   186            "labelWidth": 48,
   187            "labelHeight": 26
   188          },
   189          "constraint": null,
   190          "reference": ""
   191        },
   192        {
   193          "name": {
   194            "label": "password",
   195            "fontSize": 0,
   196            "fontFamily": "",
   197            "language": "",
   198            "color": "",
   199            "italic": false,
   200            "bold": false,
   201            "underline": false,
   202            "labelWidth": 80,
   203            "labelHeight": 26
   204          },
   205          "type": {
   206            "label": "string",
   207            "fontSize": 0,
   208            "fontFamily": "",
   209            "language": "",
   210            "color": "",
   211            "italic": false,
   212            "bold": false,
   213            "underline": false,
   214            "labelWidth": 48,
   215            "labelHeight": 26
   216          },
   217          "constraint": null,
   218          "reference": ""
   219        },
   220        {
   221          "name": {
   222            "label": "last_login",
   223            "fontSize": 0,
   224            "fontFamily": "",
   225            "language": "",
   226            "color": "",
   227            "italic": false,
   228            "bold": false,
   229            "underline": false,
   230            "labelWidth": 81,
   231            "labelHeight": 26
   232          },
   233          "type": {
   234            "label": "datetime",
   235            "fontSize": 0,
   236            "fontFamily": "",
   237            "language": "",
   238            "color": "",
   239            "italic": false,
   240            "bold": false,
   241            "underline": false,
   242            "labelWidth": 77,
   243            "labelHeight": 26
   244          },
   245          "constraint": null,
   246          "reference": ""
   247        }
   248      ],
   249      "label": "",
   250      "fontSize": 20,
   251      "fontFamily": "DEFAULT",
   252      "language": "",
   253      "color": "N1",
   254      "italic": false,
   255      "bold": true,
   256      "underline": false,
   257      "labelWidth": 59,
   258      "labelHeight": 31,
   259      "zIndex": 0,
   260      "level": 1,
   261      "primaryAccentColor": "B2",
   262      "secondaryAccentColor": "AA2",
   263      "neutralAccentColor": "N2"
   264    },
   265    {
   266      "id": "code",
   267      "type": "code",
   268      "pos": {
   269        "x": 123,
   270        "y": 1176
   271      },
   272      "width": 199,
   273      "height": 512,
   274      "opacity": 1,
   275      "strokeDash": 0,
   276      "strokeWidth": 2,
   277      "borderRadius": 0,
   278      "fill": "N7",
   279      "stroke": "N1",
   280      "shadow": false,
   281      "3d": false,
   282      "multiple": false,
   283      "double-border": false,
   284      "tooltip": "",
   285      "link": "",
   286      "icon": null,
   287      "iconPosition": "",
   288      "blend": false,
   289      "fields": null,
   290      "methods": null,
   291      "columns": null,
   292      "label": "a := 5\nb := a + 7\nfmt.Printf(\"%d\", b)",
   293      "fontSize": 16,
   294      "fontFamily": "DEFAULT",
   295      "language": "golang",
   296      "color": "N1",
   297      "italic": false,
   298      "bold": true,
   299      "underline": false,
   300      "labelWidth": 183,
   301      "labelHeight": 62,
   302      "zIndex": 0,
   303      "level": 1
   304    },
   305    {
   306      "id": "package",
   307      "type": "package",
   308      "pos": {
   309        "x": 173,
   310        "y": 1758
   311      },
   312      "width": 100,
   313      "height": 512,
   314      "opacity": 1,
   315      "strokeDash": 0,
   316      "strokeWidth": 2,
   317      "borderRadius": 0,
   318      "fill": "AA4",
   319      "stroke": "B1",
   320      "shadow": false,
   321      "3d": false,
   322      "multiple": false,
   323      "double-border": false,
   324      "tooltip": "",
   325      "link": "",
   326      "icon": null,
   327      "iconPosition": "",
   328      "blend": false,
   329      "fields": null,
   330      "methods": null,
   331      "columns": null,
   332      "label": "",
   333      "fontSize": 16,
   334      "fontFamily": "DEFAULT",
   335      "language": "",
   336      "color": "N1",
   337      "italic": false,
   338      "bold": true,
   339      "underline": false,
   340      "labelWidth": 0,
   341      "labelHeight": 0,
   342      "zIndex": 0,
   343      "level": 1
   344    },
   345    {
   346      "id": "no height",
   347      "type": "rectangle",
   348      "pos": {
   349        "x": 173,
   350        "y": 2340
   351      },
   352      "width": 100,
   353      "height": 100,
   354      "opacity": 1,
   355      "strokeDash": 0,
   356      "strokeWidth": 2,
   357      "borderRadius": 0,
   358      "fill": "B6",
   359      "stroke": "B1",
   360      "shadow": false,
   361      "3d": false,
   362      "multiple": false,
   363      "double-border": false,
   364      "tooltip": "",
   365      "link": "",
   366      "icon": null,
   367      "iconPosition": "",
   368      "blend": false,
   369      "fields": null,
   370      "methods": null,
   371      "columns": null,
   372      "label": "",
   373      "fontSize": 16,
   374      "fontFamily": "DEFAULT",
   375      "language": "",
   376      "color": "N1",
   377      "italic": false,
   378      "bold": true,
   379      "underline": false,
   380      "labelWidth": 0,
   381      "labelHeight": 0,
   382      "zIndex": 0,
   383      "level": 1
   384    }
   385  ],
   386  "connections": [
   387    {
   388      "id": "(class2 -> users)[0]",
   389      "src": "class2",
   390      "srcArrow": "none",
   391      "dst": "users",
   392      "dstArrow": "triangle",
   393      "opacity": 1,
   394      "strokeDash": 0,
   395      "strokeWidth": 2,
   396      "stroke": "B1",
   397      "borderRadius": 10,
   398      "label": "",
   399      "fontSize": 16,
   400      "fontFamily": "DEFAULT",
   401      "language": "",
   402      "color": "N2",
   403      "italic": true,
   404      "bold": false,
   405      "underline": false,
   406      "labelWidth": 0,
   407      "labelHeight": 0,
   408      "labelPosition": "",
   409      "labelPercentage": 0,
   410      "route": [
   411        {
   412          "x": 223,
   413          "y": 524
   414        },
   415        {
   416          "x": 223,
   417          "y": 594
   418        }
   419      ],
   420      "animated": false,
   421      "tooltip": "",
   422      "icon": null,
   423      "zIndex": 0
   424    },
   425    {
   426      "id": "(users -> code)[0]",
   427      "src": "users",
   428      "srcArrow": "none",
   429      "dst": "code",
   430      "dstArrow": "triangle",
   431      "opacity": 1,
   432      "strokeDash": 0,
   433      "strokeWidth": 2,
   434      "stroke": "B1",
   435      "borderRadius": 10,
   436      "label": "",
   437      "fontSize": 16,
   438      "fontFamily": "DEFAULT",
   439      "language": "",
   440      "color": "N2",
   441      "italic": true,
   442      "bold": false,
   443      "underline": false,
   444      "labelWidth": 0,
   445      "labelHeight": 0,
   446      "labelPosition": "",
   447      "labelPercentage": 0,
   448      "route": [
   449        {
   450          "x": 223,
   451          "y": 1106
   452        },
   453        {
   454          "x": 223,
   455          "y": 1176
   456        }
   457      ],
   458      "animated": false,
   459      "tooltip": "",
   460      "icon": null,
   461      "zIndex": 0
   462    },
   463    {
   464      "id": "(code -> package)[0]",
   465      "src": "code",
   466      "srcArrow": "none",
   467      "dst": "package",
   468      "dstArrow": "triangle",
   469      "opacity": 1,
   470      "strokeDash": 0,
   471      "strokeWidth": 2,
   472      "stroke": "B1",
   473      "borderRadius": 10,
   474      "label": "",
   475      "fontSize": 16,
   476      "fontFamily": "DEFAULT",
   477      "language": "",
   478      "color": "N2",
   479      "italic": true,
   480      "bold": false,
   481      "underline": false,
   482      "labelWidth": 0,
   483      "labelHeight": 0,
   484      "labelPosition": "",
   485      "labelPercentage": 0,
   486      "route": [
   487        {
   488          "x": 223,
   489          "y": 1688
   490        },
   491        {
   492          "x": 223,
   493          "y": 1758
   494        }
   495      ],
   496      "animated": false,
   497      "tooltip": "",
   498      "icon": null,
   499      "zIndex": 0
   500    },
   501    {
   502      "id": "(package -> no height)[0]",
   503      "src": "package",
   504      "srcArrow": "none",
   505      "dst": "no height",
   506      "dstArrow": "triangle",
   507      "opacity": 1,
   508      "strokeDash": 0,
   509      "strokeWidth": 2,
   510      "stroke": "B1",
   511      "borderRadius": 10,
   512      "label": "",
   513      "fontSize": 16,
   514      "fontFamily": "DEFAULT",
   515      "language": "",
   516      "color": "N2",
   517      "italic": true,
   518      "bold": false,
   519      "underline": false,
   520      "labelWidth": 0,
   521      "labelHeight": 0,
   522      "labelPosition": "",
   523      "labelPercentage": 0,
   524      "route": [
   525        {
   526          "x": 223,
   527          "y": 2270
   528        },
   529        {
   530          "x": 223,
   531          "y": 2340
   532        }
   533      ],
   534      "animated": false,
   535      "tooltip": "",
   536      "icon": null,
   537      "zIndex": 0
   538    }
   539  ],
   540  "root": {
   541    "id": "",
   542    "type": "",
   543    "pos": {
   544      "x": 0,
   545      "y": 0
   546    },
   547    "width": 0,
   548    "height": 0,
   549    "opacity": 0,
   550    "strokeDash": 0,
   551    "strokeWidth": 0,
   552    "borderRadius": 0,
   553    "fill": "N7",
   554    "stroke": "",
   555    "shadow": false,
   556    "3d": false,
   557    "multiple": false,
   558    "double-border": false,
   559    "tooltip": "",
   560    "link": "",
   561    "icon": null,
   562    "iconPosition": "",
   563    "blend": false,
   564    "fields": null,
   565    "methods": null,
   566    "columns": null,
   567    "label": "",
   568    "fontSize": 0,
   569    "fontFamily": "",
   570    "language": "",
   571    "color": "",
   572    "italic": false,
   573    "bold": false,
   574    "underline": false,
   575    "labelWidth": 0,
   576    "labelHeight": 0,
   577    "zIndex": 0,
   578    "level": 0
   579  }
   580}

View as plain text