%%{init:{"theme":"dark","themeVariables":{"fontSize":"16px"}}}%%
flowchart TD
A["🧠 Diffusion MRI<br/>(raw signal)"]:::blue --> B["Preprocessing<br/>(Eddy, motion, B0)"]:::grey
B --> C["Diffusion model<br/>(DTI, CSD, NODDI…)"]:::blue
C --> D["Tractography algorithm<br/>(deterministic / probabilistic)"]:::blue
D --> E["🔗 Streamlines<br/>(ordered 3-D points)"]:::green
E --> F1["Tractometry<br/>(microstructure along tract)"]:::teal
E --> F2["Connectomics<br/>(region-to-region graph)"]:::teal
E --> F3["Shape analysis<br/>(FDA, optimal transport)"]:::teal
classDef blue fill:#1c3d5a,stroke:#58a6ff,color:#e6edf3
classDef green fill:#1a3a2a,stroke:#3fb950,color:#e6edf3
classDef teal fill:#1a3035,stroke:#39c5cf,color:#e6edf3
classDef grey fill:#21262d,stroke:#8b949e,color:#8b949e



