...

Text file src/oss.terrastruct.com/d2/e2etests/testdata/regression/glob_dimensions/elk/board.exp.json

Documentation: oss.terrastruct.com/d2/e2etests/testdata/regression/glob_dimensions/elk

     1{
     2  "name": "",
     3  "isFolderOnly": false,
     4  "fontFamily": "SourceSansPro",
     5  "shapes": [
     6    {
     7      "id": "start",
     8      "type": "oval",
     9      "pos": {
    10        "x": 153,
    11        "y": 12
    12      },
    13      "width": 30,
    14      "height": 30,
    15      "opacity": 1,
    16      "strokeDash": 0,
    17      "strokeWidth": 2,
    18      "borderRadius": 16,
    19      "fill": "black",
    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": "⬤",
    34      "fontSize": 16,
    35      "fontFamily": "DEFAULT",
    36      "language": "",
    37      "color": "N1",
    38      "italic": false,
    39      "bold": true,
    40      "underline": false,
    41      "labelWidth": 9,
    42      "labelHeight": 21,
    43      "labelPosition": "INSIDE_MIDDLE_CENTER",
    44      "zIndex": 0,
    45      "level": 1
    46    },
    47    {
    48      "id": "Check PIN",
    49      "type": "rectangle",
    50      "pos": {
    51        "x": 37,
    52        "y": 112
    53      },
    54      "width": 262,
    55      "height": 658,
    56      "opacity": 1,
    57      "strokeDash": 0,
    58      "strokeWidth": 2,
    59      "borderRadius": 16,
    60      "fill": "B4",
    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": "Check PIN",
    75      "fontSize": 28,
    76      "fontFamily": "DEFAULT",
    77      "language": "",
    78      "color": "N1",
    79      "italic": false,
    80      "bold": false,
    81      "underline": false,
    82      "labelWidth": 116,
    83      "labelHeight": 36,
    84      "labelPosition": "INSIDE_TOP_CENTER",
    85      "zIndex": 0,
    86      "level": 1
    87    },
    88    {
    89      "id": "Check PIN.start",
    90      "type": "oval",
    91      "pos": {
    92        "x": 151,
    93        "y": 162
    94      },
    95      "width": 30,
    96      "height": 30,
    97      "opacity": 1,
    98      "strokeDash": 0,
    99      "strokeWidth": 2,
   100      "borderRadius": 16,
   101      "fill": "black",
   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": "⬤",
   116      "fontSize": 16,
   117      "fontFamily": "DEFAULT",
   118      "language": "",
   119      "color": "N1",
   120      "italic": false,
   121      "bold": true,
   122      "underline": false,
   123      "labelWidth": 9,
   124      "labelHeight": 21,
   125      "labelPosition": "INSIDE_MIDDLE_CENTER",
   126      "zIndex": 0,
   127      "level": 2
   128    },
   129    {
   130      "id": "Check PIN.Enter PIN",
   131      "type": "rectangle",
   132      "pos": {
   133        "x": 111,
   134        "y": 262
   135      },
   136      "width": 111,
   137      "height": 66,
   138      "opacity": 1,
   139      "strokeDash": 0,
   140      "strokeWidth": 2,
   141      "borderRadius": 16,
   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": "Enter PIN",
   157      "fontSize": 16,
   158      "fontFamily": "DEFAULT",
   159      "language": "",
   160      "color": "N1",
   161      "italic": false,
   162      "bold": true,
   163      "underline": false,
   164      "labelWidth": 66,
   165      "labelHeight": 21,
   166      "labelPosition": "INSIDE_MIDDLE_CENTER",
   167      "zIndex": 0,
   168      "level": 2
   169    },
   170    {
   171      "id": "Check PIN.choice",
   172      "type": "diamond",
   173      "pos": {
   174        "x": 156,
   175        "y": 509
   176      },
   177      "width": 20,
   178      "height": 20,
   179      "opacity": 1,
   180      "strokeDash": 0,
   181      "strokeWidth": 2,
   182      "borderRadius": 16,
   183      "fill": "N4",
   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": "",
   198      "fontSize": 16,
   199      "fontFamily": "DEFAULT",
   200      "language": "",
   201      "color": "N1",
   202      "italic": false,
   203      "bold": true,
   204      "underline": false,
   205      "labelWidth": 0,
   206      "labelHeight": 0,
   207      "zIndex": 0,
   208      "level": 2
   209    },
   210    {
   211      "id": "Check PIN.end",
   212      "type": "oval",
   213      "pos": {
   214        "x": 151,
   215        "y": 690
   216      },
   217      "width": 30,
   218      "height": 30,
   219      "opacity": 1,
   220      "strokeDash": 0,
   221      "strokeWidth": 2,
   222      "borderRadius": 16,
   223      "fill": "B5",
   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": "⬤",
   238      "fontSize": 16,
   239      "fontFamily": "DEFAULT",
   240      "language": "",
   241      "color": "N1",
   242      "italic": false,
   243      "bold": true,
   244      "underline": false,
   245      "labelWidth": 9,
   246      "labelHeight": 21,
   247      "labelPosition": "INSIDE_MIDDLE_CENTER",
   248      "zIndex": 0,
   249      "level": 2
   250    },
   251    {
   252      "id": "Search Network",
   253      "type": "rectangle",
   254      "pos": {
   255        "x": 29,
   256        "y": 941
   257      },
   258      "width": 159,
   259      "height": 66,
   260      "opacity": 1,
   261      "strokeDash": 0,
   262      "strokeWidth": 2,
   263      "borderRadius": 16,
   264      "fill": "B6",
   265      "stroke": "B1",
   266      "shadow": false,
   267      "3d": false,
   268      "multiple": false,
   269      "double-border": false,
   270      "tooltip": "",
   271      "link": "",
   272      "icon": null,
   273      "iconPosition": "",
   274      "blend": false,
   275      "fields": null,
   276      "methods": null,
   277      "columns": null,
   278      "label": "Search Network",
   279      "fontSize": 16,
   280      "fontFamily": "DEFAULT",
   281      "language": "",
   282      "color": "N1",
   283      "italic": false,
   284      "bold": true,
   285      "underline": false,
   286      "labelWidth": 114,
   287      "labelHeight": 21,
   288      "labelPosition": "INSIDE_MIDDLE_CENTER",
   289      "zIndex": 0,
   290      "level": 1
   291    },
   292    {
   293      "id": "Ready",
   294      "type": "rectangle",
   295      "pos": {
   296        "x": 15,
   297        "y": 1178
   298      },
   299      "width": 89,
   300      "height": 66,
   301      "opacity": 1,
   302      "strokeDash": 0,
   303      "strokeWidth": 2,
   304      "borderRadius": 16,
   305      "fill": "B6",
   306      "stroke": "B1",
   307      "shadow": false,
   308      "3d": false,
   309      "multiple": false,
   310      "double-border": false,
   311      "tooltip": "",
   312      "link": "",
   313      "icon": null,
   314      "iconPosition": "",
   315      "blend": false,
   316      "fields": null,
   317      "methods": null,
   318      "columns": null,
   319      "label": "Ready",
   320      "fontSize": 16,
   321      "fontFamily": "DEFAULT",
   322      "language": "",
   323      "color": "N1",
   324      "italic": false,
   325      "bold": true,
   326      "underline": false,
   327      "labelWidth": 44,
   328      "labelHeight": 21,
   329      "labelPosition": "INSIDE_MIDDLE_CENTER",
   330      "zIndex": 0,
   331      "level": 1
   332    },
   333    {
   334      "id": "Off",
   335      "type": "rectangle",
   336      "pos": {
   337        "x": 95,
   338        "y": 1415
   339      },
   340      "width": 120,
   341      "height": 66,
   342      "opacity": 1,
   343      "strokeDash": 0,
   344      "strokeWidth": 2,
   345      "borderRadius": 16,
   346      "fill": "B6",
   347      "stroke": "B1",
   348      "shadow": false,
   349      "3d": false,
   350      "multiple": false,
   351      "double-border": false,
   352      "tooltip": "",
   353      "link": "",
   354      "icon": null,
   355      "iconPosition": "",
   356      "blend": false,
   357      "fields": null,
   358      "methods": null,
   359      "columns": null,
   360      "label": "Off",
   361      "fontSize": 16,
   362      "fontFamily": "DEFAULT",
   363      "language": "",
   364      "color": "N1",
   365      "italic": false,
   366      "bold": true,
   367      "underline": false,
   368      "labelWidth": 23,
   369      "labelHeight": 21,
   370      "labelPosition": "INSIDE_MIDDLE_CENTER",
   371      "zIndex": 0,
   372      "level": 1
   373    }
   374  ],
   375  "connections": [
   376    {
   377      "id": "(start -> Check PIN)[0]",
   378      "src": "start",
   379      "srcArrow": "none",
   380      "dst": "Check PIN",
   381      "dstArrow": "triangle",
   382      "opacity": 1,
   383      "strokeDash": 0,
   384      "strokeWidth": 2,
   385      "stroke": "B1",
   386      "borderRadius": 10,
   387      "label": "",
   388      "fontSize": 16,
   389      "fontFamily": "DEFAULT",
   390      "language": "",
   391      "color": "N2",
   392      "italic": true,
   393      "bold": false,
   394      "underline": false,
   395      "labelWidth": 0,
   396      "labelHeight": 0,
   397      "labelPosition": "",
   398      "labelPercentage": 0,
   399      "route": [
   400        {
   401          "x": 169,
   402          "y": 42
   403        },
   404        {
   405          "x": 168,
   406          "y": 112
   407        }
   408      ],
   409      "animated": false,
   410      "tooltip": "",
   411      "icon": null,
   412      "zIndex": 0
   413    },
   414    {
   415      "id": "Check PIN.(start -> Enter PIN)[0]",
   416      "src": "Check PIN.start",
   417      "srcArrow": "none",
   418      "dst": "Check PIN.Enter PIN",
   419      "dstArrow": "triangle",
   420      "opacity": 1,
   421      "strokeDash": 0,
   422      "strokeWidth": 2,
   423      "stroke": "B1",
   424      "borderRadius": 10,
   425      "label": "",
   426      "fontSize": 16,
   427      "fontFamily": "DEFAULT",
   428      "language": "",
   429      "color": "N2",
   430      "italic": true,
   431      "bold": false,
   432      "underline": false,
   433      "labelWidth": 0,
   434      "labelHeight": 0,
   435      "labelPosition": "",
   436      "labelPercentage": 0,
   437      "route": [
   438        {
   439          "x": 167,
   440          "y": 192
   441        },
   442        {
   443          "x": 166,
   444          "y": 262
   445        }
   446      ],
   447      "animated": false,
   448      "tooltip": "",
   449      "icon": null,
   450      "zIndex": 0
   451    },
   452    {
   453      "id": "Check PIN.(Enter PIN -> choice)[0]",
   454      "src": "Check PIN.Enter PIN",
   455      "srcArrow": "none",
   456      "dst": "Check PIN.choice",
   457      "dstArrow": "triangle",
   458      "opacity": 1,
   459      "strokeDash": 0,
   460      "strokeWidth": 2,
   461      "stroke": "B1",
   462      "borderRadius": 10,
   463      "label": "/check PIN",
   464      "fontSize": 16,
   465      "fontFamily": "DEFAULT",
   466      "language": "",
   467      "color": "N2",
   468      "italic": true,
   469      "bold": false,
   470      "underline": false,
   471      "labelWidth": 72,
   472      "labelHeight": 21,
   473      "labelPosition": "INSIDE_MIDDLE_CENTER",
   474      "labelPercentage": 0,
   475      "route": [
   476        {
   477          "x": 123.5,
   478          "y": 328
   479        },
   480        {
   481          "x": 123.5,
   482          "y": 469
   483        },
   484        {
   485          "x": 163.16600036621094,
   486          "y": 469
   487        },
   488        {
   489          "x": 163,
   490          "y": 512
   491        }
   492      ],
   493      "animated": false,
   494      "tooltip": "",
   495      "icon": null,
   496      "zIndex": 0
   497    },
   498    {
   499      "id": "Check PIN.(choice -> Enter PIN)[0]",
   500      "src": "Check PIN.choice",
   501      "srcArrow": "none",
   502      "dst": "Check PIN.Enter PIN",
   503      "dstArrow": "triangle",
   504      "opacity": 1,
   505      "strokeDash": 0,
   506      "strokeWidth": 2,
   507      "stroke": "B1",
   508      "borderRadius": 10,
   509      "label": "[pin invalid]",
   510      "fontSize": 16,
   511      "fontFamily": "DEFAULT",
   512      "language": "",
   513      "color": "N2",
   514      "italic": true,
   515      "bold": false,
   516      "underline": false,
   517      "labelWidth": 78,
   518      "labelHeight": 21,
   519      "labelPosition": "INSIDE_MIDDLE_CENTER",
   520      "labelPercentage": 0,
   521      "route": [
   522        {
   523          "x": 170,
   524          "y": 513
   525        },
   526        {
   527          "x": 169.83299255371094,
   528          "y": 469
   529        },
   530        {
   531          "x": 209.5,
   532          "y": 469
   533        },
   534        {
   535          "x": 209.5,
   536          "y": 328
   537        }
   538      ],
   539      "animated": false,
   540      "tooltip": "",
   541      "icon": null,
   542      "zIndex": 0
   543    },
   544    {
   545      "id": "Check PIN.(choice -> end)[0]",
   546      "src": "Check PIN.choice",
   547      "srcArrow": "none",
   548      "dst": "Check PIN.end",
   549      "dstArrow": "triangle",
   550      "opacity": 1,
   551      "strokeDash": 0,
   552      "strokeWidth": 2,
   553      "stroke": "B1",
   554      "borderRadius": 10,
   555      "label": "[pin OK]",
   556      "fontSize": 16,
   557      "fontFamily": "DEFAULT",
   558      "language": "",
   559      "color": "N2",
   560      "italic": true,
   561      "bold": false,
   562      "underline": false,
   563      "labelWidth": 53,
   564      "labelHeight": 21,
   565      "labelPosition": "INSIDE_MIDDLE_CENTER",
   566      "labelPercentage": 0,
   567      "route": [
   568        {
   569          "x": 166,
   570          "y": 528
   571        },
   572        {
   573          "x": 167,
   574          "y": 690
   575        }
   576      ],
   577      "animated": false,
   578      "tooltip": "",
   579      "icon": null,
   580      "zIndex": 0
   581    },
   582    {
   583      "id": "(Check PIN -> Search Network)[0]",
   584      "src": "Check PIN",
   585      "srcArrow": "none",
   586      "dst": "Search Network",
   587      "dstArrow": "triangle",
   588      "opacity": 1,
   589      "strokeDash": 0,
   590      "strokeWidth": 2,
   591      "stroke": "B1",
   592      "borderRadius": 10,
   593      "label": "[pin OK]",
   594      "fontSize": 16,
   595      "fontFamily": "DEFAULT",
   596      "language": "",
   597      "color": "N2",
   598      "italic": true,
   599      "bold": false,
   600      "underline": false,
   601      "labelWidth": 53,
   602      "labelHeight": 21,
   603      "labelPosition": "INSIDE_MIDDLE_CENTER",
   604      "labelPercentage": 0,
   605      "route": [
   606        {
   607          "x": 108.75,
   608          "y": 770
   609        },
   610        {
   611          "x": 108.75,
   612          "y": 941
   613        }
   614      ],
   615      "animated": false,
   616      "tooltip": "",
   617      "icon": null,
   618      "zIndex": 0
   619    },
   620    {
   621      "id": "(Search Network -> Ready)[0]",
   622      "src": "Search Network",
   623      "srcArrow": "none",
   624      "dst": "Ready",
   625      "dstArrow": "triangle",
   626      "opacity": 1,
   627      "strokeDash": 0,
   628      "strokeWidth": 2,
   629      "stroke": "B1",
   630      "borderRadius": 10,
   631      "label": "network found",
   632      "fontSize": 16,
   633      "fontFamily": "DEFAULT",
   634      "language": "",
   635      "color": "N2",
   636      "italic": true,
   637      "bold": false,
   638      "underline": false,
   639      "labelWidth": 96,
   640      "labelHeight": 21,
   641      "labelPosition": "INSIDE_MIDDLE_CENTER",
   642      "labelPercentage": 0,
   643      "route": [
   644        {
   645          "x": 60,
   646          "y": 1007
   647        },
   648        {
   649          "x": 60,
   650          "y": 1178
   651        }
   652      ],
   653      "animated": false,
   654      "tooltip": "",
   655      "icon": null,
   656      "zIndex": 0
   657    },
   658    {
   659      "id": "(Check PIN -> Off)[0]",
   660      "src": "Check PIN",
   661      "srcArrow": "none",
   662      "dst": "Off",
   663      "dstArrow": "triangle",
   664      "opacity": 1,
   665      "strokeDash": 0,
   666      "strokeWidth": 2,
   667      "stroke": "B1",
   668      "borderRadius": 10,
   669      "label": "power off",
   670      "fontSize": 16,
   671      "fontFamily": "DEFAULT",
   672      "language": "",
   673      "color": "N2",
   674      "italic": true,
   675      "bold": false,
   676      "underline": false,
   677      "labelWidth": 66,
   678      "labelHeight": 21,
   679      "labelPosition": "INSIDE_MIDDLE_CENTER",
   680      "labelPercentage": 0,
   681      "route": [
   682        {
   683          "x": 240.99899291992188,
   684          "y": 770
   685        },
   686        {
   687          "x": 240.99899291992188,
   688          "y": 1375
   689        },
   690        {
   691          "x": 185.25,
   692          "y": 1375
   693        },
   694        {
   695          "x": 185.25,
   696          "y": 1415
   697        }
   698      ],
   699      "animated": false,
   700      "tooltip": "",
   701      "icon": null,
   702      "zIndex": 0
   703    },
   704    {
   705      "id": "(Search Network -> Off)[0]",
   706      "src": "Search Network",
   707      "srcArrow": "none",
   708      "dst": "Off",
   709      "dstArrow": "triangle",
   710      "opacity": 1,
   711      "strokeDash": 0,
   712      "strokeWidth": 2,
   713      "stroke": "B1",
   714      "borderRadius": 10,
   715      "label": "power off",
   716      "fontSize": 16,
   717      "fontFamily": "DEFAULT",
   718      "language": "",
   719      "color": "N2",
   720      "italic": true,
   721      "bold": false,
   722      "underline": false,
   723      "labelWidth": 66,
   724      "labelHeight": 21,
   725      "labelPosition": "INSIDE_MIDDLE_CENTER",
   726      "labelPercentage": 0,
   727      "route": [
   728        {
   729          "x": 157.5,
   730          "y": 1007
   731        },
   732        {
   733          "x": 157.5,
   734          "y": 1415
   735        }
   736      ],
   737      "animated": false,
   738      "tooltip": "",
   739      "icon": null,
   740      "zIndex": 0
   741    },
   742    {
   743      "id": "(Ready -> Off)[0]",
   744      "src": "Ready",
   745      "srcArrow": "none",
   746      "dst": "Off",
   747      "dstArrow": "triangle",
   748      "opacity": 1,
   749      "strokeDash": 0,
   750      "strokeWidth": 2,
   751      "stroke": "B1",
   752      "borderRadius": 10,
   753      "label": "power off",
   754      "fontSize": 16,
   755      "fontFamily": "DEFAULT",
   756      "language": "",
   757      "color": "N2",
   758      "italic": true,
   759      "bold": false,
   760      "underline": false,
   761      "labelWidth": 66,
   762      "labelHeight": 21,
   763      "labelPosition": "INSIDE_MIDDLE_CENTER",
   764      "labelPercentage": 0,
   765      "route": [
   766        {
   767          "x": 60,
   768          "y": 1244
   769        },
   770        {
   771          "x": 60,
   772          "y": 1375
   773        },
   774        {
   775          "x": 125.25,
   776          "y": 1375
   777        },
   778        {
   779          "x": 125.25,
   780          "y": 1415
   781        }
   782      ],
   783      "animated": false,
   784      "tooltip": "",
   785      "icon": null,
   786      "zIndex": 0
   787    }
   788  ],
   789  "root": {
   790    "id": "",
   791    "type": "",
   792    "pos": {
   793      "x": 0,
   794      "y": 0
   795    },
   796    "width": 0,
   797    "height": 0,
   798    "opacity": 0,
   799    "strokeDash": 0,
   800    "strokeWidth": 0,
   801    "borderRadius": 0,
   802    "fill": "N7",
   803    "stroke": "",
   804    "shadow": false,
   805    "3d": false,
   806    "multiple": false,
   807    "double-border": false,
   808    "tooltip": "",
   809    "link": "",
   810    "icon": null,
   811    "iconPosition": "",
   812    "blend": false,
   813    "fields": null,
   814    "methods": null,
   815    "columns": null,
   816    "label": "",
   817    "fontSize": 0,
   818    "fontFamily": "",
   819    "language": "",
   820    "color": "",
   821    "italic": false,
   822    "bold": false,
   823    "underline": false,
   824    "labelWidth": 0,
   825    "labelHeight": 0,
   826    "zIndex": 0,
   827    "level": 0
   828  }
   829}

View as plain text