Code
flowchart LR
subgraph Macrophages
A["Inactivated Macrophage $$\,M_0$$"] --> B["Activated Macrophage $$\, M_1 M_2$$"]
end
subgraph Cytokines
B <-->|"Inflammation"| C["TNF-$$\alpha$$"]
B <--> D["IL-10"]
B <--> E["TGF-$$\beta$$"]
B --> F["IL-6"]
B --> G["IL-21"]
B --> H["IL-4"]
B --> I["IL-2"]
B <--> J["IFN-$$\gamma$$"]
J --> I
I --> D
D --x I
end
subgraph T cells
M["Th17"] x--x N["Treg"]
K["Th1"] x--x L["Th2"]
K --> J
I <--> K
L <--> H
M <--> E
N <--> E
N <--> D
C --x N
N --x K & L
J & H --x M
end
linkStyle 11,12,13,20,21,22,23,24 stroke:red, stroke-width:5px; linkStyle 0,1,2,3,4,5,6,7,8,9,10,14,15,16,17,18,19 stroke:green, stroke-width:5px;
flowchart LR subgraph Macrophages A["Inactivated Macrophage $$\,M_0$$"] --> B["Activated Macrophage $$\, M_1 M_2$$"] end subgraph Cytokines B <-->|"Inflammation"| C["TNF-$$\alpha$$"] B <--> D["IL-10"] B <--> E["TGF-$$\beta$$"] B --> F["IL-6"] B --> G["IL-21"] B --> H["IL-4"] B --> I["IL-2"] B <--> J["IFN-$$\gamma$$"] J --> I I --> D D --x I end subgraph T cells M["Th17"] x--x N["Treg"] K["Th1"] x--x L["Th2"] K --> J I <--> K L <--> H M <--> E N <--> E N <--> D C --x N N --x K & L J & H --x M end linkStyle 11,12,13,20,21,22,23,24 stroke:red, stroke-width:5px; linkStyle 0,1,2,3,4,5,6,7,8,9,10,14,15,16,17,18,19 stroke:green, stroke-width:5px;