Interesting thread!
I have the feeling that an automatic result can be achieved with diffuse reaction + vectors… making each midpoint a constant source of element “B” and finding a setup of feed/kill ratio that prevent dead ends…
OR
Something related to this