...

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

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

     1{
     2  "name": "",
     3  "isFolderOnly": false,
     4  "fontFamily": "SourceSansPro",
     5  "shapes": [
     6    {
     7      "id": "title",
     8      "type": "text",
     9      "pos": {
    10        "x": 37,
    11        "y": -71
    12      },
    13      "width": 257,
    14      "height": 51,
    15      "opacity": 1,
    16      "strokeDash": 0,
    17      "strokeWidth": 2,
    18      "borderRadius": 0,
    19      "fill": "transparent",
    20      "stroke": "N1",
    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 winning strategy",
    34      "fontSize": 16,
    35      "fontFamily": "DEFAULT",
    36      "language": "markdown",
    37      "color": "N1",
    38      "italic": false,
    39      "bold": false,
    40      "underline": false,
    41      "labelWidth": 257,
    42      "labelHeight": 51,
    43      "zIndex": 0,
    44      "level": 1
    45    },
    46    {
    47      "id": "poll the people",
    48      "type": "rectangle",
    49      "pos": {
    50        "x": 82,
    51        "y": 0
    52      },
    53      "width": 150,
    54      "height": 66,
    55      "opacity": 1,
    56      "strokeDash": 0,
    57      "strokeWidth": 2,
    58      "borderRadius": 0,
    59      "fill": "B6",
    60      "stroke": "B1",
    61      "shadow": false,
    62      "3d": false,
    63      "multiple": false,
    64      "double-border": false,
    65      "tooltip": "",
    66      "link": "",
    67      "icon": null,
    68      "iconPosition": "",
    69      "blend": false,
    70      "fields": null,
    71      "methods": null,
    72      "columns": null,
    73      "label": "poll the people",
    74      "fontSize": 16,
    75      "fontFamily": "DEFAULT",
    76      "language": "",
    77      "color": "N1",
    78      "italic": false,
    79      "bold": true,
    80      "underline": false,
    81      "labelWidth": 105,
    82      "labelHeight": 21,
    83      "labelPosition": "INSIDE_MIDDLE_CENTER",
    84      "zIndex": 0,
    85      "level": 1
    86    },
    87    {
    88      "id": "results",
    89      "type": "rectangle",
    90      "pos": {
    91        "x": 191,
    92        "y": 166
    93      },
    94      "width": 93,
    95      "height": 66,
    96      "opacity": 1,
    97      "strokeDash": 0,
    98      "strokeWidth": 2,
    99      "borderRadius": 0,
   100      "fill": "B6",
   101      "stroke": "B1",
   102      "shadow": false,
   103      "3d": false,
   104      "multiple": false,
   105      "double-border": false,
   106      "tooltip": "",
   107      "link": "",
   108      "icon": null,
   109      "iconPosition": "",
   110      "blend": false,
   111      "fields": null,
   112      "methods": null,
   113      "columns": null,
   114      "label": "results",
   115      "fontSize": 16,
   116      "fontFamily": "DEFAULT",
   117      "language": "",
   118      "color": "N1",
   119      "italic": false,
   120      "bold": true,
   121      "underline": false,
   122      "labelWidth": 48,
   123      "labelHeight": 21,
   124      "labelPosition": "INSIDE_MIDDLE_CENTER",
   125      "zIndex": 0,
   126      "level": 1
   127    },
   128    {
   129      "id": "unfavorable",
   130      "type": "rectangle",
   131      "pos": {
   132        "x": 0,
   133        "y": 332
   134      },
   135      "width": 131,
   136      "height": 66,
   137      "opacity": 1,
   138      "strokeDash": 0,
   139      "strokeWidth": 2,
   140      "borderRadius": 0,
   141      "fill": "B6",
   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": "unfavorable",
   156      "fontSize": 16,
   157      "fontFamily": "DEFAULT",
   158      "language": "",
   159      "color": "N1",
   160      "italic": false,
   161      "bold": true,
   162      "underline": false,
   163      "labelWidth": 86,
   164      "labelHeight": 21,
   165      "labelPosition": "INSIDE_MIDDLE_CENTER",
   166      "zIndex": 0,
   167      "level": 1
   168    },
   169    {
   170      "id": "favorable",
   171      "type": "rectangle",
   172      "pos": {
   173        "x": 191,
   174        "y": 332
   175      },
   176      "width": 113,
   177      "height": 66,
   178      "opacity": 1,
   179      "strokeDash": 0,
   180      "strokeWidth": 2,
   181      "borderRadius": 0,
   182      "fill": "B6",
   183      "stroke": "B1",
   184      "shadow": false,
   185      "3d": false,
   186      "multiple": false,
   187      "double-border": false,
   188      "tooltip": "",
   189      "link": "",
   190      "icon": null,
   191      "iconPosition": "",
   192      "blend": false,
   193      "fields": null,
   194      "methods": null,
   195      "columns": null,
   196      "label": "favorable",
   197      "fontSize": 16,
   198      "fontFamily": "DEFAULT",
   199      "language": "",
   200      "color": "N1",
   201      "italic": false,
   202      "bold": true,
   203      "underline": false,
   204      "labelWidth": 68,
   205      "labelHeight": 21,
   206      "labelPosition": "INSIDE_MIDDLE_CENTER",
   207      "zIndex": 0,
   208      "level": 1
   209    },
   210    {
   211      "id": "will of the people",
   212      "type": "rectangle",
   213      "pos": {
   214        "x": 164,
   215        "y": 498
   216      },
   217      "width": 167,
   218      "height": 66,
   219      "opacity": 1,
   220      "strokeDash": 0,
   221      "strokeWidth": 2,
   222      "borderRadius": 0,
   223      "fill": "B6",
   224      "stroke": "B1",
   225      "shadow": false,
   226      "3d": false,
   227      "multiple": false,
   228      "double-border": false,
   229      "tooltip": "",
   230      "link": "",
   231      "icon": null,
   232      "iconPosition": "",
   233      "blend": false,
   234      "fields": null,
   235      "methods": null,
   236      "columns": null,
   237      "label": "will of the people",
   238      "fontSize": 16,
   239      "fontFamily": "DEFAULT",
   240      "language": "",
   241      "color": "N1",
   242      "italic": false,
   243      "bold": true,
   244      "underline": false,
   245      "labelWidth": 122,
   246      "labelHeight": 21,
   247      "labelPosition": "INSIDE_MIDDLE_CENTER",
   248      "zIndex": 0,
   249      "level": 1
   250    }
   251  ],
   252  "connections": [
   253    {
   254      "id": "(poll the people -> results)[0]",
   255      "src": "poll the people",
   256      "srcArrow": "none",
   257      "dst": "results",
   258      "dstArrow": "triangle",
   259      "opacity": 1,
   260      "strokeDash": 0,
   261      "strokeWidth": 2,
   262      "stroke": "B1",
   263      "borderRadius": 10,
   264      "label": "",
   265      "fontSize": 16,
   266      "fontFamily": "DEFAULT",
   267      "language": "",
   268      "color": "N2",
   269      "italic": true,
   270      "bold": false,
   271      "underline": false,
   272      "labelWidth": 0,
   273      "labelHeight": 0,
   274      "labelPosition": "",
   275      "labelPercentage": 0,
   276      "route": [
   277        {
   278          "x": 188.5,
   279          "y": 66
   280        },
   281        {
   282          "x": 227.6999969482422,
   283          "y": 106
   284        },
   285        {
   286          "x": 237.5,
   287          "y": 126
   288        },
   289        {
   290          "x": 237.5,
   291          "y": 166
   292        }
   293      ],
   294      "isCurve": true,
   295      "animated": false,
   296      "tooltip": "",
   297      "icon": null,
   298      "zIndex": 0
   299    },
   300    {
   301      "id": "(results -> unfavorable)[0]",
   302      "src": "results",
   303      "srcArrow": "none",
   304      "dst": "unfavorable",
   305      "dstArrow": "triangle",
   306      "opacity": 1,
   307      "strokeDash": 0,
   308      "strokeWidth": 2,
   309      "stroke": "B1",
   310      "borderRadius": 10,
   311      "label": "",
   312      "fontSize": 16,
   313      "fontFamily": "DEFAULT",
   314      "language": "",
   315      "color": "N2",
   316      "italic": true,
   317      "bold": false,
   318      "underline": false,
   319      "labelWidth": 0,
   320      "labelHeight": 0,
   321      "labelPosition": "",
   322      "labelPercentage": 0,
   323      "route": [
   324        {
   325          "x": 201.5,
   326          "y": 232
   327        },
   328        {
   329          "x": 157.5,
   330          "y": 272
   331        },
   332        {
   333          "x": 136.6999969482422,
   334          "y": 292
   335        },
   336        {
   337          "x": 97.5,
   338          "y": 332
   339        }
   340      ],
   341      "isCurve": true,
   342      "animated": false,
   343      "tooltip": "",
   344      "icon": null,
   345      "zIndex": 0
   346    },
   347    {
   348      "id": "(unfavorable -> poll the people)[0]",
   349      "src": "unfavorable",
   350      "srcArrow": "none",
   351      "dst": "poll the people",
   352      "dstArrow": "triangle",
   353      "opacity": 1,
   354      "strokeDash": 0,
   355      "strokeWidth": 2,
   356      "stroke": "B1",
   357      "borderRadius": 10,
   358      "label": "",
   359      "fontSize": 16,
   360      "fontFamily": "DEFAULT",
   361      "language": "",
   362      "color": "N2",
   363      "italic": true,
   364      "bold": false,
   365      "underline": false,
   366      "labelWidth": 0,
   367      "labelHeight": 0,
   368      "labelPosition": "",
   369      "labelPercentage": 0,
   370      "route": [
   371        {
   372          "x": 61.5,
   373          "y": 332
   374        },
   375        {
   376          "x": 56.70000076293945,
   377          "y": 292
   378        },
   379        {
   380          "x": 55.5,
   381          "y": 265.3999938964844
   382        },
   383        {
   384          "x": 55.5,
   385          "y": 240.5
   386        },
   387        {
   388          "x": 55.5,
   389          "y": 215.60000610351562
   390        },
   391        {
   392          "x": 67.69999694824219,
   393          "y": 106
   394        },
   395        {
   396          "x": 116.5,
   397          "y": 66
   398        }
   399      ],
   400      "isCurve": true,
   401      "animated": false,
   402      "tooltip": "",
   403      "icon": null,
   404      "zIndex": 0
   405    },
   406    {
   407      "id": "(results -> favorable)[0]",
   408      "src": "results",
   409      "srcArrow": "none",
   410      "dst": "favorable",
   411      "dstArrow": "triangle",
   412      "opacity": 1,
   413      "strokeDash": 0,
   414      "strokeWidth": 2,
   415      "stroke": "B1",
   416      "borderRadius": 10,
   417      "label": "",
   418      "fontSize": 16,
   419      "fontFamily": "DEFAULT",
   420      "language": "",
   421      "color": "N2",
   422      "italic": true,
   423      "bold": false,
   424      "underline": false,
   425      "labelWidth": 0,
   426      "labelHeight": 0,
   427      "labelPosition": "",
   428      "labelPercentage": 0,
   429      "route": [
   430        {
   431          "x": 241.5,
   432          "y": 232
   433        },
   434        {
   435          "x": 246.3000030517578,
   436          "y": 272
   437        },
   438        {
   439          "x": 247.5,
   440          "y": 292
   441        },
   442        {
   443          "x": 247.5,
   444          "y": 332
   445        }
   446      ],
   447      "isCurve": true,
   448      "animated": false,
   449      "tooltip": "",
   450      "icon": null,
   451      "zIndex": 0
   452    },
   453    {
   454      "id": "(favorable -> will of the people)[0]",
   455      "src": "favorable",
   456      "srcArrow": "none",
   457      "dst": "will of the people",
   458      "dstArrow": "triangle",
   459      "opacity": 1,
   460      "strokeDash": 0,
   461      "strokeWidth": 2,
   462      "stroke": "B1",
   463      "borderRadius": 10,
   464      "label": "",
   465      "fontSize": 16,
   466      "fontFamily": "DEFAULT",
   467      "language": "",
   468      "color": "N2",
   469      "italic": true,
   470      "bold": false,
   471      "underline": false,
   472      "labelWidth": 0,
   473      "labelHeight": 0,
   474      "labelPosition": "",
   475      "labelPercentage": 0,
   476      "route": [
   477        {
   478          "x": 247.5,
   479          "y": 398
   480        },
   481        {
   482          "x": 247.5,
   483          "y": 438
   484        },
   485        {
   486          "x": 247.5,
   487          "y": 458
   488        },
   489        {
   490          "x": 247.5,
   491          "y": 498
   492        }
   493      ],
   494      "isCurve": true,
   495      "animated": false,
   496      "tooltip": "",
   497      "icon": null,
   498      "zIndex": 0
   499    }
   500  ],
   501  "root": {
   502    "id": "",
   503    "type": "",
   504    "pos": {
   505      "x": 0,
   506      "y": 0
   507    },
   508    "width": 0,
   509    "height": 0,
   510    "opacity": 0,
   511    "strokeDash": 0,
   512    "strokeWidth": 0,
   513    "borderRadius": 0,
   514    "fill": "N7",
   515    "stroke": "",
   516    "shadow": false,
   517    "3d": false,
   518    "multiple": false,
   519    "double-border": false,
   520    "tooltip": "",
   521    "link": "",
   522    "icon": null,
   523    "iconPosition": "",
   524    "blend": false,
   525    "fields": null,
   526    "methods": null,
   527    "columns": null,
   528    "label": "",
   529    "fontSize": 0,
   530    "fontFamily": "",
   531    "language": "",
   532    "color": "",
   533    "italic": false,
   534    "bold": false,
   535    "underline": false,
   536    "labelWidth": 0,
   537    "labelHeight": 0,
   538    "zIndex": 0,
   539    "level": 0
   540  }
   541}

View as plain text