...

Text file src/oss.terrastruct.com/d2/e2etests/testdata/regression/sequence_diagram_name_crash/dagre/board.exp.json

Documentation: oss.terrastruct.com/d2/e2etests/testdata/regression/sequence_diagram_name_crash/dagre

     1{
     2  "name": "",
     3  "isFolderOnly": false,
     4  "fontFamily": "SourceSansPro",
     5  "shapes": [
     6    {
     7      "id": "foo",
     8      "type": "sequence_diagram",
     9      "pos": {
    10        "x": 0,
    11        "y": 0
    12      },
    13      "width": 274,
    14      "height": 306,
    15      "opacity": 1,
    16      "strokeDash": 0,
    17      "strokeWidth": 0,
    18      "borderRadius": 0,
    19      "fill": "N7",
    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": "foo",
    34      "fontSize": 28,
    35      "fontFamily": "DEFAULT",
    36      "language": "",
    37      "color": "N1",
    38      "italic": false,
    39      "bold": false,
    40      "underline": false,
    41      "labelWidth": 38,
    42      "labelHeight": 36,
    43      "labelPosition": "INSIDE_TOP_CENTER",
    44      "zIndex": 0,
    45      "level": 1
    46    },
    47    {
    48      "id": "foo.a",
    49      "type": "rectangle",
    50      "pos": {
    51        "x": 12,
    52        "y": 88
    53      },
    54      "width": 100,
    55      "height": 66,
    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": false,
    81      "underline": false,
    82      "labelWidth": 7,
    83      "labelHeight": 21,
    84      "labelPosition": "INSIDE_MIDDLE_CENTER",
    85      "zIndex": 0,
    86      "level": 2
    87    },
    88    {
    89      "id": "foo.b",
    90      "type": "rectangle",
    91      "pos": {
    92        "x": 162,
    93        "y": 88
    94      },
    95      "width": 100,
    96      "height": 66,
    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": false,
   122      "underline": false,
   123      "labelWidth": 8,
   124      "labelHeight": 21,
   125      "labelPosition": "INSIDE_MIDDLE_CENTER",
   126      "zIndex": 0,
   127      "level": 2
   128    },
   129    {
   130      "id": "foobar",
   131      "type": "sequence_diagram",
   132      "pos": {
   133        "x": 0,
   134        "y": 406
   135      },
   136      "width": 274,
   137      "height": 306,
   138      "opacity": 1,
   139      "strokeDash": 0,
   140      "strokeWidth": 0,
   141      "borderRadius": 0,
   142      "fill": "N7",
   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": "foobar",
   157      "fontSize": 28,
   158      "fontFamily": "DEFAULT",
   159      "language": "",
   160      "color": "N1",
   161      "italic": false,
   162      "bold": false,
   163      "underline": false,
   164      "labelWidth": 79,
   165      "labelHeight": 36,
   166      "labelPosition": "INSIDE_TOP_CENTER",
   167      "zIndex": 0,
   168      "level": 1
   169    },
   170    {
   171      "id": "foobar.c",
   172      "type": "rectangle",
   173      "pos": {
   174        "x": 12,
   175        "y": 494
   176      },
   177      "width": 100,
   178      "height": 66,
   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": "c",
   198      "fontSize": 16,
   199      "fontFamily": "DEFAULT",
   200      "language": "",
   201      "color": "N1",
   202      "italic": false,
   203      "bold": false,
   204      "underline": false,
   205      "labelWidth": 7,
   206      "labelHeight": 21,
   207      "labelPosition": "INSIDE_MIDDLE_CENTER",
   208      "zIndex": 0,
   209      "level": 2
   210    },
   211    {
   212      "id": "foobar.d",
   213      "type": "rectangle",
   214      "pos": {
   215        "x": 162,
   216        "y": 494
   217      },
   218      "width": 100,
   219      "height": 66,
   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": "d",
   239      "fontSize": 16,
   240      "fontFamily": "DEFAULT",
   241      "language": "",
   242      "color": "N1",
   243      "italic": false,
   244      "bold": false,
   245      "underline": false,
   246      "labelWidth": 8,
   247      "labelHeight": 21,
   248      "labelPosition": "INSIDE_MIDDLE_CENTER",
   249      "zIndex": 0,
   250      "level": 2
   251    }
   252  ],
   253  "connections": [
   254    {
   255      "id": "foo.(a -> b)[0]",
   256      "src": "foo.a",
   257      "srcArrow": "none",
   258      "dst": "foo.b",
   259      "dstArrow": "triangle",
   260      "opacity": 1,
   261      "strokeDash": 0,
   262      "strokeWidth": 2,
   263      "stroke": "B1",
   264      "borderRadius": 10,
   265      "label": "",
   266      "fontSize": 16,
   267      "fontFamily": "DEFAULT",
   268      "language": "",
   269      "color": "N2",
   270      "italic": true,
   271      "bold": false,
   272      "underline": false,
   273      "labelWidth": 0,
   274      "labelHeight": 0,
   275      "labelPosition": "",
   276      "labelPercentage": 0,
   277      "route": [
   278        {
   279          "x": 62,
   280          "y": 224
   281        },
   282        {
   283          "x": 212,
   284          "y": 224
   285        }
   286      ],
   287      "animated": false,
   288      "tooltip": "",
   289      "icon": null,
   290      "zIndex": 4
   291    },
   292    {
   293      "id": "foobar.(c -> d)[0]",
   294      "src": "foobar.c",
   295      "srcArrow": "none",
   296      "dst": "foobar.d",
   297      "dstArrow": "triangle",
   298      "opacity": 1,
   299      "strokeDash": 0,
   300      "strokeWidth": 2,
   301      "stroke": "B1",
   302      "borderRadius": 10,
   303      "label": "",
   304      "fontSize": 16,
   305      "fontFamily": "DEFAULT",
   306      "language": "",
   307      "color": "N2",
   308      "italic": true,
   309      "bold": false,
   310      "underline": false,
   311      "labelWidth": 0,
   312      "labelHeight": 0,
   313      "labelPosition": "",
   314      "labelPercentage": 0,
   315      "route": [
   316        {
   317          "x": 62,
   318          "y": 630
   319        },
   320        {
   321          "x": 212,
   322          "y": 630
   323        }
   324      ],
   325      "animated": false,
   326      "tooltip": "",
   327      "icon": null,
   328      "zIndex": 4
   329    },
   330    {
   331      "id": "(foo -> foobar)[0]",
   332      "src": "foo",
   333      "srcArrow": "none",
   334      "dst": "foobar",
   335      "dstArrow": "triangle",
   336      "opacity": 1,
   337      "strokeDash": 0,
   338      "strokeWidth": 2,
   339      "stroke": "B1",
   340      "borderRadius": 10,
   341      "label": "",
   342      "fontSize": 16,
   343      "fontFamily": "DEFAULT",
   344      "language": "",
   345      "color": "N2",
   346      "italic": true,
   347      "bold": false,
   348      "underline": false,
   349      "labelWidth": 0,
   350      "labelHeight": 0,
   351      "labelPosition": "",
   352      "labelPercentage": 0,
   353      "route": [
   354        {
   355          "x": 137,
   356          "y": 306
   357        },
   358        {
   359          "x": 137,
   360          "y": 346
   361        },
   362        {
   363          "x": 137,
   364          "y": 366
   365        },
   366        {
   367          "x": 137,
   368          "y": 406
   369        }
   370      ],
   371      "isCurve": true,
   372      "animated": false,
   373      "tooltip": "",
   374      "icon": null,
   375      "zIndex": 0
   376    },
   377    {
   378      "id": "(foo.a -- )[0]",
   379      "src": "foo.a",
   380      "srcArrow": "none",
   381      "dst": "a-lifeline-end-2251863791",
   382      "dstArrow": "none",
   383      "opacity": 1,
   384      "strokeDash": 6,
   385      "strokeWidth": 2,
   386      "stroke": "B2",
   387      "borderRadius": 10,
   388      "label": "",
   389      "fontSize": 16,
   390      "fontFamily": "DEFAULT",
   391      "language": "",
   392      "color": "N2",
   393      "italic": true,
   394      "bold": false,
   395      "underline": false,
   396      "labelWidth": 0,
   397      "labelHeight": 0,
   398      "labelPosition": "",
   399      "labelPercentage": 0,
   400      "route": [
   401        {
   402          "x": 62,
   403          "y": 154
   404        },
   405        {
   406          "x": 62,
   407          "y": 294
   408        }
   409      ],
   410      "animated": false,
   411      "tooltip": "",
   412      "icon": null,
   413      "zIndex": 1
   414    },
   415    {
   416      "id": "(foo.b -- )[0]",
   417      "src": "foo.b",
   418      "srcArrow": "none",
   419      "dst": "b-lifeline-end-668380428",
   420      "dstArrow": "none",
   421      "opacity": 1,
   422      "strokeDash": 6,
   423      "strokeWidth": 2,
   424      "stroke": "B2",
   425      "borderRadius": 10,
   426      "label": "",
   427      "fontSize": 16,
   428      "fontFamily": "DEFAULT",
   429      "language": "",
   430      "color": "N2",
   431      "italic": true,
   432      "bold": false,
   433      "underline": false,
   434      "labelWidth": 0,
   435      "labelHeight": 0,
   436      "labelPosition": "",
   437      "labelPercentage": 0,
   438      "route": [
   439        {
   440          "x": 212,
   441          "y": 154
   442        },
   443        {
   444          "x": 212,
   445          "y": 294
   446        }
   447      ],
   448      "animated": false,
   449      "tooltip": "",
   450      "icon": null,
   451      "zIndex": 1
   452    },
   453    {
   454      "id": "(foobar.c -- )[0]",
   455      "src": "foobar.c",
   456      "srcArrow": "none",
   457      "dst": "c-lifeline-end-955173837",
   458      "dstArrow": "none",
   459      "opacity": 1,
   460      "strokeDash": 6,
   461      "strokeWidth": 2,
   462      "stroke": "B2",
   463      "borderRadius": 10,
   464      "label": "",
   465      "fontSize": 16,
   466      "fontFamily": "DEFAULT",
   467      "language": "",
   468      "color": "N2",
   469      "italic": true,
   470      "bold": false,
   471      "underline": false,
   472      "labelWidth": 0,
   473      "labelHeight": 0,
   474      "labelPosition": "",
   475      "labelPercentage": 0,
   476      "route": [
   477        {
   478          "x": 62,
   479          "y": 560
   480        },
   481        {
   482          "x": 62,
   483          "y": 700
   484        }
   485      ],
   486      "animated": false,
   487      "tooltip": "",
   488      "icon": null,
   489      "zIndex": 1
   490    },
   491    {
   492      "id": "(foobar.d -- )[0]",
   493      "src": "foobar.d",
   494      "srcArrow": "none",
   495      "dst": "d-lifeline-end-2106864010",
   496      "dstArrow": "none",
   497      "opacity": 1,
   498      "strokeDash": 6,
   499      "strokeWidth": 2,
   500      "stroke": "B2",
   501      "borderRadius": 10,
   502      "label": "",
   503      "fontSize": 16,
   504      "fontFamily": "DEFAULT",
   505      "language": "",
   506      "color": "N2",
   507      "italic": true,
   508      "bold": false,
   509      "underline": false,
   510      "labelWidth": 0,
   511      "labelHeight": 0,
   512      "labelPosition": "",
   513      "labelPercentage": 0,
   514      "route": [
   515        {
   516          "x": 212,
   517          "y": 560
   518        },
   519        {
   520          "x": 212,
   521          "y": 700
   522        }
   523      ],
   524      "animated": false,
   525      "tooltip": "",
   526      "icon": null,
   527      "zIndex": 1
   528    }
   529  ],
   530  "root": {
   531    "id": "",
   532    "type": "",
   533    "pos": {
   534      "x": 0,
   535      "y": 0
   536    },
   537    "width": 0,
   538    "height": 0,
   539    "opacity": 0,
   540    "strokeDash": 0,
   541    "strokeWidth": 0,
   542    "borderRadius": 0,
   543    "fill": "N7",
   544    "stroke": "",
   545    "shadow": false,
   546    "3d": false,
   547    "multiple": false,
   548    "double-border": false,
   549    "tooltip": "",
   550    "link": "",
   551    "icon": null,
   552    "iconPosition": "",
   553    "blend": false,
   554    "fields": null,
   555    "methods": null,
   556    "columns": null,
   557    "label": "",
   558    "fontSize": 0,
   559    "fontFamily": "",
   560    "language": "",
   561    "color": "",
   562    "italic": false,
   563    "bold": false,
   564    "underline": false,
   565    "labelWidth": 0,
   566    "labelHeight": 0,
   567    "zIndex": 0,
   568    "level": 0
   569  }
   570}

View as plain text