{
    "$schema": "../../../../schemas/layout.schema.json",
    "schemaVersion": "1.0",
    "canvas": {
        "width": 1920,
        "height": 1080
    },
    "boundaries": {
        "managed-cloud": {
            "x": 270,
            "y": 130,
            "width": 1600,
            "height": 900
        },
        "primary-region": {
            "x": 310,
            "y": 180,
            "width": 1520,
            "height": 810
        },
        "workload-network": {
            "x": 350,
            "y": 230,
            "width": 1440,
            "height": 720
        },
        "public-subnet": {
            "x": 390,
            "y": 300,
            "width": 370,
            "height": 580
        },
        "private-subnet": {
            "x": 810,
            "y": 300,
            "width": 500,
            "height": 580
        },
        "restricted-subnet": {
            "x": 1360,
            "y": 300,
            "width": 380,
            "height": 580
        }
    },
    "nodes": {
        "public-client": {
            "x": 30,
            "y": 380,
            "width": 200,
            "height": 150
        },
        "edge-gateway": {
            "x": 450,
            "y": 380,
            "width": 240,
            "height": 150
        },
        "public-balancer": {
            "x": 450,
            "y": 650,
            "width": 240,
            "height": 150
        },
        "ingress-firewall": {
            "x": 850,
            "y": 380,
            "width": 200,
            "height": 150
        },
        "application-host": {
            "x": 1080,
            "y": 380,
            "width": 190,
            "height": 150
        },
        "editorial-service": {
            "x": 1060,
            "y": 650,
            "width": 230,
            "height": 150
        },
        "diagram-database": {
            "x": 1430,
            "y": 650,
            "width": 240,
            "height": 150
        }
    },
    "edges": {
        "client-to-gateway": {
            "source": {
                "side": "right",
                "offset": 0.5
            },
            "target": {
                "side": "left",
                "offset": 0.5
            },
            "label": {
                "x": 335,
                "y": 420
            }
        },
        "gateway-to-balancer": {
            "source": {
                "side": "bottom",
                "offset": 0.5
            },
            "target": {
                "side": "top",
                "offset": 0.5
            },
            "label": {
                "x": 530,
                "y": 590
            }
        },
        "balancer-to-firewall": {
            "source": {
                "side": "right",
                "offset": 0.5
            },
            "target": {
                "side": "left",
                "offset": 0.5
            },
            "waypoints": [
                {
                    "x": 785,
                    "y": 725
                },
                {
                    "x": 785,
                    "y": 455
                }
            ],
            "label": {
                "x": 785,
                "y": 835
            }
        },
        "firewall-to-host": {
            "source": {
                "side": "right",
                "offset": 0.5
            },
            "target": {
                "side": "left",
                "offset": 0.5
            },
            "label": {
                "x": 1065,
                "y": 335
            }
        },
        "host-to-service": {
            "source": {
                "side": "bottom",
                "offset": 0.5
            },
            "target": {
                "side": "top",
                "offset": 0.5
            },
            "label": {
                "x": 1280,
                "y": 590
            }
        },
        "service-to-database": {
            "source": {
                "side": "right",
                "offset": 0.5
            },
            "target": {
                "side": "left",
                "offset": 0.5
            },
            "label": {
                "x": 1360,
                "y": 920
            }
        }
    }
}
