...

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

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

     1{
     2  "name": "",
     3  "isFolderOnly": false,
     4  "fontFamily": "SourceSansPro",
     5  "shapes": [
     6    {
     7      "id": "class2",
     8      "type": "class",
     9      "pos": {
    10        "x": 0,
    11        "y": 0
    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": 107,
    86        "y": 612
    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": 112,
   270        "y": 1224
   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": 161,
   310        "y": 1836
   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": 161,
   350        "y": 2448
   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": 211,
   413          "y": 512
   414        },
   415        {
   416          "x": 211,
   417          "y": 552
   418        },
   419        {
   420          "x": 211,
   421          "y": 572
   422        },
   423        {
   424          "x": 211,
   425          "y": 612
   426        }
   427      ],
   428      "isCurve": true,
   429      "animated": false,
   430      "tooltip": "",
   431      "icon": null,
   432      "zIndex": 0
   433    },
   434    {
   435      "id": "(users -> code)[0]",
   436      "src": "users",
   437      "srcArrow": "none",
   438      "dst": "code",
   439      "dstArrow": "triangle",
   440      "opacity": 1,
   441      "strokeDash": 0,
   442      "strokeWidth": 2,
   443      "stroke": "B1",
   444      "borderRadius": 10,
   445      "label": "",
   446      "fontSize": 16,
   447      "fontFamily": "DEFAULT",
   448      "language": "",
   449      "color": "N2",
   450      "italic": true,
   451      "bold": false,
   452      "underline": false,
   453      "labelWidth": 0,
   454      "labelHeight": 0,
   455      "labelPosition": "",
   456      "labelPercentage": 0,
   457      "route": [
   458        {
   459          "x": 211,
   460          "y": 1124
   461        },
   462        {
   463          "x": 211,
   464          "y": 1164
   465        },
   466        {
   467          "x": 211,
   468          "y": 1184
   469        },
   470        {
   471          "x": 211,
   472          "y": 1224
   473        }
   474      ],
   475      "isCurve": true,
   476      "animated": false,
   477      "tooltip": "",
   478      "icon": null,
   479      "zIndex": 0
   480    },
   481    {
   482      "id": "(code -> package)[0]",
   483      "src": "code",
   484      "srcArrow": "none",
   485      "dst": "package",
   486      "dstArrow": "triangle",
   487      "opacity": 1,
   488      "strokeDash": 0,
   489      "strokeWidth": 2,
   490      "stroke": "B1",
   491      "borderRadius": 10,
   492      "label": "",
   493      "fontSize": 16,
   494      "fontFamily": "DEFAULT",
   495      "language": "",
   496      "color": "N2",
   497      "italic": true,
   498      "bold": false,
   499      "underline": false,
   500      "labelWidth": 0,
   501      "labelHeight": 0,
   502      "labelPosition": "",
   503      "labelPercentage": 0,
   504      "route": [
   505        {
   506          "x": 211,
   507          "y": 1736
   508        },
   509        {
   510          "x": 211,
   511          "y": 1776
   512        },
   513        {
   514          "x": 211,
   515          "y": 1796
   516        },
   517        {
   518          "x": 211,
   519          "y": 1836
   520        }
   521      ],
   522      "isCurve": true,
   523      "animated": false,
   524      "tooltip": "",
   525      "icon": null,
   526      "zIndex": 0
   527    },
   528    {
   529      "id": "(package -> no height)[0]",
   530      "src": "package",
   531      "srcArrow": "none",
   532      "dst": "no height",
   533      "dstArrow": "triangle",
   534      "opacity": 1,
   535      "strokeDash": 0,
   536      "strokeWidth": 2,
   537      "stroke": "B1",
   538      "borderRadius": 10,
   539      "label": "",
   540      "fontSize": 16,
   541      "fontFamily": "DEFAULT",
   542      "language": "",
   543      "color": "N2",
   544      "italic": true,
   545      "bold": false,
   546      "underline": false,
   547      "labelWidth": 0,
   548      "labelHeight": 0,
   549      "labelPosition": "",
   550      "labelPercentage": 0,
   551      "route": [
   552        {
   553          "x": 211,
   554          "y": 2348
   555        },
   556        {
   557          "x": 211,
   558          "y": 2388
   559        },
   560        {
   561          "x": 211,
   562          "y": 2408
   563        },
   564        {
   565          "x": 211,
   566          "y": 2448
   567        }
   568      ],
   569      "isCurve": true,
   570      "animated": false,
   571      "tooltip": "",
   572      "icon": null,
   573      "zIndex": 0
   574    }
   575  ],
   576  "root": {
   577    "id": "",
   578    "type": "",
   579    "pos": {
   580      "x": 0,
   581      "y": 0
   582    },
   583    "width": 0,
   584    "height": 0,
   585    "opacity": 0,
   586    "strokeDash": 0,
   587    "strokeWidth": 0,
   588    "borderRadius": 0,
   589    "fill": "N7",
   590    "stroke": "",
   591    "shadow": false,
   592    "3d": false,
   593    "multiple": false,
   594    "double-border": false,
   595    "tooltip": "",
   596    "link": "",
   597    "icon": null,
   598    "iconPosition": "",
   599    "blend": false,
   600    "fields": null,
   601    "methods": null,
   602    "columns": null,
   603    "label": "",
   604    "fontSize": 0,
   605    "fontFamily": "",
   606    "language": "",
   607    "color": "",
   608    "italic": false,
   609    "bold": false,
   610    "underline": false,
   611    "labelWidth": 0,
   612    "labelHeight": 0,
   613    "zIndex": 0,
   614    "level": 0
   615  }
   616}

View as plain text