%%{init: {'theme': 'base', 'themeVariables': {'fontSize': '36px', 'primaryColor': '#f59e0b', 'primaryTextColor': '#0f172a', 'lineColor': '#f59e0b', 'clusterBkg': 'transparent', 'clusterBorder': '#f59e0b', 'clusterTextColor': '#fff'}, 'flowchart': {'nodeSpacing': 80, 'rankSpacing': 140, 'padding': 20, 'useMaxWidth': true}}}%%
graph LR
subgraph Inputs[" "]
direction TB
X1(("x₁"))
X2(("x₂"))
X3(("x₃"))
end
subgraph Hidden["Hidden Layer"]
direction TB
H1(("y₁"))
H2(("y₂"))
end
subgraph Output[" "]
direction TB
Y(("z"))
end
X1 --> H1 & H2
X2 --> H1 & H2
X3 --> H1 & H2
H1 --> Y
H2 --> Y
style X1 fill:#3b82f6,stroke:#3b82f6,color:#fff
style X2 fill:#3b82f6,stroke:#3b82f6,color:#fff
style X3 fill:#3b82f6,stroke:#3b82f6,color:#fff
style H1 fill:#f59e0b,stroke:#f59e0b,color:#fff
style H2 fill:#f59e0b,stroke:#f59e0b,color:#fff
style Y fill:#0f172a,stroke:#0f172a,color:#fff
linkStyle default stroke:#334155,stroke-width:2px