FlowMatrix OS — Controls
DRAGorbit camera
WHEELzoom
RIGHT-DRAG / SHIFTpan target
CLICK NODEtoggle disruption — flow re-optimizes instantly
DRAG NODEreposition (physics re-settles)
Hrisk heat map / type colors
N / Plabels / flow particles
Lre-run force layout
Cclear all disruptions
A / SPACEauto orbit
+ / −particle density
Rreset camera
Six-tier network (supplier → factory → origin port → destination port → DC → market)
solved as a min-cost max-flow problem (SPFA successive shortest paths, node-split capacities).
Layout: Barnes-Hut octree N-body + spring embedder. Risk: flow-weighted upstream failure propagation.
Disrupt any node and watch the optimizer reroute — sea lanes fail over to air freight at real cost deltas.