flowchart TD 标题 title[宠物商城推荐系统架构图] class title title-style 接入层 subgraph Layer2[接入层] direction LR Gateway[推荐网关] --- Router[场景路由] end 存储层 subgraph Layer4[存储层] direction LR Risk[(风控数据)] --- Search[(搜索数据)] --- Marketing[(营销数据)] --- Feature[(特征数据)] class Risk,Search,Marketing,Feature storage end 层级连接 Layer1 --> Layer2 Layer2 --> Layer3 Layer3 --> Layer4 Layer5 -.- Layer3 Layer5 -.- Layer4 %% 设置子图样式 style Layer1 fill:#fff,stroke:#333,stroke-width:2px style Layer2 fill:#fff,stroke:#333,stroke-width:2px style Layer3 fill:#fff,stroke:#333,stroke-width:2px style Layer4 fill:#fff,stroke:#333,stroke-width:2px style Layer5 fill:#fff,stroke:#333,stroke-width:2px