...

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

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

     1{
     2  "name": "",
     3  "isFolderOnly": false,
     4  "fontFamily": "SourceSansPro",
     5  "shapes": [
     6    {
     7      "id": "a",
     8      "type": "rectangle",
     9      "pos": {
    10        "x": 12,
    11        "y": 212
    12      },
    13      "width": 427,
    14      "height": 66,
    15      "opacity": 1,
    16      "strokeDash": 0,
    17      "strokeWidth": 2,
    18      "borderRadius": 0,
    19      "fill": "B5",
    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": "an actor with a really long label that will break everything",
    34      "fontSize": 16,
    35      "fontFamily": "DEFAULT",
    36      "language": "",
    37      "color": "N1",
    38      "italic": false,
    39      "bold": false,
    40      "underline": false,
    41      "labelWidth": 382,
    42      "labelHeight": 21,
    43      "labelPosition": "INSIDE_MIDDLE_CENTER",
    44      "zIndex": 0,
    45      "level": 1
    46    },
    47    {
    48      "id": "c",
    49      "type": "rectangle",
    50      "pos": {
    51        "x": 580,
    52        "y": 52
    53      },
    54      "width": 117,
    55      "height": 226,
    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": "an\nactor\nwith\na\nreally\nlong\nlabel\nthat\nwill\nbreak\neverything",
    75      "fontSize": 16,
    76      "fontFamily": "DEFAULT",
    77      "language": "",
    78      "color": "N1",
    79      "italic": false,
    80      "bold": false,
    81      "underline": false,
    82      "labelWidth": 72,
    83      "labelHeight": 181,
    84      "labelPosition": "INSIDE_MIDDLE_CENTER",
    85      "zIndex": 0,
    86      "level": 1
    87    },
    88    {
    89      "id": "d",
    90      "type": "rectangle",
    91      "pos": {
    92        "x": 1001,
    93        "y": 212
    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": "simple",
   116      "fontSize": 16,
   117      "fontFamily": "DEFAULT",
   118      "language": "",
   119      "color": "N1",
   120      "italic": false,
   121      "bold": false,
   122      "underline": false,
   123      "labelWidth": 45,
   124      "labelHeight": 21,
   125      "labelPosition": "INSIDE_MIDDLE_CENTER",
   126      "zIndex": 0,
   127      "level": 1
   128    },
   129    {
   130      "id": "e",
   131      "type": "rectangle",
   132      "pos": {
   133        "x": 1442,
   134        "y": 212
   135      },
   136      "width": 120,
   137      "height": 66,
   138      "opacity": 1,
   139      "strokeDash": 0,
   140      "strokeWidth": 2,
   141      "borderRadius": 0,
   142      "fill": "B5",
   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": "a short one",
   157      "fontSize": 16,
   158      "fontFamily": "DEFAULT",
   159      "language": "",
   160      "color": "N1",
   161      "italic": false,
   162      "bold": false,
   163      "underline": false,
   164      "labelWidth": 75,
   165      "labelHeight": 21,
   166      "labelPosition": "INSIDE_MIDDLE_CENTER",
   167      "zIndex": 0,
   168      "level": 1
   169    },
   170    {
   171      "id": "b",
   172      "type": "rectangle",
   173      "pos": {
   174        "x": 1602,
   175        "y": 212
   176      },
   177      "width": 103,
   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": "far away",
   198      "fontSize": 16,
   199      "fontFamily": "DEFAULT",
   200      "language": "",
   201      "color": "N1",
   202      "italic": false,
   203      "bold": false,
   204      "underline": false,
   205      "labelWidth": 58,
   206      "labelHeight": 21,
   207      "labelPosition": "INSIDE_MIDDLE_CENTER",
   208      "zIndex": 0,
   209      "level": 1
   210    },
   211    {
   212      "id": "f",
   213      "type": "rectangle",
   214      "pos": {
   215        "x": 1745,
   216        "y": 212
   217      },
   218      "width": 501,
   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": "what if there were no labels between this actor and the previous one",
   239      "fontSize": 16,
   240      "fontFamily": "DEFAULT",
   241      "language": "",
   242      "color": "N1",
   243      "italic": false,
   244      "bold": false,
   245      "underline": false,
   246      "labelWidth": 456,
   247      "labelHeight": 21,
   248      "labelPosition": "INSIDE_MIDDLE_CENTER",
   249      "zIndex": 0,
   250      "level": 1
   251    }
   252  ],
   253  "connections": [
   254    {
   255      "id": "(a -> b)[0]",
   256      "src": "a",
   257      "srcArrow": "none",
   258      "dst": "b",
   259      "dstArrow": "triangle",
   260      "opacity": 1,
   261      "strokeDash": 0,
   262      "strokeWidth": 2,
   263      "stroke": "B1",
   264      "borderRadius": 10,
   265      "label": "short",
   266      "fontSize": 16,
   267      "fontFamily": "DEFAULT",
   268      "language": "",
   269      "color": "N2",
   270      "italic": true,
   271      "bold": false,
   272      "underline": false,
   273      "labelWidth": 36,
   274      "labelHeight": 21,
   275      "labelPosition": "INSIDE_MIDDLE_CENTER",
   276      "labelPercentage": 0,
   277      "route": [
   278        {
   279          "x": 225.5,
   280          "y": 348
   281        },
   282        {
   283          "x": 1653.5,
   284          "y": 348
   285        }
   286      ],
   287      "animated": false,
   288      "tooltip": "",
   289      "icon": null,
   290      "zIndex": 4
   291    },
   292    {
   293      "id": "(a -> b)[1]",
   294      "src": "a",
   295      "srcArrow": "none",
   296      "dst": "b",
   297      "dstArrow": "triangle",
   298      "opacity": 1,
   299      "strokeDash": 0,
   300      "strokeWidth": 2,
   301      "stroke": "B1",
   302      "borderRadius": 10,
   303      "label": "long label for testing purposes and it must be really, really long",
   304      "fontSize": 16,
   305      "fontFamily": "DEFAULT",
   306      "language": "",
   307      "color": "N2",
   308      "italic": true,
   309      "bold": false,
   310      "underline": false,
   311      "labelWidth": 411,
   312      "labelHeight": 21,
   313      "labelPosition": "INSIDE_MIDDLE_CENTER",
   314      "labelPercentage": 0,
   315      "route": [
   316        {
   317          "x": 225.5,
   318          "y": 418
   319        },
   320        {
   321          "x": 1653.5,
   322          "y": 418
   323        }
   324      ],
   325      "animated": false,
   326      "tooltip": "",
   327      "icon": null,
   328      "zIndex": 4
   329    },
   330    {
   331      "id": "(c -> d)[0]",
   332      "src": "c",
   333      "srcArrow": "none",
   334      "dst": "d",
   335      "dstArrow": "triangle",
   336      "opacity": 1,
   337      "strokeDash": 0,
   338      "strokeWidth": 2,
   339      "stroke": "B1",
   340      "borderRadius": 10,
   341      "label": "short",
   342      "fontSize": 16,
   343      "fontFamily": "DEFAULT",
   344      "language": "",
   345      "color": "N2",
   346      "italic": true,
   347      "bold": false,
   348      "underline": false,
   349      "labelWidth": 36,
   350      "labelHeight": 21,
   351      "labelPosition": "INSIDE_MIDDLE_CENTER",
   352      "labelPercentage": 0,
   353      "route": [
   354        {
   355          "x": 638.5,
   356          "y": 488
   357        },
   358        {
   359          "x": 1051,
   360          "y": 488
   361        }
   362      ],
   363      "animated": false,
   364      "tooltip": "",
   365      "icon": null,
   366      "zIndex": 4
   367    },
   368    {
   369      "id": "(a -> d)[0]",
   370      "src": "a",
   371      "srcArrow": "none",
   372      "dst": "d",
   373      "dstArrow": "triangle",
   374      "opacity": 1,
   375      "strokeDash": 0,
   376      "strokeWidth": 2,
   377      "stroke": "B1",
   378      "borderRadius": 10,
   379      "label": "this should span many actors lifelines so we know how it will look like when redering a long label over many actors",
   380      "fontSize": 16,
   381      "fontFamily": "DEFAULT",
   382      "language": "",
   383      "color": "N2",
   384      "italic": true,
   385      "bold": false,
   386      "underline": false,
   387      "labelWidth": 745,
   388      "labelHeight": 21,
   389      "labelPosition": "INSIDE_MIDDLE_CENTER",
   390      "labelPercentage": 0,
   391      "route": [
   392        {
   393          "x": 225.5,
   394          "y": 558
   395        },
   396        {
   397          "x": 1051,
   398          "y": 558
   399        }
   400      ],
   401      "animated": false,
   402      "tooltip": "",
   403      "icon": null,
   404      "zIndex": 4
   405    },
   406    {
   407      "id": "(d -> e)[0]",
   408      "src": "d",
   409      "srcArrow": "none",
   410      "dst": "e",
   411      "dstArrow": "triangle",
   412      "opacity": 1,
   413      "strokeDash": 0,
   414      "strokeWidth": 2,
   415      "stroke": "B1",
   416      "borderRadius": 10,
   417      "label": "long label for testing purposes and it must be really, really long",
   418      "fontSize": 16,
   419      "fontFamily": "DEFAULT",
   420      "language": "",
   421      "color": "N2",
   422      "italic": true,
   423      "bold": false,
   424      "underline": false,
   425      "labelWidth": 411,
   426      "labelHeight": 21,
   427      "labelPosition": "INSIDE_MIDDLE_CENTER",
   428      "labelPercentage": 0,
   429      "route": [
   430        {
   431          "x": 1051,
   432          "y": 628
   433        },
   434        {
   435          "x": 1502,
   436          "y": 628
   437        }
   438      ],
   439      "animated": false,
   440      "tooltip": "",
   441      "icon": null,
   442      "zIndex": 4
   443    },
   444    {
   445      "id": "(a -> f)[0]",
   446      "src": "a",
   447      "srcArrow": "none",
   448      "dst": "f",
   449      "dstArrow": "triangle",
   450      "opacity": 1,
   451      "strokeDash": 0,
   452      "strokeWidth": 2,
   453      "stroke": "B1",
   454      "borderRadius": 10,
   455      "label": "",
   456      "fontSize": 16,
   457      "fontFamily": "DEFAULT",
   458      "language": "",
   459      "color": "N2",
   460      "italic": true,
   461      "bold": false,
   462      "underline": false,
   463      "labelWidth": 0,
   464      "labelHeight": 0,
   465      "labelPosition": "",
   466      "labelPercentage": 0,
   467      "route": [
   468        {
   469          "x": 225.5,
   470          "y": 698
   471        },
   472        {
   473          "x": 1995.5,
   474          "y": 698
   475        }
   476      ],
   477      "animated": false,
   478      "tooltip": "",
   479      "icon": null,
   480      "zIndex": 4
   481    },
   482    {
   483      "id": "(a -- )[0]",
   484      "src": "a",
   485      "srcArrow": "none",
   486      "dst": "a-lifeline-end-2251863791",
   487      "dstArrow": "none",
   488      "opacity": 1,
   489      "strokeDash": 6,
   490      "strokeWidth": 2,
   491      "stroke": "B2",
   492      "borderRadius": 10,
   493      "label": "",
   494      "fontSize": 16,
   495      "fontFamily": "DEFAULT",
   496      "language": "",
   497      "color": "N2",
   498      "italic": true,
   499      "bold": false,
   500      "underline": false,
   501      "labelWidth": 0,
   502      "labelHeight": 0,
   503      "labelPosition": "",
   504      "labelPercentage": 0,
   505      "route": [
   506        {
   507          "x": 225.5,
   508          "y": 278
   509        },
   510        {
   511          "x": 225.5,
   512          "y": 768
   513        }
   514      ],
   515      "animated": false,
   516      "tooltip": "",
   517      "icon": null,
   518      "zIndex": 1
   519    },
   520    {
   521      "id": "(c -- )[0]",
   522      "src": "c",
   523      "srcArrow": "none",
   524      "dst": "c-lifeline-end-955173837",
   525      "dstArrow": "none",
   526      "opacity": 1,
   527      "strokeDash": 6,
   528      "strokeWidth": 2,
   529      "stroke": "B2",
   530      "borderRadius": 10,
   531      "label": "",
   532      "fontSize": 16,
   533      "fontFamily": "DEFAULT",
   534      "language": "",
   535      "color": "N2",
   536      "italic": true,
   537      "bold": false,
   538      "underline": false,
   539      "labelWidth": 0,
   540      "labelHeight": 0,
   541      "labelPosition": "",
   542      "labelPercentage": 0,
   543      "route": [
   544        {
   545          "x": 638.5,
   546          "y": 278
   547        },
   548        {
   549          "x": 638.5,
   550          "y": 768
   551        }
   552      ],
   553      "animated": false,
   554      "tooltip": "",
   555      "icon": null,
   556      "zIndex": 1
   557    },
   558    {
   559      "id": "(d -- )[0]",
   560      "src": "d",
   561      "srcArrow": "none",
   562      "dst": "d-lifeline-end-2106864010",
   563      "dstArrow": "none",
   564      "opacity": 1,
   565      "strokeDash": 6,
   566      "strokeWidth": 2,
   567      "stroke": "B2",
   568      "borderRadius": 10,
   569      "label": "",
   570      "fontSize": 16,
   571      "fontFamily": "DEFAULT",
   572      "language": "",
   573      "color": "N2",
   574      "italic": true,
   575      "bold": false,
   576      "underline": false,
   577      "labelWidth": 0,
   578      "labelHeight": 0,
   579      "labelPosition": "",
   580      "labelPercentage": 0,
   581      "route": [
   582        {
   583          "x": 1051,
   584          "y": 278
   585        },
   586        {
   587          "x": 1051,
   588          "y": 768
   589        }
   590      ],
   591      "animated": false,
   592      "tooltip": "",
   593      "icon": null,
   594      "zIndex": 1
   595    },
   596    {
   597      "id": "(e -- )[0]",
   598      "src": "e",
   599      "srcArrow": "none",
   600      "dst": "e-lifeline-end-2214352275",
   601      "dstArrow": "none",
   602      "opacity": 1,
   603      "strokeDash": 6,
   604      "strokeWidth": 2,
   605      "stroke": "B2",
   606      "borderRadius": 10,
   607      "label": "",
   608      "fontSize": 16,
   609      "fontFamily": "DEFAULT",
   610      "language": "",
   611      "color": "N2",
   612      "italic": true,
   613      "bold": false,
   614      "underline": false,
   615      "labelWidth": 0,
   616      "labelHeight": 0,
   617      "labelPosition": "",
   618      "labelPercentage": 0,
   619      "route": [
   620        {
   621          "x": 1502,
   622          "y": 278
   623        },
   624        {
   625          "x": 1502,
   626          "y": 768
   627        }
   628      ],
   629      "animated": false,
   630      "tooltip": "",
   631      "icon": null,
   632      "zIndex": 1
   633    },
   634    {
   635      "id": "(b -- )[0]",
   636      "src": "b",
   637      "srcArrow": "none",
   638      "dst": "b-lifeline-end-668380428",
   639      "dstArrow": "none",
   640      "opacity": 1,
   641      "strokeDash": 6,
   642      "strokeWidth": 2,
   643      "stroke": "B2",
   644      "borderRadius": 10,
   645      "label": "",
   646      "fontSize": 16,
   647      "fontFamily": "DEFAULT",
   648      "language": "",
   649      "color": "N2",
   650      "italic": true,
   651      "bold": false,
   652      "underline": false,
   653      "labelWidth": 0,
   654      "labelHeight": 0,
   655      "labelPosition": "",
   656      "labelPercentage": 0,
   657      "route": [
   658        {
   659          "x": 1653.5,
   660          "y": 278
   661        },
   662        {
   663          "x": 1653.5,
   664          "y": 768
   665        }
   666      ],
   667      "animated": false,
   668      "tooltip": "",
   669      "icon": null,
   670      "zIndex": 1
   671    },
   672    {
   673      "id": "(f -- )[0]",
   674      "src": "f",
   675      "srcArrow": "none",
   676      "dst": "f-lifeline-end-865917984",
   677      "dstArrow": "none",
   678      "opacity": 1,
   679      "strokeDash": 6,
   680      "strokeWidth": 2,
   681      "stroke": "B2",
   682      "borderRadius": 10,
   683      "label": "",
   684      "fontSize": 16,
   685      "fontFamily": "DEFAULT",
   686      "language": "",
   687      "color": "N2",
   688      "italic": true,
   689      "bold": false,
   690      "underline": false,
   691      "labelWidth": 0,
   692      "labelHeight": 0,
   693      "labelPosition": "",
   694      "labelPercentage": 0,
   695      "route": [
   696        {
   697          "x": 1995.5,
   698          "y": 278
   699        },
   700        {
   701          "x": 1995.5,
   702          "y": 768
   703        }
   704      ],
   705      "animated": false,
   706      "tooltip": "",
   707      "icon": null,
   708      "zIndex": 1
   709    }
   710  ],
   711  "root": {
   712    "id": "",
   713    "type": "",
   714    "pos": {
   715      "x": 0,
   716      "y": 0
   717    },
   718    "width": 0,
   719    "height": 0,
   720    "opacity": 0,
   721    "strokeDash": 0,
   722    "strokeWidth": 0,
   723    "borderRadius": 0,
   724    "fill": "N7",
   725    "stroke": "",
   726    "shadow": false,
   727    "3d": false,
   728    "multiple": false,
   729    "double-border": false,
   730    "tooltip": "",
   731    "link": "",
   732    "icon": null,
   733    "iconPosition": "",
   734    "blend": false,
   735    "fields": null,
   736    "methods": null,
   737    "columns": null,
   738    "label": "",
   739    "fontSize": 0,
   740    "fontFamily": "",
   741    "language": "",
   742    "color": "",
   743    "italic": false,
   744    "bold": false,
   745    "underline": false,
   746    "labelWidth": 0,
   747    "labelHeight": 0,
   748    "zIndex": 0,
   749    "level": 0
   750  }
   751}

View as plain text