...

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

Documentation: oss.terrastruct.com/d2/e2etests/testdata/stable/icon-containers/dagre

     1{
     2  "name": "",
     3  "isFolderOnly": false,
     4  "fontFamily": "SourceSansPro",
     5  "shapes": [
     6    {
     7      "id": "vpc",
     8      "type": "rectangle",
     9      "pos": {
    10        "x": 0,
    11        "y": 5
    12      },
    13      "width": 320,
    14      "height": 327,
    15      "opacity": 1,
    16      "strokeDash": 0,
    17      "strokeWidth": 2,
    18      "borderRadius": 0,
    19      "fill": "white",
    20      "stroke": "green",
    21      "shadow": false,
    22      "3d": false,
    23      "multiple": false,
    24      "double-border": false,
    25      "tooltip": "",
    26      "link": "",
    27      "icon": {
    28        "Scheme": "https",
    29        "Opaque": "",
    30        "User": null,
    31        "Host": "icons.terrastruct.com",
    32        "Path": "/aws/_Group Icons/Virtual-private-cloud-VPC_light-bg.svg",
    33        "RawPath": "/aws%2F_Group%20Icons%2FVirtual-private-cloud-VPC_light-bg.svg",
    34        "OmitHost": false,
    35        "ForceQuery": false,
    36        "RawQuery": "",
    37        "Fragment": "",
    38        "RawFragment": ""
    39      },
    40      "iconPosition": "OUTSIDE_TOP_LEFT",
    41      "blend": false,
    42      "fields": null,
    43      "methods": null,
    44      "columns": null,
    45      "label": "VPC 1 10.1.0.0./16",
    46      "fontSize": 28,
    47      "fontFamily": "DEFAULT",
    48      "language": "",
    49      "color": "green",
    50      "italic": false,
    51      "bold": false,
    52      "underline": false,
    53      "labelWidth": 206,
    54      "labelHeight": 36,
    55      "labelPosition": "OUTSIDE_TOP_RIGHT",
    56      "zIndex": 0,
    57      "level": 1
    58    },
    59    {
    60      "id": "vpc.az",
    61      "type": "rectangle",
    62      "pos": {
    63        "x": 20,
    64        "y": 46
    65      },
    66      "width": 280,
    67      "height": 256,
    68      "opacity": 1,
    69      "strokeDash": 3,
    70      "strokeWidth": 2,
    71      "borderRadius": 0,
    72      "fill": "white",
    73      "stroke": "blue",
    74      "shadow": false,
    75      "3d": false,
    76      "multiple": false,
    77      "double-border": false,
    78      "tooltip": "",
    79      "link": "",
    80      "icon": null,
    81      "iconPosition": "",
    82      "blend": false,
    83      "fields": null,
    84      "methods": null,
    85      "columns": null,
    86      "label": "Availability Zone A",
    87      "fontSize": 24,
    88      "fontFamily": "DEFAULT",
    89      "language": "",
    90      "color": "blue",
    91      "italic": false,
    92      "bold": false,
    93      "underline": false,
    94      "labelWidth": 185,
    95      "labelHeight": 31,
    96      "labelPosition": "OUTSIDE_TOP_CENTER",
    97      "zIndex": 0,
    98      "level": 2
    99    },
   100    {
   101      "id": "vpc.az.firewall",
   102      "type": "rectangle",
   103      "pos": {
   104        "x": 50,
   105        "y": 120
   106      },
   107      "width": 220,
   108      "height": 152,
   109      "opacity": 1,
   110      "strokeDash": 0,
   111      "strokeWidth": 2,
   112      "borderRadius": 0,
   113      "fill": "#e1d5e7",
   114      "stroke": "purple",
   115      "shadow": false,
   116      "3d": false,
   117      "multiple": false,
   118      "double-border": false,
   119      "tooltip": "",
   120      "link": "",
   121      "icon": {
   122        "Scheme": "https",
   123        "Opaque": "",
   124        "User": null,
   125        "Host": "icons.terrastruct.com",
   126        "Path": "/aws/Networking & Content Delivery/Amazon-Route-53_Hosted-Zone_light-bg.svg",
   127        "RawPath": "/aws%2FNetworking%20&%20Content%20Delivery%2FAmazon-Route-53_Hosted-Zone_light-bg.svg",
   128        "OmitHost": false,
   129        "ForceQuery": false,
   130        "RawQuery": "",
   131        "Fragment": "",
   132        "RawFragment": ""
   133      },
   134      "iconPosition": "OUTSIDE_TOP_LEFT",
   135      "blend": false,
   136      "fields": null,
   137      "methods": null,
   138      "columns": null,
   139      "label": "Firewall Subnet A",
   140      "fontSize": 20,
   141      "fontFamily": "DEFAULT",
   142      "language": "",
   143      "color": "purple",
   144      "italic": false,
   145      "bold": false,
   146      "underline": false,
   147      "labelWidth": 145,
   148      "labelHeight": 26,
   149      "labelPosition": "OUTSIDE_TOP_RIGHT",
   150      "zIndex": 0,
   151      "level": 3
   152    },
   153    {
   154      "id": "vpc.az.firewall.ec2",
   155      "type": "rectangle",
   156      "pos": {
   157        "x": 80,
   158        "y": 150
   159      },
   160      "width": 160,
   161      "height": 92,
   162      "opacity": 1,
   163      "strokeDash": 0,
   164      "strokeWidth": 2,
   165      "borderRadius": 0,
   166      "fill": "N7",
   167      "stroke": "B1",
   168      "shadow": false,
   169      "3d": false,
   170      "multiple": false,
   171      "double-border": false,
   172      "tooltip": "",
   173      "link": "",
   174      "icon": {
   175        "Scheme": "https",
   176        "Opaque": "",
   177        "User": null,
   178        "Host": "icons.terrastruct.com",
   179        "Path": "/aws/Compute/_Instance/Amazon-EC2_C4-Instance_light-bg.svg",
   180        "RawPath": "/aws%2FCompute%2F_Instance%2FAmazon-EC2_C4-Instance_light-bg.svg",
   181        "OmitHost": false,
   182        "ForceQuery": false,
   183        "RawQuery": "",
   184        "Fragment": "",
   185        "RawFragment": ""
   186      },
   187      "iconPosition": "INSIDE_MIDDLE_CENTER",
   188      "blend": false,
   189      "fields": null,
   190      "methods": null,
   191      "columns": null,
   192      "label": "EC2 Instance",
   193      "fontSize": 16,
   194      "fontFamily": "DEFAULT",
   195      "language": "",
   196      "color": "N1",
   197      "italic": false,
   198      "bold": true,
   199      "underline": false,
   200      "labelWidth": 89,
   201      "labelHeight": 21,
   202      "labelPosition": "INSIDE_TOP_CENTER",
   203      "zIndex": 0,
   204      "level": 4
   205    }
   206  ],
   207  "connections": [],
   208  "root": {
   209    "id": "",
   210    "type": "",
   211    "pos": {
   212      "x": 0,
   213      "y": 0
   214    },
   215    "width": 0,
   216    "height": 0,
   217    "opacity": 0,
   218    "strokeDash": 0,
   219    "strokeWidth": 0,
   220    "borderRadius": 0,
   221    "fill": "N7",
   222    "stroke": "",
   223    "shadow": false,
   224    "3d": false,
   225    "multiple": false,
   226    "double-border": false,
   227    "tooltip": "",
   228    "link": "",
   229    "icon": null,
   230    "iconPosition": "",
   231    "blend": false,
   232    "fields": null,
   233    "methods": null,
   234    "columns": null,
   235    "label": "",
   236    "fontSize": 0,
   237    "fontFamily": "",
   238    "language": "",
   239    "color": "",
   240    "italic": false,
   241    "bold": false,
   242    "underline": false,
   243    "labelWidth": 0,
   244    "labelHeight": 0,
   245    "zIndex": 0,
   246    "level": 0
   247  }
   248}

View as plain text