DiagramHub · Gallery

Hexagonal Architecture Diagram

Live diagram ↗
Diagram source (application/json)
{
 "schema_version": 1,
 "diagram_type": "architecture",
 "meta": {
  "title": "hexagonal architecture: core domain in center, adapter ports"
 },
 "components": [
  {
   "id": "n1",
   "type": "backend",
   "label": "hexagonal architecture: core domain in c",
   "pos": [
    40,
    300
   ],
   "size": [
    340,
    60
   ]
  },
  {
   "id": "n2",
   "type": "backend",
   "label": "adapter ports drive http api",
   "pos": [
    450,
    300
   ],
   "size": [
    253,
    60
   ]
  },
  {
   "id": "n3",
   "type": "backend",
   "label": "message consumer in",
   "pos": [
    773,
    300
   ],
   "size": [
    185,
    60
   ]
  },
  {
   "id": "n4",
   "type": "database",
   "label": "postgres",
   "pos": [
    1028,
    300
   ],
   "size": [
    150,
    60
   ]
  },
  {
   "id": "n5",
   "type": "security",
   "label": "email gateways out",
   "pos": [
    1248,
    300
   ],
   "size": [
    177,
    60
   ]
  }
 ],
 "connections": [
  {
   "from": "n1",
   "to": "n2"
  },
  {
   "from": "n2",
   "to": "n3"
  },
  {
   "from": "n3",
   "to": "n4"
  },
  {
   "from": "n4",
   "to": "n5"
  }
 ]
}

Published 2026-09-25T20:22:53.882Z · 779 KB self-contained · sha256 46255901cc8bd52284765f1a1343e74ba04d90793664b36a521032253f3b5dcf