...

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

Documentation: oss.terrastruct.com/d2/e2etests/testdata/patterns/real/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": 19
    12      },
    13      "width": 314,
    14      "height": 394,
    15      "opacity": 1,
    16      "strokeDash": 0,
    17      "strokeWidth": 2,
    18      "borderRadius": 0,
    19      "fill": "#E7E9EE",
    20      "fillPattern": "dots",
    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": 60
    54      },
    55      "width": 254,
    56      "height": 323,
    57      "opacity": 1,
    58      "strokeDash": 0,
    59      "strokeWidth": 2,
    60      "borderRadius": 0,
    61      "fill": "#F5F6F9",
    62      "fillPattern": "dots",
    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": 100
    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": 287
   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  "connections": [
   174    {
   175      "id": "NETWORK.CELL TOWER.(satellites -> transmitter)[0]",
   176      "src": "NETWORK.CELL TOWER.satellites",
   177      "srcArrow": "none",
   178      "dst": "NETWORK.CELL TOWER.transmitter",
   179      "dstArrow": "triangle",
   180      "opacity": 1,
   181      "strokeDash": 0,
   182      "strokeWidth": 2,
   183      "stroke": "black",
   184      "borderRadius": 10,
   185      "label": "SEND",
   186      "fontSize": 16,
   187      "fontFamily": "mono",
   188      "language": "",
   189      "color": "N2",
   190      "italic": true,
   191      "bold": false,
   192      "underline": false,
   193      "labelWidth": 38,
   194      "labelHeight": 21,
   195      "labelPosition": "INSIDE_MIDDLE_CENTER",
   196      "labelPercentage": 0,
   197      "route": [
   198        {
   199          "x": 152,
   200          "y": 166
   201        },
   202        {
   203          "x": 112.1989974975586,
   204          "y": 214.39999389648438
   205        },
   206        {
   207          "x": 112.25,
   208          "y": 238.6999969482422
   209        },
   210        {
   211          "x": 152.25,
   212          "y": 287.5
   213        }
   214      ],
   215      "isCurve": true,
   216      "animated": false,
   217      "tooltip": "",
   218      "icon": null,
   219      "zIndex": 0
   220    },
   221    {
   222      "id": "NETWORK.CELL TOWER.(satellites -> transmitter)[1]",
   223      "src": "NETWORK.CELL TOWER.satellites",
   224      "srcArrow": "none",
   225      "dst": "NETWORK.CELL TOWER.transmitter",
   226      "dstArrow": "triangle",
   227      "opacity": 1,
   228      "strokeDash": 0,
   229      "strokeWidth": 2,
   230      "stroke": "black",
   231      "borderRadius": 10,
   232      "label": "SEND",
   233      "fontSize": 16,
   234      "fontFamily": "mono",
   235      "language": "",
   236      "color": "N2",
   237      "italic": true,
   238      "bold": false,
   239      "underline": false,
   240      "labelWidth": 38,
   241      "labelHeight": 21,
   242      "labelPosition": "INSIDE_MIDDLE_CENTER",
   243      "labelPercentage": 0,
   244      "route": [
   245        {
   246          "x": 180,
   247          "y": 166
   248        },
   249        {
   250          "x": 180.1999969482422,
   251          "y": 214.39999389648438
   252        },
   253        {
   254          "x": 180.25,
   255          "y": 238.6999969482422
   256        },
   257        {
   258          "x": 180.25,
   259          "y": 287.5
   260        }
   261      ],
   262      "isCurve": true,
   263      "animated": false,
   264      "tooltip": "",
   265      "icon": null,
   266      "zIndex": 0
   267    },
   268    {
   269      "id": "NETWORK.CELL TOWER.(satellites -> transmitter)[2]",
   270      "src": "NETWORK.CELL TOWER.satellites",
   271      "srcArrow": "none",
   272      "dst": "NETWORK.CELL TOWER.transmitter",
   273      "dstArrow": "triangle",
   274      "opacity": 1,
   275      "strokeDash": 0,
   276      "strokeWidth": 2,
   277      "stroke": "black",
   278      "borderRadius": 10,
   279      "label": "SEND",
   280      "fontSize": 16,
   281      "fontFamily": "mono",
   282      "language": "",
   283      "color": "N2",
   284      "italic": true,
   285      "bold": false,
   286      "underline": false,
   287      "labelWidth": 38,
   288      "labelHeight": 21,
   289      "labelPosition": "INSIDE_MIDDLE_CENTER",
   290      "labelPercentage": 0,
   291      "route": [
   292        {
   293          "x": 209,
   294          "y": 166
   295        },
   296        {
   297          "x": 248.39999389648438,
   298          "y": 214.39999389648438
   299        },
   300        {
   301          "x": 248.25,
   302          "y": 238.6999969482422
   303        },
   304        {
   305          "x": 208.25,
   306          "y": 287.5
   307        }
   308      ],
   309      "isCurve": true,
   310      "animated": false,
   311      "tooltip": "",
   312      "icon": null,
   313      "zIndex": 0
   314    }
   315  ],
   316  "root": {
   317    "id": "",
   318    "type": "",
   319    "pos": {
   320      "x": 0,
   321      "y": 0
   322    },
   323    "width": 0,
   324    "height": 0,
   325    "opacity": 0,
   326    "strokeDash": 0,
   327    "strokeWidth": 0,
   328    "borderRadius": 0,
   329    "fill": "N7",
   330    "stroke": "",
   331    "shadow": false,
   332    "3d": false,
   333    "multiple": false,
   334    "double-border": false,
   335    "tooltip": "",
   336    "link": "",
   337    "icon": null,
   338    "iconPosition": "",
   339    "blend": false,
   340    "fields": null,
   341    "methods": null,
   342    "columns": null,
   343    "label": "",
   344    "fontSize": 0,
   345    "fontFamily": "",
   346    "language": "",
   347    "color": "",
   348    "italic": false,
   349    "bold": false,
   350    "underline": false,
   351    "labelWidth": 0,
   352    "labelHeight": 0,
   353    "zIndex": 0,
   354    "level": 0
   355  }
   356}

View as plain text