{
  "id": "bbg-p0264-software-architecture-patterns-software-architecture",
  "title": "Clean Architecture Dependency Rule",
  "chapter": "software-architecture-patterns",
  "batch": "17",
  "rank": 163,
  "sourcePage": 264,
  "sourcePointer": "p. 264",
  "status": "accepted",
  "reviewerStatus": "reviewed",
  "fidelityScore": 0.9,
  "canvas": {
    "width": 960,
    "height": 640
  },
  "fireworksTechGraph": {
    "style": "style-1-flat-icon",
    "diagramType": "architecture",
    "topologyNotes": [
      "source page render inspected",
      "extracted page text inspected",
      "source page render inspected",
      "preserve concentric clean architecture layers and inward dependency direction: frameworks/drivers, interface adapters, use cases, entities",
      "omit copied circular artwork and long source prose"
    ],
    "publicBoundary": [
      "original vector output",
      "no source pixels",
      "no source mark or long wording"
    ]
  },
  "callouts": [],
  "sourceReview": {
    "conceptAnchors": [
      "concept: entities",
      "concept: use cases",
      "concept: interface adapters",
      "concept: frameworks and drivers",
      "concept: dependencies point inward"
    ],
    "labelSource": "curated",
    "semanticStatus": "reviewed"
  },
  "groups": [
    {
      "id": "clean",
      "label": "Dependencies point inward",
      "x": 76,
      "y": 116,
      "w": 808,
      "h": 390
    }
  ],
  "shapes": [
    {
      "id": "frameworks",
      "kind": "rect",
      "label": "Frameworks drivers",
      "detail": "web DB devices",
      "x": 98,
      "y": 206,
      "w": 152,
      "h": 70,
      "tone": "gray"
    },
    {
      "id": "adapters",
      "kind": "rect",
      "label": "Interface adapters",
      "detail": "controllers gateways",
      "x": 300,
      "y": 206,
      "w": 152,
      "h": 70,
      "tone": "blue"
    },
    {
      "id": "usecases",
      "kind": "rect",
      "label": "Use cases",
      "detail": "application flow",
      "x": 504,
      "y": 206,
      "w": 132,
      "h": 70,
      "tone": "green"
    },
    {
      "id": "entities",
      "kind": "hex",
      "label": "Entities",
      "detail": "business rules",
      "x": 704,
      "y": 198,
      "w": 130,
      "h": 86,
      "tone": "orange"
    },
    {
      "id": "boundary",
      "kind": "diamond",
      "label": "Boundary",
      "detail": "inward only",
      "x": 414,
      "y": 374,
      "w": 132,
      "h": 82,
      "tone": "red"
    }
  ],
  "connectors": [
    {
      "from": "frameworks",
      "to": "adapters",
      "label": "adapt",
      "flow": "main"
    },
    {
      "from": "adapters",
      "to": "usecases",
      "label": "call",
      "flow": "main"
    },
    {
      "from": "usecases",
      "to": "entities",
      "label": "rules",
      "flow": "data"
    },
    {
      "from": "frameworks",
      "to": "boundary",
      "label": "outer",
      "flow": "control",
      "dashed": true
    },
    {
      "from": "boundary",
      "to": "entities",
      "label": "protect",
      "flow": "control"
    }
  ]
}
