# Code generated by ayida from notifications.ayida.hcl, orders.ayida.hcl, platform.ayida.hcl, users.ayida.hcl. DO NOT EDIT. direction: down vars: { d2-config: { layout-engine: elk } } classes: { kind-container: {} kind-system: {} shape-topic: {} tag-notifications: {} tag-orders: {} tag-users: {} } "system__notification_5fservice": "Notification Service\nSYSTEM · notification_service\n\nHandles all user notifications across email, SMS\nand push" { shape: rectangle class: [kind-system; tag-notifications] style: { fill: "#1E4F8F" stroke: "#183F73" font-color: "#FFFFFF" border-radius: 6 } } "system__order_5fservice": "Order Service\nSYSTEM · order_service\n\nManages the order lifecycle and processing" { shape: rectangle class: [kind-system; tag-orders] style: { fill: "#1E4F8F" stroke: "#183F73" font-color: "#FFFFFF" border-radius: 6 } } "system__platform": "Shared platform\n[System] · platform" { shape: rectangle class: [kind-system] style: { fill: transparent stroke: "#737373" font-color: "#3D3D3D" stroke-dash: 4 } "container__event_5fbus": "Event bus\nCONTAINER · Apache Kafka · event_bus\n\nDomain events between services" { shape: rectangle class: [kind-container; shape-topic] style: { fill: "#2D66AE" stroke: "#245390" font-color: "#FFFFFF" border-radius: 6 } } } "system__user_5fservice": "User Service\nSYSTEM · user_service\n\nManages user accounts and authentication" { shape: rectangle class: [kind-system; tag-users] style: { fill: "#1E4F8F" stroke: "#183F73" font-color: "#FFFFFF" border-radius: 6 } } "system__platform"."container__event_5fbus" -> "system__notification_5fservice": "Consumes order.* and user.created\nKafka" { style.stroke: "#737373" style.font-color: "#3D3D3D" } "system__platform"."container__event_5fbus" -> "system__order_5fservice": "Consumes user.deleted to anonymize orders\nKafka" { style.stroke: "#737373" style.font-color: "#3D3D3D" } "system__order_5fservice" -> "system__platform"."container__event_5fbus": "Publishes order.created, order.paid, order.shipped, order.delivered\nKafka" { style.stroke: "#737373" style.font-color: "#3D3D3D" style.stroke-dash: 8 } "system__user_5fservice" -> "system__platform"."container__event_5fbus": "Publishes user.created, user.updated, user.deleted\nKafka" { style.stroke: "#737373" style.font-color: "#3D3D3D" style.stroke-dash: 8 }