...

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

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

     1{
     2  "name": "",
     3  "isFolderOnly": false,
     4  "fontFamily": "SourceSansPro",
     5  "shapes": [
     6    {
     7      "id": "a",
     8      "type": "rectangle",
     9      "pos": {
    10        "x": 24,
    11        "y": 0
    12      },
    13      "width": 53,
    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": 24,
    52        "y": 542
    53      },
    54      "width": 53,
    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": 69,
    93        "y": 366
    94      },
    95      "width": 53,
    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": 0,
   134        "y": 166
   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": 23.5,
   197          "y": 57.4379997253418
   198        },
   199        {
   200          "x": -27.299999237060547,
   201          "y": 104.28700256347656
   202        },
   203        {
   204          "x": -40,
   205          "y": 136
   206        },
   207        {
   208          "x": -40,
   209          "y": 166
   210        },
   211        {
   212          "x": -40,
   213          "y": 196
   214        },
   215        {
   216          "x": -40,
   217          "y": 236
   218        },
   219        {
   220          "x": -40,
   221          "y": 266
   222        },
   223        {
   224          "x": -40,
   225          "y": 296
   226        },
   227        {
   228          "x": -40,
   229          "y": 333.6000061035156
   230        },
   231        {
   232          "x": -40,
   233          "y": 360
   234        },
   235        {
   236          "x": -40,
   237          "y": 386.3999938964844
   238        },
   239        {
   240          "x": -27.298999786376953,
   241          "y": 503.7120056152344
   242        },
   243        {
   244          "x": 23.5,
   245          "y": 550.5609741210938
   246        }
   247      ],
   248      "isCurve": true,
   249      "animated": false,
   250      "tooltip": "",
   251      "icon": null,
   252      "zIndex": 0
   253    },
   254    {
   255      "id": "(c -> b)[0]",
   256      "src": "c",
   257      "srcArrow": "none",
   258      "dst": "b",
   259      "dstArrow": "triangle",
   260      "opacity": 1,
   261      "strokeDash": 0,
   262      "strokeWidth": 7,
   263      "stroke": "#20222a",
   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": 95,
   280          "y": 433
   281        },
   282        {
   283          "x": 95,
   284          "y": 480.20001220703125
   285        },
   286        {
   287          "x": 89.5999984741211,
   288          "y": 502
   289        },
   290        {
   291          "x": 68,
   292          "y": 542
   293        }
   294      ],
   295      "isCurve": true,
   296      "animated": false,
   297      "tooltip": "",
   298      "icon": null,
   299      "zIndex": 0
   300    },
   301    {
   302      "id": "(a <-> Oval)[0]",
   303      "src": "a",
   304      "srcArrow": "diamond",
   305      "dst": "Oval",
   306      "dstArrow": "filled-diamond",
   307      "dstLabel": {
   308        "label": "*",
   309        "fontSize": 0,
   310        "fontFamily": "",
   311        "language": "",
   312        "color": "",
   313        "italic": false,
   314        "bold": false,
   315        "underline": false,
   316        "labelWidth": 5,
   317        "labelHeight": 21
   318      },
   319      "opacity": 1,
   320      "strokeDash": 0,
   321      "strokeWidth": 6,
   322      "stroke": "B1",
   323      "borderRadius": 10,
   324      "label": "",
   325      "fontSize": 16,
   326      "fontFamily": "DEFAULT",
   327      "language": "",
   328      "color": "N2",
   329      "italic": true,
   330      "bold": false,
   331      "underline": false,
   332      "labelWidth": 0,
   333      "labelHeight": 0,
   334      "labelPosition": "",
   335      "labelPercentage": 0,
   336      "route": [
   337        {
   338          "x": 50,
   339          "y": 66
   340        },
   341        {
   342          "x": 50,
   343          "y": 106
   344        },
   345        {
   346          "x": 50,
   347          "y": 126
   348        },
   349        {
   350          "x": 50,
   351          "y": 166
   352        }
   353      ],
   354      "isCurve": true,
   355      "animated": false,
   356      "tooltip": "",
   357      "icon": null,
   358      "zIndex": 0
   359    },
   360    {
   361      "id": "(c -- a)[0]",
   362      "src": "c",
   363      "srcArrow": "none",
   364      "dst": "a",
   365      "dstArrow": "none",
   366      "opacity": 1,
   367      "strokeDash": 0,
   368      "strokeWidth": 7,
   369      "stroke": "B1",
   370      "borderRadius": 10,
   371      "label": "",
   372      "fontSize": 16,
   373      "fontFamily": "DEFAULT",
   374      "language": "",
   375      "color": "N2",
   376      "italic": true,
   377      "bold": false,
   378      "underline": false,
   379      "labelWidth": 0,
   380      "labelHeight": 0,
   381      "labelPosition": "",
   382      "labelPercentage": 0,
   383      "route": [
   384        {
   385          "x": 114,
   386          "y": 366
   387        },
   388        {
   389          "x": 134.8000030517578,
   390          "y": 326
   391        },
   392        {
   393          "x": 140,
   394          "y": 296
   395        },
   396        {
   397          "x": 140,
   398          "y": 266
   399        },
   400        {
   401          "x": 140,
   402          "y": 236
   403        },
   404        {
   405          "x": 127.4000015258789,
   406          "y": 104.4000015258789
   407        },
   408        {
   409          "x": 77,
   410          "y": 58
   411        }
   412      ],
   413      "isCurve": true,
   414      "animated": false,
   415      "tooltip": "",
   416      "icon": null,
   417      "zIndex": 0
   418    },
   419    {
   420      "id": "(Oval <-> c)[0]",
   421      "src": "Oval",
   422      "srcArrow": "triangle",
   423      "dst": "c",
   424      "dstArrow": "triangle",
   425      "opacity": 1,
   426      "strokeDash": 0,
   427      "strokeWidth": 2,
   428      "stroke": "B1",
   429      "borderRadius": 10,
   430      "label": "",
   431      "fontSize": 16,
   432      "fontFamily": "DEFAULT",
   433      "language": "",
   434      "color": "N2",
   435      "italic": true,
   436      "bold": false,
   437      "underline": false,
   438      "labelWidth": 0,
   439      "labelHeight": 0,
   440      "labelPosition": "",
   441      "labelPercentage": 0,
   442      "route": [
   443        {
   444          "x": 50,
   445          "y": 266
   446        },
   447        {
   448          "x": 50,
   449          "y": 306
   450        },
   451        {
   452          "x": 55.20000076293945,
   453          "y": 326
   454        },
   455        {
   456          "x": 76,
   457          "y": 366
   458        }
   459      ],
   460      "isCurve": true,
   461      "animated": false,
   462      "tooltip": "",
   463      "icon": null,
   464      "zIndex": 0
   465    }
   466  ],
   467  "root": {
   468    "id": "",
   469    "type": "",
   470    "pos": {
   471      "x": 0,
   472      "y": 0
   473    },
   474    "width": 0,
   475    "height": 0,
   476    "opacity": 0,
   477    "strokeDash": 0,
   478    "strokeWidth": 0,
   479    "borderRadius": 0,
   480    "fill": "N7",
   481    "stroke": "",
   482    "shadow": false,
   483    "3d": false,
   484    "multiple": false,
   485    "double-border": false,
   486    "tooltip": "",
   487    "link": "",
   488    "icon": null,
   489    "iconPosition": "",
   490    "blend": false,
   491    "fields": null,
   492    "methods": null,
   493    "columns": null,
   494    "label": "",
   495    "fontSize": 0,
   496    "fontFamily": "",
   497    "language": "",
   498    "color": "",
   499    "italic": false,
   500    "bold": false,
   501    "underline": false,
   502    "labelWidth": 0,
   503    "labelHeight": 0,
   504    "zIndex": 0,
   505    "level": 0
   506  }
   507}

View as plain text