...

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

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

     1{
     2  "name": "",
     3  "isFolderOnly": false,
     4  "fontFamily": "SourceSansPro",
     5  "shapes": [
     6    {
     7      "id": "a",
     8      "type": "rectangle",
     9      "pos": {
    10        "x": 63,
    11        "y": 12
    12      },
    13      "width": 80,
    14      "height": 66,
    15      "opacity": 1,
    16      "strokeDash": 0,
    17      "strokeWidth": 8,
    18      "borderRadius": 10,
    19      "fill": "B6",
    20      "stroke": "#2bc3d8",
    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": true,
    40      "underline": false,
    41      "labelWidth": 8,
    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": 55,
    52        "y": 494
    53      },
    54      "width": 80,
    55      "height": 66,
    56      "opacity": 1,
    57      "strokeDash": 0,
    58      "strokeWidth": 8,
    59      "borderRadius": 0,
    60      "fill": "B6",
    61      "stroke": "#0db254",
    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": true,
    81      "underline": false,
    82      "labelWidth": 8,
    83      "labelHeight": 21,
    84      "labelPosition": "INSIDE_MIDDLE_CENTER",
    85      "zIndex": 0,
    86      "level": 1
    87    },
    88    {
    89      "id": "c",
    90      "type": "document",
    91      "pos": {
    92        "x": 108,
    93        "y": 338
    94      },
    95      "width": 80,
    96      "height": 76,
    97      "opacity": 1,
    98      "strokeDash": 0,
    99      "strokeWidth": 7,
   100      "borderRadius": 0,
   101      "fill": "AB4",
   102      "stroke": "#b2350d",
   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": "c",
   116      "fontSize": 16,
   117      "fontFamily": "DEFAULT",
   118      "language": "",
   119      "color": "N1",
   120      "italic": false,
   121      "bold": true,
   122      "underline": false,
   123      "labelWidth": 8,
   124      "labelHeight": 21,
   125      "labelPosition": "INSIDE_MIDDLE_CENTER",
   126      "zIndex": 0,
   127      "level": 1
   128    },
   129    {
   130      "id": "Oval",
   131      "type": "oval",
   132      "pos": {
   133        "x": 53,
   134        "y": 158
   135      },
   136      "width": 100,
   137      "height": 100,
   138      "opacity": 1,
   139      "strokeDash": 0,
   140      "strokeWidth": 6,
   141      "borderRadius": 0,
   142      "fill": "B6",
   143      "stroke": "#a1a4af",
   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": "",
   157      "fontSize": 16,
   158      "fontFamily": "DEFAULT",
   159      "language": "",
   160      "color": "N1",
   161      "italic": false,
   162      "bold": true,
   163      "underline": false,
   164      "labelWidth": 0,
   165      "labelHeight": 0,
   166      "zIndex": 0,
   167      "level": 1
   168    }
   169  ],
   170  "connections": [
   171    {
   172      "id": "(a <-> b)[0]",
   173      "src": "a",
   174      "srcArrow": "arrow",
   175      "dst": "b",
   176      "dstArrow": "triangle",
   177      "opacity": 1,
   178      "strokeDash": 4,
   179      "strokeWidth": 6,
   180      "stroke": "B2",
   181      "borderRadius": 10,
   182      "label": "",
   183      "fontSize": 16,
   184      "fontFamily": "DEFAULT",
   185      "language": "",
   186      "color": "N2",
   187      "italic": true,
   188      "bold": false,
   189      "underline": false,
   190      "labelWidth": 0,
   191      "labelHeight": 0,
   192      "labelPosition": "",
   193      "labelPercentage": 0,
   194      "route": [
   195        {
   196          "x": 83,
   197          "y": 78
   198        },
   199        {
   200          "x": 83,
   201          "y": 118
   202        },
   203        {
   204          "x": 12,
   205          "y": 118
   206        },
   207        {
   208          "x": 12,
   209          "y": 454
   210        },
   211        {
   212          "x": 82.5,
   213          "y": 454
   214        },
   215        {
   216          "x": 82.5,
   217          "y": 494
   218        }
   219      ],
   220      "animated": false,
   221      "tooltip": "",
   222      "icon": null,
   223      "zIndex": 0
   224    },
   225    {
   226      "id": "(c -> b)[0]",
   227      "src": "c",
   228      "srcArrow": "none",
   229      "dst": "b",
   230      "dstArrow": "triangle",
   231      "opacity": 1,
   232      "strokeDash": 0,
   233      "strokeWidth": 7,
   234      "stroke": "#20222a",
   235      "borderRadius": 10,
   236      "label": "",
   237      "fontSize": 16,
   238      "fontFamily": "DEFAULT",
   239      "language": "",
   240      "color": "N2",
   241      "italic": true,
   242      "bold": false,
   243      "underline": false,
   244      "labelWidth": 0,
   245      "labelHeight": 0,
   246      "labelPosition": "",
   247      "labelPercentage": 0,
   248      "route": [
   249        {
   250          "x": 148,
   251          "y": 403
   252        },
   253        {
   254          "x": 148,
   255          "y": 454
   256        },
   257        {
   258          "x": 109.16600036621094,
   259          "y": 454
   260        },
   261        {
   262          "x": 109.16600036621094,
   263          "y": 494
   264        }
   265      ],
   266      "animated": false,
   267      "tooltip": "",
   268      "icon": null,
   269      "zIndex": 0
   270    },
   271    {
   272      "id": "(a <-> Oval)[0]",
   273      "src": "a",
   274      "srcArrow": "diamond",
   275      "dst": "Oval",
   276      "dstArrow": "filled-diamond",
   277      "dstLabel": {
   278        "label": "*",
   279        "fontSize": 0,
   280        "fontFamily": "",
   281        "language": "",
   282        "color": "",
   283        "italic": false,
   284        "bold": false,
   285        "underline": false,
   286        "labelWidth": 5,
   287        "labelHeight": 21
   288      },
   289      "opacity": 1,
   290      "strokeDash": 0,
   291      "strokeWidth": 6,
   292      "stroke": "B1",
   293      "borderRadius": 10,
   294      "label": "",
   295      "fontSize": 16,
   296      "fontFamily": "DEFAULT",
   297      "language": "",
   298      "color": "N2",
   299      "italic": true,
   300      "bold": false,
   301      "underline": false,
   302      "labelWidth": 0,
   303      "labelHeight": 0,
   304      "labelPosition": "",
   305      "labelPercentage": 0,
   306      "route": [
   307        {
   308          "x": 103,
   309          "y": 78
   310        },
   311        {
   312          "x": 103,
   313          "y": 158
   314        }
   315      ],
   316      "animated": false,
   317      "tooltip": "",
   318      "icon": null,
   319      "zIndex": 0
   320    },
   321    {
   322      "id": "(c -- a)[0]",
   323      "src": "c",
   324      "srcArrow": "none",
   325      "dst": "a",
   326      "dstArrow": "none",
   327      "opacity": 1,
   328      "strokeDash": 0,
   329      "strokeWidth": 7,
   330      "stroke": "B1",
   331      "borderRadius": 10,
   332      "label": "",
   333      "fontSize": 16,
   334      "fontFamily": "DEFAULT",
   335      "language": "",
   336      "color": "N2",
   337      "italic": true,
   338      "bold": false,
   339      "underline": false,
   340      "labelWidth": 0,
   341      "labelHeight": 0,
   342      "labelPosition": "",
   343      "labelPercentage": 0,
   344      "route": [
   345        {
   346          "x": 161,
   347          "y": 338
   348        },
   349        {
   350          "x": 161.33299255371094,
   351          "y": 298
   352        },
   353        {
   354          "x": 193,
   355          "y": 298
   356        },
   357        {
   358          "x": 193,
   359          "y": 118
   360        },
   361        {
   362          "x": 123,
   363          "y": 118
   364        },
   365        {
   366          "x": 123,
   367          "y": 78
   368        }
   369      ],
   370      "animated": false,
   371      "tooltip": "",
   372      "icon": null,
   373      "zIndex": 0
   374    },
   375    {
   376      "id": "(Oval <-> c)[0]",
   377      "src": "Oval",
   378      "srcArrow": "triangle",
   379      "dst": "c",
   380      "dstArrow": "triangle",
   381      "opacity": 1,
   382      "strokeDash": 0,
   383      "strokeWidth": 2,
   384      "stroke": "B1",
   385      "borderRadius": 10,
   386      "label": "",
   387      "fontSize": 16,
   388      "fontFamily": "DEFAULT",
   389      "language": "",
   390      "color": "N2",
   391      "italic": true,
   392      "bold": false,
   393      "underline": false,
   394      "labelWidth": 0,
   395      "labelHeight": 0,
   396      "labelPosition": "",
   397      "labelPercentage": 0,
   398      "route": [
   399        {
   400          "x": 135,
   401          "y": 247
   402        },
   403        {
   404          "x": 135,
   405          "y": 338
   406        }
   407      ],
   408      "animated": false,
   409      "tooltip": "",
   410      "icon": null,
   411      "zIndex": 0
   412    }
   413  ],
   414  "root": {
   415    "id": "",
   416    "type": "",
   417    "pos": {
   418      "x": 0,
   419      "y": 0
   420    },
   421    "width": 0,
   422    "height": 0,
   423    "opacity": 0,
   424    "strokeDash": 0,
   425    "strokeWidth": 0,
   426    "borderRadius": 0,
   427    "fill": "N7",
   428    "stroke": "",
   429    "shadow": false,
   430    "3d": false,
   431    "multiple": false,
   432    "double-border": false,
   433    "tooltip": "",
   434    "link": "",
   435    "icon": null,
   436    "iconPosition": "",
   437    "blend": false,
   438    "fields": null,
   439    "methods": null,
   440    "columns": null,
   441    "label": "",
   442    "fontSize": 0,
   443    "fontFamily": "",
   444    "language": "",
   445    "color": "",
   446    "italic": false,
   447    "bold": false,
   448    "underline": false,
   449    "labelWidth": 0,
   450    "labelHeight": 0,
   451    "zIndex": 0,
   452    "level": 0
   453  }
   454}

View as plain text