...

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

Documentation: oss.terrastruct.com/d2/e2etests/testdata/stable/sequence_diagram_self_edges/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": 52
    12      },
    13      "width": 100,
    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": "a",
    34      "fontSize": 16,
    35      "fontFamily": "DEFAULT",
    36      "language": "",
    37      "color": "N1",
    38      "italic": false,
    39      "bold": false,
    40      "underline": false,
    41      "labelWidth": 7,
    42      "labelHeight": 21,
    43      "labelPosition": "INSIDE_MIDDLE_CENTER",
    44      "zIndex": 0,
    45      "level": 1
    46    },
    47    {
    48      "id": "b",
    49      "type": "rectangle",
    50      "pos": {
    51        "x": 162,
    52        "y": 52
    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": "b",
    75      "fontSize": 16,
    76      "fontFamily": "DEFAULT",
    77      "language": "",
    78      "color": "N1",
    79      "italic": false,
    80      "bold": false,
    81      "underline": false,
    82      "labelWidth": 8,
    83      "labelHeight": 21,
    84      "labelPosition": "INSIDE_MIDDLE_CENTER",
    85      "zIndex": 0,
    86      "level": 1
    87    },
    88    {
    89      "id": "b.1",
    90      "type": "rectangle",
    91      "pos": {
    92        "x": 206,
    93        "y": 363
    94      },
    95      "width": 12,
    96      "height": 125,
    97      "opacity": 1,
    98      "strokeDash": 0,
    99      "strokeWidth": 2,
   100      "borderRadius": 0,
   101      "fill": "B4",
   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": "",
   116      "fontSize": 16,
   117      "fontFamily": "DEFAULT",
   118      "language": "",
   119      "color": "N1",
   120      "italic": false,
   121      "bold": false,
   122      "underline": false,
   123      "labelWidth": 7,
   124      "labelHeight": 21,
   125      "zIndex": 2,
   126      "level": 2
   127    },
   128    {
   129      "id": "b.1.2",
   130      "type": "rectangle",
   131      "pos": {
   132        "x": 202,
   133        "y": 433
   134      },
   135      "width": 20,
   136      "height": 45,
   137      "opacity": 1,
   138      "strokeDash": 0,
   139      "strokeWidth": 2,
   140      "borderRadius": 0,
   141      "fill": "B5",
   142      "stroke": "B1",
   143      "shadow": false,
   144      "3d": false,
   145      "multiple": false,
   146      "double-border": false,
   147      "tooltip": "",
   148      "link": "",
   149      "icon": null,
   150      "iconPosition": "",
   151      "blend": false,
   152      "fields": null,
   153      "methods": null,
   154      "columns": null,
   155      "label": "",
   156      "fontSize": 16,
   157      "fontFamily": "DEFAULT",
   158      "language": "",
   159      "color": "N1",
   160      "italic": false,
   161      "bold": false,
   162      "underline": false,
   163      "labelWidth": 8,
   164      "labelHeight": 21,
   165      "zIndex": 2,
   166      "level": 3
   167    },
   168    {
   169      "id": "a.1",
   170      "type": "rectangle",
   171      "pos": {
   172        "x": 56,
   173        "y": 518
   174      },
   175      "width": 12,
   176      "height": 100,
   177      "opacity": 1,
   178      "strokeDash": 0,
   179      "strokeWidth": 2,
   180      "borderRadius": 0,
   181      "fill": "B4",
   182      "stroke": "B1",
   183      "shadow": false,
   184      "3d": false,
   185      "multiple": false,
   186      "double-border": false,
   187      "tooltip": "",
   188      "link": "",
   189      "icon": null,
   190      "iconPosition": "",
   191      "blend": false,
   192      "fields": null,
   193      "methods": null,
   194      "columns": null,
   195      "label": "",
   196      "fontSize": 16,
   197      "fontFamily": "DEFAULT",
   198      "language": "",
   199      "color": "N1",
   200      "italic": false,
   201      "bold": false,
   202      "underline": false,
   203      "labelWidth": 7,
   204      "labelHeight": 21,
   205      "zIndex": 2,
   206      "level": 2
   207    },
   208    {
   209      "id": "a.1.2",
   210      "type": "rectangle",
   211      "pos": {
   212        "x": 52,
   213        "y": 528
   214      },
   215      "width": 20,
   216      "height": 30,
   217      "opacity": 1,
   218      "strokeDash": 0,
   219      "strokeWidth": 2,
   220      "borderRadius": 0,
   221      "fill": "B5",
   222      "stroke": "B1",
   223      "shadow": false,
   224      "3d": false,
   225      "multiple": false,
   226      "double-border": false,
   227      "tooltip": "",
   228      "link": "",
   229      "icon": null,
   230      "iconPosition": "",
   231      "blend": false,
   232      "fields": null,
   233      "methods": null,
   234      "columns": null,
   235      "label": "",
   236      "fontSize": 16,
   237      "fontFamily": "DEFAULT",
   238      "language": "",
   239      "color": "N1",
   240      "italic": false,
   241      "bold": false,
   242      "underline": false,
   243      "labelWidth": 8,
   244      "labelHeight": 21,
   245      "zIndex": 2,
   246      "level": 3
   247    },
   248    {
   249      "id": "b.3",
   250      "type": "rectangle",
   251      "pos": {
   252        "x": 206,
   253        "y": 598
   254      },
   255      "width": 12,
   256      "height": 30,
   257      "opacity": 1,
   258      "strokeDash": 0,
   259      "strokeWidth": 2,
   260      "borderRadius": 0,
   261      "fill": "B4",
   262      "stroke": "B1",
   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": 16,
   277      "fontFamily": "DEFAULT",
   278      "language": "",
   279      "color": "N1",
   280      "italic": false,
   281      "bold": false,
   282      "underline": false,
   283      "labelWidth": 8,
   284      "labelHeight": 21,
   285      "zIndex": 2,
   286      "level": 2
   287    }
   288  ],
   289  "connections": [
   290    {
   291      "id": "(a -> a)[0]",
   292      "src": "a",
   293      "srcArrow": "none",
   294      "dst": "a",
   295      "dstArrow": "triangle",
   296      "opacity": 1,
   297      "strokeDash": 0,
   298      "strokeWidth": 2,
   299      "stroke": "B1",
   300      "borderRadius": 10,
   301      "label": "a self edge here",
   302      "fontSize": 16,
   303      "fontFamily": "DEFAULT",
   304      "language": "",
   305      "color": "N2",
   306      "italic": true,
   307      "bold": false,
   308      "underline": false,
   309      "labelWidth": 103,
   310      "labelHeight": 21,
   311      "labelPosition": "INSIDE_MIDDLE_CENTER",
   312      "labelPercentage": 0,
   313      "route": [
   314        {
   315          "x": 62,
   316          "y": 188
   317        },
   318        {
   319          "x": 142,
   320          "y": 188
   321        },
   322        {
   323          "x": 142,
   324          "y": 233
   325        },
   326        {
   327          "x": 62,
   328          "y": 233
   329        }
   330      ],
   331      "animated": false,
   332      "tooltip": "",
   333      "icon": null,
   334      "zIndex": 4
   335    },
   336    {
   337      "id": "(a -> b)[0]",
   338      "src": "a",
   339      "srcArrow": "none",
   340      "dst": "b",
   341      "dstArrow": "triangle",
   342      "opacity": 1,
   343      "strokeDash": 0,
   344      "strokeWidth": 2,
   345      "stroke": "B1",
   346      "borderRadius": 10,
   347      "label": "between actors",
   348      "fontSize": 16,
   349      "fontFamily": "DEFAULT",
   350      "language": "",
   351      "color": "N2",
   352      "italic": true,
   353      "bold": false,
   354      "underline": false,
   355      "labelWidth": 102,
   356      "labelHeight": 21,
   357      "labelPosition": "INSIDE_MIDDLE_CENTER",
   358      "labelPercentage": 0,
   359      "route": [
   360        {
   361          "x": 62,
   362          "y": 258
   363        },
   364        {
   365          "x": 212,
   366          "y": 258
   367        }
   368      ],
   369      "animated": false,
   370      "tooltip": "",
   371      "icon": null,
   372      "zIndex": 4
   373    },
   374    {
   375      "id": "(b -> b.1)[0]",
   376      "src": "b",
   377      "srcArrow": "none",
   378      "dst": "b.1",
   379      "dstArrow": "triangle",
   380      "opacity": 1,
   381      "strokeDash": 0,
   382      "strokeWidth": 2,
   383      "stroke": "B1",
   384      "borderRadius": 10,
   385      "label": "to descendant",
   386      "fontSize": 16,
   387      "fontFamily": "DEFAULT",
   388      "language": "",
   389      "color": "N2",
   390      "italic": true,
   391      "bold": false,
   392      "underline": false,
   393      "labelWidth": 94,
   394      "labelHeight": 21,
   395      "labelPosition": "INSIDE_MIDDLE_CENTER",
   396      "labelPercentage": 0,
   397      "route": [
   398        {
   399          "x": 212,
   400          "y": 328
   401        },
   402        {
   403          "x": 292,
   404          "y": 328
   405        },
   406        {
   407          "x": 292,
   408          "y": 373
   409        },
   410        {
   411          "x": 218,
   412          "y": 373
   413        }
   414      ],
   415      "animated": false,
   416      "tooltip": "",
   417      "icon": null,
   418      "zIndex": 4
   419    },
   420    {
   421      "id": "b.(1 -> 1.2)[0]",
   422      "src": "b.1",
   423      "srcArrow": "none",
   424      "dst": "b.1.2",
   425      "dstArrow": "triangle",
   426      "opacity": 1,
   427      "strokeDash": 0,
   428      "strokeWidth": 2,
   429      "stroke": "B1",
   430      "borderRadius": 10,
   431      "label": "to deeper descendant",
   432      "fontSize": 16,
   433      "fontFamily": "DEFAULT",
   434      "language": "",
   435      "color": "N2",
   436      "italic": true,
   437      "bold": false,
   438      "underline": false,
   439      "labelWidth": 143,
   440      "labelHeight": 21,
   441      "labelPosition": "INSIDE_MIDDLE_CENTER",
   442      "labelPercentage": 0,
   443      "route": [
   444        {
   445          "x": 218,
   446          "y": 398
   447        },
   448        {
   449          "x": 292,
   450          "y": 398
   451        },
   452        {
   453          "x": 292,
   454          "y": 443
   455        },
   456        {
   457          "x": 222,
   458          "y": 443
   459        }
   460      ],
   461      "animated": false,
   462      "tooltip": "",
   463      "icon": null,
   464      "zIndex": 4
   465    },
   466    {
   467      "id": "(b.1.2 -> b)[0]",
   468      "src": "b.1.2",
   469      "srcArrow": "none",
   470      "dst": "b",
   471      "dstArrow": "triangle",
   472      "opacity": 1,
   473      "strokeDash": 0,
   474      "strokeWidth": 2,
   475      "stroke": "B1",
   476      "borderRadius": 10,
   477      "label": "to parent",
   478      "fontSize": 16,
   479      "fontFamily": "DEFAULT",
   480      "language": "",
   481      "color": "N2",
   482      "italic": true,
   483      "bold": false,
   484      "underline": false,
   485      "labelWidth": 62,
   486      "labelHeight": 21,
   487      "labelPosition": "INSIDE_MIDDLE_CENTER",
   488      "labelPercentage": 0,
   489      "route": [
   490        {
   491          "x": 222,
   492          "y": 468
   493        },
   494        {
   495          "x": 292,
   496          "y": 468
   497        },
   498        {
   499          "x": 292,
   500          "y": 513
   501        },
   502        {
   503          "x": 212,
   504          "y": 513
   505        }
   506      ],
   507      "animated": false,
   508      "tooltip": "",
   509      "icon": null,
   510      "zIndex": 4
   511    },
   512    {
   513      "id": "(b -> a.1.2)[0]",
   514      "src": "b",
   515      "srcArrow": "none",
   516      "dst": "a.1.2",
   517      "dstArrow": "triangle",
   518      "opacity": 1,
   519      "strokeDash": 0,
   520      "strokeWidth": 2,
   521      "stroke": "B1",
   522      "borderRadius": 10,
   523      "label": "actor",
   524      "fontSize": 16,
   525      "fontFamily": "DEFAULT",
   526      "language": "",
   527      "color": "N2",
   528      "italic": true,
   529      "bold": false,
   530      "underline": false,
   531      "labelWidth": 36,
   532      "labelHeight": 21,
   533      "labelPosition": "INSIDE_MIDDLE_CENTER",
   534      "labelPercentage": 0,
   535      "route": [
   536        {
   537          "x": 212,
   538          "y": 538
   539        },
   540        {
   541          "x": 72,
   542          "y": 538
   543        }
   544      ],
   545      "animated": false,
   546      "tooltip": "",
   547      "icon": null,
   548      "zIndex": 4
   549    },
   550    {
   551      "id": "(a.1 -> b.3)[0]",
   552      "src": "a.1",
   553      "srcArrow": "none",
   554      "dst": "b.3",
   555      "dstArrow": "triangle",
   556      "opacity": 1,
   557      "strokeDash": 0,
   558      "strokeWidth": 2,
   559      "stroke": "B1",
   560      "borderRadius": 10,
   561      "label": "",
   562      "fontSize": 16,
   563      "fontFamily": "DEFAULT",
   564      "language": "",
   565      "color": "N2",
   566      "italic": true,
   567      "bold": false,
   568      "underline": false,
   569      "labelWidth": 0,
   570      "labelHeight": 0,
   571      "labelPosition": "",
   572      "labelPercentage": 0,
   573      "route": [
   574        {
   575          "x": 68,
   576          "y": 608
   577        },
   578        {
   579          "x": 206,
   580          "y": 608
   581        }
   582      ],
   583      "animated": false,
   584      "tooltip": "",
   585      "icon": null,
   586      "zIndex": 4
   587    },
   588    {
   589      "id": "(a -- )[0]",
   590      "src": "a",
   591      "srcArrow": "none",
   592      "dst": "a-lifeline-end-2251863791",
   593      "dstArrow": "none",
   594      "opacity": 1,
   595      "strokeDash": 6,
   596      "strokeWidth": 2,
   597      "stroke": "B2",
   598      "borderRadius": 10,
   599      "label": "",
   600      "fontSize": 16,
   601      "fontFamily": "DEFAULT",
   602      "language": "",
   603      "color": "N2",
   604      "italic": true,
   605      "bold": false,
   606      "underline": false,
   607      "labelWidth": 0,
   608      "labelHeight": 0,
   609      "labelPosition": "",
   610      "labelPercentage": 0,
   611      "route": [
   612        {
   613          "x": 62,
   614          "y": 118
   615        },
   616        {
   617          "x": 62,
   618          "y": 678
   619        }
   620      ],
   621      "animated": false,
   622      "tooltip": "",
   623      "icon": null,
   624      "zIndex": 1
   625    },
   626    {
   627      "id": "(b -- )[0]",
   628      "src": "b",
   629      "srcArrow": "none",
   630      "dst": "b-lifeline-end-668380428",
   631      "dstArrow": "none",
   632      "opacity": 1,
   633      "strokeDash": 6,
   634      "strokeWidth": 2,
   635      "stroke": "B2",
   636      "borderRadius": 10,
   637      "label": "",
   638      "fontSize": 16,
   639      "fontFamily": "DEFAULT",
   640      "language": "",
   641      "color": "N2",
   642      "italic": true,
   643      "bold": false,
   644      "underline": false,
   645      "labelWidth": 0,
   646      "labelHeight": 0,
   647      "labelPosition": "",
   648      "labelPercentage": 0,
   649      "route": [
   650        {
   651          "x": 212,
   652          "y": 118
   653        },
   654        {
   655          "x": 212,
   656          "y": 678
   657        }
   658      ],
   659      "animated": false,
   660      "tooltip": "",
   661      "icon": null,
   662      "zIndex": 1
   663    }
   664  ],
   665  "root": {
   666    "id": "",
   667    "type": "",
   668    "pos": {
   669      "x": 0,
   670      "y": 0
   671    },
   672    "width": 0,
   673    "height": 0,
   674    "opacity": 0,
   675    "strokeDash": 0,
   676    "strokeWidth": 0,
   677    "borderRadius": 0,
   678    "fill": "N7",
   679    "stroke": "",
   680    "shadow": false,
   681    "3d": false,
   682    "multiple": false,
   683    "double-border": false,
   684    "tooltip": "",
   685    "link": "",
   686    "icon": null,
   687    "iconPosition": "",
   688    "blend": false,
   689    "fields": null,
   690    "methods": null,
   691    "columns": null,
   692    "label": "",
   693    "fontSize": 0,
   694    "fontFamily": "",
   695    "language": "",
   696    "color": "",
   697    "italic": false,
   698    "bold": false,
   699    "underline": false,
   700    "labelWidth": 0,
   701    "labelHeight": 0,
   702    "zIndex": 0,
   703    "level": 0
   704  }
   705}

View as plain text