Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
I used the excellent Factory Planner Mod to map out the material needs. From there I took the required items/min for each sub-factory and created a weighted directed graph with NetworkX in Python. The nodes are the different sub-factories (stations) using the Data.raw names. The edges go from source to target station, weighted by the input value. Didn't figure out a better way to represent oil processing (multiple outputs), so I just created nodes for light, heavy and petroleum and set the weight to 1. Got the stack sizes from this Gist. Finally I used plotly to visualize the graph.
factoriolab does this for you by the way.