...

Text file src/oss.terrastruct.com/d2/e2etests/testdata/regression/dagre_edge_label_spacing/dagre/board.exp.json

Documentation: oss.terrastruct.com/d2/e2etests/testdata/regression/dagre_edge_label_spacing/dagre

     1{
     2  "name": "",
     3  "isFolderOnly": false,
     4  "fontFamily": "SourceSansPro",
     5  "shapes": [
     6    {
     7      "id": "build_workflow",
     8      "type": "rectangle",
     9      "pos": {
    10        "x": 75,
    11        "y": 56
    12      },
    13      "width": 2179,
    14      "height": 137,
    15      "opacity": 1,
    16      "strokeDash": 0,
    17      "strokeWidth": 2,
    18      "borderRadius": 0,
    19      "fill": "B4",
    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": "lambda-build.yaml",
    34      "fontSize": 28,
    35      "fontFamily": "DEFAULT",
    36      "language": "",
    37      "color": "N1",
    38      "italic": false,
    39      "bold": false,
    40      "underline": false,
    41      "labelWidth": 221,
    42      "labelHeight": 36,
    43      "labelPosition": "OUTSIDE_TOP_CENTER",
    44      "zIndex": 0,
    45      "level": 1
    46    },
    47    {
    48      "id": "build_workflow.push",
    49      "type": "rectangle",
    50      "pos": {
    51        "x": 105,
    52        "y": 86
    53      },
    54      "width": 270,
    55      "height": 77,
    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": "Push to main branch",
    75      "fontSize": 25,
    76      "fontFamily": "DEFAULT",
    77      "language": "",
    78      "color": "N1",
    79      "italic": false,
    80      "bold": true,
    81      "underline": false,
    82      "labelWidth": 225,
    83      "labelHeight": 32,
    84      "labelPosition": "INSIDE_MIDDLE_CENTER",
    85      "zIndex": 0,
    86      "level": 2
    87    },
    88    {
    89      "id": "build_workflow.GHA",
    90      "type": "rectangle",
    91      "pos": {
    92        "x": 638,
    93        "y": 86
    94      },
    95      "width": 209,
    96      "height": 77,
    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": "GitHub Actions",
   116      "fontSize": 25,
   117      "fontFamily": "DEFAULT",
   118      "language": "",
   119      "color": "N1",
   120      "italic": false,
   121      "bold": true,
   122      "underline": false,
   123      "labelWidth": 164,
   124      "labelHeight": 32,
   125      "labelPosition": "INSIDE_MIDDLE_CENTER",
   126      "zIndex": 0,
   127      "level": 2
   128    },
   129    {
   130      "id": "build_workflow.S3",
   131      "type": "rectangle",
   132      "pos": {
   133        "x": 1194,
   134        "y": 86
   135      },
   136      "width": 71,
   137      "height": 77,
   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": "S3",
   157      "fontSize": 25,
   158      "fontFamily": "DEFAULT",
   159      "language": "",
   160      "color": "N1",
   161      "italic": false,
   162      "bold": true,
   163      "underline": false,
   164      "labelWidth": 26,
   165      "labelHeight": 32,
   166      "labelPosition": "INSIDE_MIDDLE_CENTER",
   167      "zIndex": 0,
   168      "level": 2
   169    },
   170    {
   171      "id": "build_workflow.Terraform",
   172      "type": "rectangle",
   173      "pos": {
   174        "x": 1593,
   175        "y": 86
   176      },
   177      "width": 158,
   178      "height": 77,
   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": "Terraform",
   198      "fontSize": 25,
   199      "fontFamily": "DEFAULT",
   200      "language": "",
   201      "color": "N1",
   202      "italic": false,
   203      "bold": true,
   204      "underline": false,
   205      "labelWidth": 113,
   206      "labelHeight": 32,
   207      "labelPosition": "INSIDE_MIDDLE_CENTER",
   208      "zIndex": 0,
   209      "level": 2
   210    },
   211    {
   212      "id": "build_workflow.AWS",
   213      "type": "rectangle",
   214      "pos": {
   215        "x": 2129,
   216        "y": 86
   217      },
   218      "width": 95,
   219      "height": 77,
   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": "AWS",
   239      "fontSize": 25,
   240      "fontFamily": "DEFAULT",
   241      "language": "",
   242      "color": "N1",
   243      "italic": false,
   244      "bold": true,
   245      "underline": false,
   246      "labelWidth": 50,
   247      "labelHeight": 32,
   248      "labelPosition": "INSIDE_MIDDLE_CENTER",
   249      "zIndex": 0,
   250      "level": 2
   251    }
   252  ],
   253  "connections": [
   254    {
   255      "id": "build_workflow.(push -> GHA)[0]",
   256      "src": "build_workflow.push",
   257      "srcArrow": "none",
   258      "dst": "build_workflow.GHA",
   259      "dstArrow": "triangle",
   260      "opacity": 1,
   261      "strokeDash": 0,
   262      "strokeWidth": 2,
   263      "stroke": "B1",
   264      "borderRadius": 10,
   265      "label": "Triggers",
   266      "fontSize": 16,
   267      "fontFamily": "DEFAULT",
   268      "language": "",
   269      "color": "N2",
   270      "italic": true,
   271      "bold": false,
   272      "underline": false,
   273      "labelWidth": 54,
   274      "labelHeight": 21,
   275      "labelPosition": "INSIDE_MIDDLE_CENTER",
   276      "labelPercentage": 0,
   277      "route": [
   278        {
   279          "x": 375.5,
   280          "y": 124.5
   281        },
   282        {
   283          "x": 479.8999938964844,
   284          "y": 124.5
   285        },
   286        {
   287          "x": 532.2999877929688,
   288          "y": 124.5
   289        },
   290        {
   291          "x": 637.5,
   292          "y": 124.5
   293        }
   294      ],
   295      "isCurve": true,
   296      "animated": false,
   297      "tooltip": "",
   298      "icon": null,
   299      "zIndex": 0
   300    },
   301    {
   302      "id": "build_workflow.(GHA -> S3)[0]",
   303      "src": "build_workflow.GHA",
   304      "srcArrow": "none",
   305      "dst": "build_workflow.S3",
   306      "dstArrow": "triangle",
   307      "opacity": 1,
   308      "strokeDash": 0,
   309      "strokeWidth": 2,
   310      "stroke": "B1",
   311      "borderRadius": 10,
   312      "label": "Builds zip & pushes it",
   313      "fontSize": 16,
   314      "fontFamily": "DEFAULT",
   315      "language": "",
   316      "color": "N2",
   317      "italic": true,
   318      "bold": false,
   319      "underline": false,
   320      "labelWidth": 138,
   321      "labelHeight": 21,
   322      "labelPosition": "INSIDE_MIDDLE_CENTER",
   323      "labelPercentage": 0,
   324      "route": [
   325        {
   326          "x": 847,
   327          "y": 124.5
   328        },
   329        {
   330          "x": 985.4000244140625,
   331          "y": 124.5
   332        },
   333        {
   334          "x": 1054.699951171875,
   335          "y": 124.5
   336        },
   337        {
   338          "x": 1193.5,
   339          "y": 124.5
   340        }
   341      ],
   342      "isCurve": true,
   343      "animated": false,
   344      "tooltip": "",
   345      "icon": null,
   346      "zIndex": 0
   347    },
   348    {
   349      "id": "build_workflow.(S3 <-> Terraform)[0]",
   350      "src": "build_workflow.S3",
   351      "srcArrow": "triangle",
   352      "dst": "build_workflow.Terraform",
   353      "dstArrow": "triangle",
   354      "opacity": 1,
   355      "strokeDash": 0,
   356      "strokeWidth": 2,
   357      "stroke": "B1",
   358      "borderRadius": 10,
   359      "label": "Pulls zip to deploy",
   360      "fontSize": 16,
   361      "fontFamily": "DEFAULT",
   362      "language": "",
   363      "color": "N2",
   364      "italic": true,
   365      "bold": false,
   366      "underline": false,
   367      "labelWidth": 119,
   368      "labelHeight": 21,
   369      "labelPosition": "INSIDE_MIDDLE_CENTER",
   370      "labelPercentage": 0,
   371      "route": [
   372        {
   373          "x": 1265.5,
   374          "y": 124.5
   375        },
   376        {
   377          "x": 1395.9000244140625,
   378          "y": 124.5
   379        },
   380        {
   381          "x": 1461.300048828125,
   382          "y": 124.5
   383        },
   384        {
   385          "x": 1592.5,
   386          "y": 124.5
   387        }
   388      ],
   389      "isCurve": true,
   390      "animated": false,
   391      "tooltip": "",
   392      "icon": null,
   393      "zIndex": 0
   394    },
   395    {
   396      "id": "build_workflow.(Terraform -> AWS)[0]",
   397      "src": "build_workflow.Terraform",
   398      "srcArrow": "none",
   399      "dst": "build_workflow.AWS",
   400      "dstArrow": "triangle",
   401      "opacity": 1,
   402      "strokeDash": 0,
   403      "strokeWidth": 2,
   404      "stroke": "B1",
   405      "borderRadius": 10,
   406      "label": "Changes the live lambdas",
   407      "fontSize": 16,
   408      "fontFamily": "DEFAULT",
   409      "language": "",
   410      "color": "N2",
   411      "italic": true,
   412      "bold": false,
   413      "underline": false,
   414      "labelWidth": 169,
   415      "labelHeight": 21,
   416      "labelPosition": "INSIDE_MIDDLE_CENTER",
   417      "labelPercentage": 0,
   418      "route": [
   419        {
   420          "x": 1751.5,
   421          "y": 124.5
   422        },
   423        {
   424          "x": 1901.9000244140625,
   425          "y": 124.5
   426        },
   427        {
   428          "x": 1977.300048828125,
   429          "y": 124.5
   430        },
   431        {
   432          "x": 2128.5,
   433          "y": 124.5
   434        }
   435      ],
   436      "isCurve": true,
   437      "animated": false,
   438      "tooltip": "",
   439      "icon": null,
   440      "zIndex": 0
   441    }
   442  ],
   443  "root": {
   444    "id": "",
   445    "type": "",
   446    "pos": {
   447      "x": 0,
   448      "y": 0
   449    },
   450    "width": 0,
   451    "height": 0,
   452    "opacity": 0,
   453    "strokeDash": 0,
   454    "strokeWidth": 0,
   455    "borderRadius": 0,
   456    "fill": "N7",
   457    "stroke": "",
   458    "shadow": false,
   459    "3d": false,
   460    "multiple": false,
   461    "double-border": false,
   462    "tooltip": "",
   463    "link": "",
   464    "icon": null,
   465    "iconPosition": "",
   466    "blend": false,
   467    "fields": null,
   468    "methods": null,
   469    "columns": null,
   470    "label": "",
   471    "fontSize": 0,
   472    "fontFamily": "",
   473    "language": "",
   474    "color": "",
   475    "italic": false,
   476    "bold": false,
   477    "underline": false,
   478    "labelWidth": 0,
   479    "labelHeight": 0,
   480    "zIndex": 0,
   481    "level": 0
   482  }
   483}

View as plain text