...

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

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

     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.note",
    90      "type": "page",
    91      "pos": {
    92        "x": -20,
    93        "y": 258
    94      },
    95      "width": 465,
    96      "height": 66,
    97      "opacity": 1,
    98      "strokeDash": 0,
    99      "strokeWidth": 2,
   100      "borderRadius": 0,
   101      "fill": "N7",
   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": "a note here to remember that padding must consider notes too",
   116      "fontSize": 16,
   117      "fontFamily": "DEFAULT",
   118      "language": "",
   119      "color": "N1",
   120      "italic": false,
   121      "bold": false,
   122      "underline": false,
   123      "labelWidth": 420,
   124      "labelHeight": 21,
   125      "labelPosition": "INSIDE_MIDDLE_CENTER",
   126      "zIndex": 5,
   127      "level": 2
   128    },
   129    {
   130      "id": "a.note",
   131      "type": "page",
   132      "pos": {
   133        "x": 23,
   134        "y": 394
   135      },
   136      "width": 77,
   137      "height": 130,
   138      "opacity": 1,
   139      "strokeDash": 0,
   140      "strokeWidth": 2,
   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": "just\na\nlong\nnote\nhere",
   157      "fontSize": 16,
   158      "fontFamily": "DEFAULT",
   159      "language": "",
   160      "color": "N1",
   161      "italic": false,
   162      "bold": false,
   163      "underline": false,
   164      "labelWidth": 32,
   165      "labelHeight": 85,
   166      "labelPosition": "INSIDE_MIDDLE_CENTER",
   167      "zIndex": 5,
   168      "level": 2
   169    }
   170  ],
   171  "connections": [
   172    {
   173      "id": "(a -> b)[0]",
   174      "src": "a",
   175      "srcArrow": "none",
   176      "dst": "b",
   177      "dstArrow": "triangle",
   178      "opacity": 1,
   179      "strokeDash": 0,
   180      "strokeWidth": 2,
   181      "stroke": "B1",
   182      "borderRadius": 10,
   183      "label": "",
   184      "fontSize": 16,
   185      "fontFamily": "DEFAULT",
   186      "language": "",
   187      "color": "N2",
   188      "italic": true,
   189      "bold": false,
   190      "underline": false,
   191      "labelWidth": 0,
   192      "labelHeight": 0,
   193      "labelPosition": "",
   194      "labelPercentage": 0,
   195      "route": [
   196        {
   197          "x": 62,
   198          "y": 188
   199        },
   200        {
   201          "x": 212,
   202          "y": 188
   203        }
   204      ],
   205      "animated": false,
   206      "tooltip": "",
   207      "icon": null,
   208      "zIndex": 4
   209    },
   210    {
   211      "id": "(a -- )[0]",
   212      "src": "a",
   213      "srcArrow": "none",
   214      "dst": "a-lifeline-end-2251863791",
   215      "dstArrow": "none",
   216      "opacity": 1,
   217      "strokeDash": 6,
   218      "strokeWidth": 2,
   219      "stroke": "B2",
   220      "borderRadius": 10,
   221      "label": "",
   222      "fontSize": 16,
   223      "fontFamily": "DEFAULT",
   224      "language": "",
   225      "color": "N2",
   226      "italic": true,
   227      "bold": false,
   228      "underline": false,
   229      "labelWidth": 0,
   230      "labelHeight": 0,
   231      "labelPosition": "",
   232      "labelPercentage": 0,
   233      "route": [
   234        {
   235          "x": 62,
   236          "y": 118
   237        },
   238        {
   239          "x": 62,
   240          "y": 594
   241        }
   242      ],
   243      "animated": false,
   244      "tooltip": "",
   245      "icon": null,
   246      "zIndex": 1
   247    },
   248    {
   249      "id": "(b -- )[0]",
   250      "src": "b",
   251      "srcArrow": "none",
   252      "dst": "b-lifeline-end-668380428",
   253      "dstArrow": "none",
   254      "opacity": 1,
   255      "strokeDash": 6,
   256      "strokeWidth": 2,
   257      "stroke": "B2",
   258      "borderRadius": 10,
   259      "label": "",
   260      "fontSize": 16,
   261      "fontFamily": "DEFAULT",
   262      "language": "",
   263      "color": "N2",
   264      "italic": true,
   265      "bold": false,
   266      "underline": false,
   267      "labelWidth": 0,
   268      "labelHeight": 0,
   269      "labelPosition": "",
   270      "labelPercentage": 0,
   271      "route": [
   272        {
   273          "x": 212,
   274          "y": 118
   275        },
   276        {
   277          "x": 212,
   278          "y": 594
   279        }
   280      ],
   281      "animated": false,
   282      "tooltip": "",
   283      "icon": null,
   284      "zIndex": 1
   285    }
   286  ],
   287  "root": {
   288    "id": "",
   289    "type": "",
   290    "pos": {
   291      "x": 0,
   292      "y": 0
   293    },
   294    "width": 0,
   295    "height": 0,
   296    "opacity": 0,
   297    "strokeDash": 0,
   298    "strokeWidth": 0,
   299    "borderRadius": 0,
   300    "fill": "N7",
   301    "stroke": "",
   302    "shadow": false,
   303    "3d": false,
   304    "multiple": false,
   305    "double-border": false,
   306    "tooltip": "",
   307    "link": "",
   308    "icon": null,
   309    "iconPosition": "",
   310    "blend": false,
   311    "fields": null,
   312    "methods": null,
   313    "columns": null,
   314    "label": "",
   315    "fontSize": 0,
   316    "fontFamily": "",
   317    "language": "",
   318    "color": "",
   319    "italic": false,
   320    "bold": false,
   321    "underline": false,
   322    "labelWidth": 0,
   323    "labelHeight": 0,
   324    "zIndex": 0,
   325    "level": 0
   326  }
   327}

View as plain text