...

Text file src/oss.terrastruct.com/d2/e2etests/testdata/patterns/real-lines/dagre/board.exp.json

Documentation: oss.terrastruct.com/d2/e2etests/testdata/patterns/real-lines/dagre

     1{
     2  "name": "",
     3  "isFolderOnly": false,
     4  "fontFamily": "SourceSansPro",
     5  "shapes": [
     6    {
     7      "id": "NETWORK",
     8      "type": "rectangle",
     9      "pos": {
    10        "x": 23,
    11        "y": 76
    12      },
    13      "width": 314,
    14      "height": 508,
    15      "opacity": 1,
    16      "strokeDash": 0,
    17      "strokeWidth": 2,
    18      "borderRadius": 0,
    19      "fill": "#E7E9EE",
    20      "fillPattern": "lines",
    21      "stroke": "black",
    22      "shadow": false,
    23      "3d": false,
    24      "multiple": false,
    25      "double-border": true,
    26      "tooltip": "",
    27      "link": "",
    28      "icon": null,
    29      "iconPosition": "",
    30      "blend": false,
    31      "fields": null,
    32      "methods": null,
    33      "columns": null,
    34      "label": "NETWORK",
    35      "fontSize": 28,
    36      "fontFamily": "mono",
    37      "language": "",
    38      "color": "N1",
    39      "italic": false,
    40      "bold": false,
    41      "underline": false,
    42      "labelWidth": 116,
    43      "labelHeight": 36,
    44      "labelPosition": "OUTSIDE_TOP_CENTER",
    45      "zIndex": 0,
    46      "level": 1
    47    },
    48    {
    49      "id": "NETWORK.CELL TOWER",
    50      "type": "rectangle",
    51      "pos": {
    52        "x": 53,
    53        "y": 117
    54      },
    55      "width": 254,
    56      "height": 437,
    57      "opacity": 1,
    58      "strokeDash": 0,
    59      "strokeWidth": 2,
    60      "borderRadius": 0,
    61      "fill": "#F5F6F9",
    62      "fillPattern": "lines",
    63      "stroke": "black",
    64      "shadow": false,
    65      "3d": false,
    66      "multiple": false,
    67      "double-border": false,
    68      "tooltip": "",
    69      "link": "",
    70      "icon": null,
    71      "iconPosition": "",
    72      "blend": false,
    73      "fields": null,
    74      "methods": null,
    75      "columns": null,
    76      "label": "CELL TOWER",
    77      "fontSize": 24,
    78      "fontFamily": "mono",
    79      "language": "",
    80      "color": "N1",
    81      "italic": false,
    82      "bold": false,
    83      "underline": false,
    84      "labelWidth": 143,
    85      "labelHeight": 31,
    86      "labelPosition": "OUTSIDE_TOP_CENTER",
    87      "zIndex": 0,
    88      "level": 2
    89    },
    90    {
    91      "id": "NETWORK.CELL TOWER.satellites",
    92      "type": "stored_data",
    93      "pos": {
    94        "x": 100,
    95        "y": 157
    96      },
    97      "width": 161,
    98      "height": 66,
    99      "opacity": 1,
   100      "strokeDash": 0,
   101      "strokeWidth": 2,
   102      "borderRadius": 0,
   103      "fill": "white",
   104      "stroke": "black",
   105      "shadow": false,
   106      "3d": false,
   107      "multiple": true,
   108      "double-border": false,
   109      "tooltip": "",
   110      "link": "",
   111      "icon": null,
   112      "iconPosition": "",
   113      "blend": false,
   114      "fields": null,
   115      "methods": null,
   116      "columns": null,
   117      "label": "SATELLITES",
   118      "fontSize": 16,
   119      "fontFamily": "mono",
   120      "language": "",
   121      "color": "N1",
   122      "italic": false,
   123      "bold": true,
   124      "underline": false,
   125      "labelWidth": 96,
   126      "labelHeight": 21,
   127      "labelPosition": "INSIDE_MIDDLE_CENTER",
   128      "zIndex": 0,
   129      "level": 3
   130    },
   131    {
   132      "id": "NETWORK.CELL TOWER.transmitter",
   133      "type": "rectangle",
   134      "pos": {
   135        "x": 105,
   136        "y": 458
   137      },
   138      "width": 151,
   139      "height": 66,
   140      "opacity": 1,
   141      "strokeDash": 0,
   142      "strokeWidth": 2,
   143      "borderRadius": 0,
   144      "fill": "white",
   145      "stroke": "black",
   146      "shadow": false,
   147      "3d": false,
   148      "multiple": false,
   149      "double-border": false,
   150      "tooltip": "",
   151      "link": "",
   152      "icon": null,
   153      "iconPosition": "",
   154      "blend": false,
   155      "fields": null,
   156      "methods": null,
   157      "columns": null,
   158      "label": "TRANSMITTER",
   159      "fontSize": 16,
   160      "fontFamily": "mono",
   161      "language": "",
   162      "color": "N1",
   163      "italic": false,
   164      "bold": true,
   165      "underline": false,
   166      "labelWidth": 106,
   167      "labelHeight": 21,
   168      "labelPosition": "INSIDE_MIDDLE_CENTER",
   169      "zIndex": 0,
   170      "level": 3
   171    },
   172    {
   173      "id": "costumes",
   174      "type": "sql_table",
   175      "pos": {
   176        "x": 411,
   177        "y": 100
   178      },
   179      "width": 294,
   180      "height": 180,
   181      "opacity": 1,
   182      "strokeDash": 0,
   183      "strokeWidth": 2,
   184      "borderRadius": 0,
   185      "fill": "N1",
   186      "fillPattern": "lines",
   187      "stroke": "N7",
   188      "shadow": false,
   189      "3d": false,
   190      "multiple": false,
   191      "double-border": false,
   192      "tooltip": "",
   193      "link": "",
   194      "icon": null,
   195      "iconPosition": "",
   196      "blend": false,
   197      "fields": null,
   198      "methods": null,
   199      "columns": [
   200        {
   201          "name": {
   202            "label": "id",
   203            "fontSize": 0,
   204            "fontFamily": "",
   205            "language": "",
   206            "color": "",
   207            "italic": false,
   208            "bold": false,
   209            "underline": false,
   210            "labelWidth": 15,
   211            "labelHeight": 26
   212          },
   213          "type": {
   214            "label": "int",
   215            "fontSize": 0,
   216            "fontFamily": "",
   217            "language": "",
   218            "color": "",
   219            "italic": false,
   220            "bold": false,
   221            "underline": false,
   222            "labelWidth": 23,
   223            "labelHeight": 26
   224          },
   225          "constraint": [
   226            "primary_key"
   227          ],
   228          "reference": ""
   229        },
   230        {
   231          "name": {
   232            "label": "silliness",
   233            "fontSize": 0,
   234            "fontFamily": "",
   235            "language": "",
   236            "color": "",
   237            "italic": false,
   238            "bold": false,
   239            "underline": false,
   240            "labelWidth": 66,
   241            "labelHeight": 26
   242          },
   243          "type": {
   244            "label": "int",
   245            "fontSize": 0,
   246            "fontFamily": "",
   247            "language": "",
   248            "color": "",
   249            "italic": false,
   250            "bold": false,
   251            "underline": false,
   252            "labelWidth": 23,
   253            "labelHeight": 26
   254          },
   255          "constraint": null,
   256          "reference": ""
   257        },
   258        {
   259          "name": {
   260            "label": "monster",
   261            "fontSize": 0,
   262            "fontFamily": "",
   263            "language": "",
   264            "color": "",
   265            "italic": false,
   266            "bold": false,
   267            "underline": false,
   268            "labelWidth": 70,
   269            "labelHeight": 26
   270          },
   271          "type": {
   272            "label": "int",
   273            "fontSize": 0,
   274            "fontFamily": "",
   275            "language": "",
   276            "color": "",
   277            "italic": false,
   278            "bold": false,
   279            "underline": false,
   280            "labelWidth": 23,
   281            "labelHeight": 26
   282          },
   283          "constraint": null,
   284          "reference": ""
   285        },
   286        {
   287          "name": {
   288            "label": "last_updated",
   289            "fontSize": 0,
   290            "fontFamily": "",
   291            "language": "",
   292            "color": "",
   293            "italic": false,
   294            "bold": false,
   295            "underline": false,
   296            "labelWidth": 110,
   297            "labelHeight": 26
   298          },
   299          "type": {
   300            "label": "timestamp",
   301            "fontSize": 0,
   302            "fontFamily": "",
   303            "language": "",
   304            "color": "",
   305            "italic": false,
   306            "bold": false,
   307            "underline": false,
   308            "labelWidth": 91,
   309            "labelHeight": 26
   310          },
   311          "constraint": null,
   312          "reference": ""
   313        }
   314      ],
   315      "label": "costumes",
   316      "fontSize": 20,
   317      "fontFamily": "DEFAULT",
   318      "language": "",
   319      "color": "N1",
   320      "italic": false,
   321      "bold": true,
   322      "underline": false,
   323      "labelWidth": 101,
   324      "labelHeight": 31,
   325      "zIndex": 0,
   326      "level": 1,
   327      "primaryAccentColor": "B2",
   328      "secondaryAccentColor": "AA2",
   329      "neutralAccentColor": "N2"
   330    },
   331    {
   332      "id": "monsters",
   333      "type": "sql_table",
   334      "pos": {
   335        "x": 411,
   336        "y": 401
   337      },
   338      "width": 294,
   339      "height": 180,
   340      "opacity": 1,
   341      "strokeDash": 0,
   342      "strokeWidth": 2,
   343      "borderRadius": 0,
   344      "fill": "N1",
   345      "fillPattern": "grain",
   346      "stroke": "N7",
   347      "shadow": false,
   348      "3d": false,
   349      "multiple": false,
   350      "double-border": false,
   351      "tooltip": "",
   352      "link": "",
   353      "icon": null,
   354      "iconPosition": "",
   355      "blend": false,
   356      "fields": null,
   357      "methods": null,
   358      "columns": [
   359        {
   360          "name": {
   361            "label": "id",
   362            "fontSize": 0,
   363            "fontFamily": "",
   364            "language": "",
   365            "color": "",
   366            "italic": false,
   367            "bold": false,
   368            "underline": false,
   369            "labelWidth": 15,
   370            "labelHeight": 26
   371          },
   372          "type": {
   373            "label": "int",
   374            "fontSize": 0,
   375            "fontFamily": "",
   376            "language": "",
   377            "color": "",
   378            "italic": false,
   379            "bold": false,
   380            "underline": false,
   381            "labelWidth": 23,
   382            "labelHeight": 26
   383          },
   384          "constraint": [
   385            "primary_key"
   386          ],
   387          "reference": ""
   388        },
   389        {
   390          "name": {
   391            "label": "movie",
   392            "fontSize": 0,
   393            "fontFamily": "",
   394            "language": "",
   395            "color": "",
   396            "italic": false,
   397            "bold": false,
   398            "underline": false,
   399            "labelWidth": 51,
   400            "labelHeight": 26
   401          },
   402          "type": {
   403            "label": "string",
   404            "fontSize": 0,
   405            "fontFamily": "",
   406            "language": "",
   407            "color": "",
   408            "italic": false,
   409            "bold": false,
   410            "underline": false,
   411            "labelWidth": 48,
   412            "labelHeight": 26
   413          },
   414          "constraint": null,
   415          "reference": ""
   416        },
   417        {
   418          "name": {
   419            "label": "weight",
   420            "fontSize": 0,
   421            "fontFamily": "",
   422            "language": "",
   423            "color": "",
   424            "italic": false,
   425            "bold": false,
   426            "underline": false,
   427            "labelWidth": 58,
   428            "labelHeight": 26
   429          },
   430          "type": {
   431            "label": "int",
   432            "fontSize": 0,
   433            "fontFamily": "",
   434            "language": "",
   435            "color": "",
   436            "italic": false,
   437            "bold": false,
   438            "underline": false,
   439            "labelWidth": 23,
   440            "labelHeight": 26
   441          },
   442          "constraint": null,
   443          "reference": ""
   444        },
   445        {
   446          "name": {
   447            "label": "last_updated",
   448            "fontSize": 0,
   449            "fontFamily": "",
   450            "language": "",
   451            "color": "",
   452            "italic": false,
   453            "bold": false,
   454            "underline": false,
   455            "labelWidth": 110,
   456            "labelHeight": 26
   457          },
   458          "type": {
   459            "label": "timestamp",
   460            "fontSize": 0,
   461            "fontFamily": "",
   462            "language": "",
   463            "color": "",
   464            "italic": false,
   465            "bold": false,
   466            "underline": false,
   467            "labelWidth": 91,
   468            "labelHeight": 26
   469          },
   470          "constraint": null,
   471          "reference": ""
   472        }
   473      ],
   474      "label": "monsters",
   475      "fontSize": 20,
   476      "fontFamily": "DEFAULT",
   477      "language": "",
   478      "color": "N1",
   479      "italic": false,
   480      "bold": true,
   481      "underline": false,
   482      "labelWidth": 99,
   483      "labelHeight": 31,
   484      "zIndex": 0,
   485      "level": 1,
   486      "primaryAccentColor": "B2",
   487      "secondaryAccentColor": "AA2",
   488      "neutralAccentColor": "N2"
   489    }
   490  ],
   491  "connections": [
   492    {
   493      "id": "NETWORK.CELL TOWER.(satellites -> transmitter)[0]",
   494      "src": "NETWORK.CELL TOWER.satellites",
   495      "srcArrow": "none",
   496      "dst": "NETWORK.CELL TOWER.transmitter",
   497      "dstArrow": "triangle",
   498      "opacity": 1,
   499      "strokeDash": 0,
   500      "strokeWidth": 2,
   501      "stroke": "black",
   502      "borderRadius": 10,
   503      "label": "SEND",
   504      "fontSize": 16,
   505      "fontFamily": "mono",
   506      "language": "",
   507      "color": "N2",
   508      "italic": true,
   509      "bold": false,
   510      "underline": false,
   511      "labelWidth": 38,
   512      "labelHeight": 21,
   513      "labelPosition": "INSIDE_MIDDLE_CENTER",
   514      "labelPercentage": 0,
   515      "route": [
   516        {
   517          "x": 163,
   518          "y": 223
   519        },
   520        {
   521          "x": 114.4000015258789,
   522          "y": 317
   523        },
   524        {
   525          "x": 114.44999694824219,
   526          "y": 364.1000061035156
   527        },
   528        {
   529          "x": 163.25,
   530          "y": 458.5
   531        }
   532      ],
   533      "isCurve": true,
   534      "animated": false,
   535      "tooltip": "",
   536      "icon": null,
   537      "zIndex": 0
   538    },
   539    {
   540      "id": "NETWORK.CELL TOWER.(satellites -> transmitter)[1]",
   541      "src": "NETWORK.CELL TOWER.satellites",
   542      "srcArrow": "none",
   543      "dst": "NETWORK.CELL TOWER.transmitter",
   544      "dstArrow": "triangle",
   545      "opacity": 1,
   546      "strokeDash": 0,
   547      "strokeWidth": 2,
   548      "stroke": "black",
   549      "borderRadius": 10,
   550      "label": "SEND",
   551      "fontSize": 16,
   552      "fontFamily": "mono",
   553      "language": "",
   554      "color": "N2",
   555      "italic": true,
   556      "bold": false,
   557      "underline": false,
   558      "labelWidth": 38,
   559      "labelHeight": 21,
   560      "labelPosition": "INSIDE_MIDDLE_CENTER",
   561      "labelPercentage": 0,
   562      "route": [
   563        {
   564          "x": 180,
   565          "y": 223
   566        },
   567        {
   568          "x": 180.1999969482422,
   569          "y": 317
   570        },
   571        {
   572          "x": 180.25,
   573          "y": 364.1000061035156
   574        },
   575        {
   576          "x": 180.25,
   577          "y": 458.5
   578        }
   579      ],
   580      "isCurve": true,
   581      "animated": false,
   582      "tooltip": "",
   583      "icon": null,
   584      "zIndex": 0
   585    },
   586    {
   587      "id": "NETWORK.CELL TOWER.(satellites -> transmitter)[2]",
   588      "src": "NETWORK.CELL TOWER.satellites",
   589      "srcArrow": "none",
   590      "dst": "NETWORK.CELL TOWER.transmitter",
   591      "dstArrow": "triangle",
   592      "opacity": 1,
   593      "strokeDash": 0,
   594      "strokeWidth": 2,
   595      "stroke": "black",
   596      "borderRadius": 10,
   597      "label": "SEND",
   598      "fontSize": 16,
   599      "fontFamily": "mono",
   600      "language": "",
   601      "color": "N2",
   602      "italic": true,
   603      "bold": false,
   604      "underline": false,
   605      "labelWidth": 38,
   606      "labelHeight": 21,
   607      "labelPosition": "INSIDE_MIDDLE_CENTER",
   608      "labelPercentage": 0,
   609      "route": [
   610        {
   611          "x": 198,
   612          "y": 223
   613        },
   614        {
   615          "x": 246.1999969482422,
   616          "y": 317
   617        },
   618        {
   619          "x": 246.0500030517578,
   620          "y": 364.1000061035156
   621        },
   622        {
   623          "x": 197.25,
   624          "y": 458.5
   625        }
   626      ],
   627      "isCurve": true,
   628      "animated": false,
   629      "tooltip": "",
   630      "icon": null,
   631      "zIndex": 0
   632    },
   633    {
   634      "id": "(costumes -> monsters)[0]",
   635      "src": "costumes",
   636      "srcArrow": "none",
   637      "dst": "monsters",
   638      "dstArrow": "triangle",
   639      "opacity": 1,
   640      "strokeDash": 0,
   641      "strokeWidth": 2,
   642      "stroke": "B1",
   643      "borderRadius": 10,
   644      "label": "",
   645      "fontSize": 16,
   646      "fontFamily": "DEFAULT",
   647      "language": "",
   648      "color": "N2",
   649      "italic": true,
   650      "bold": false,
   651      "underline": false,
   652      "labelWidth": 0,
   653      "labelHeight": 0,
   654      "labelPosition": "",
   655      "labelPercentage": 0,
   656      "route": [
   657        {
   658          "x": 557.5,
   659          "y": 279.5
   660        },
   661        {
   662          "x": 557.5,
   663          "y": 328.29998779296875
   664        },
   665        {
   666          "x": 557.5,
   667          "y": 352.70001220703125
   668        },
   669        {
   670          "x": 557.5,
   671          "y": 401.5
   672        }
   673      ],
   674      "isCurve": true,
   675      "animated": false,
   676      "tooltip": "",
   677      "icon": null,
   678      "zIndex": 0
   679    }
   680  ],
   681  "root": {
   682    "id": "",
   683    "type": "",
   684    "pos": {
   685      "x": 0,
   686      "y": 0
   687    },
   688    "width": 0,
   689    "height": 0,
   690    "opacity": 0,
   691    "strokeDash": 0,
   692    "strokeWidth": 0,
   693    "borderRadius": 0,
   694    "fill": "N7",
   695    "stroke": "",
   696    "shadow": false,
   697    "3d": false,
   698    "multiple": false,
   699    "double-border": false,
   700    "tooltip": "",
   701    "link": "",
   702    "icon": null,
   703    "iconPosition": "",
   704    "blend": false,
   705    "fields": null,
   706    "methods": null,
   707    "columns": null,
   708    "label": "",
   709    "fontSize": 0,
   710    "fontFamily": "",
   711    "language": "",
   712    "color": "",
   713    "italic": false,
   714    "bold": false,
   715    "underline": false,
   716    "labelWidth": 0,
   717    "labelHeight": 0,
   718    "zIndex": 0,
   719    "level": 0
   720  }
   721}

View as plain text