Basic mechanism isn't working lol. Please help me

The silicon generator keeps sending the output of silicon through the graphite input. What is wrong here? On the left there is the sand input and some graphite miners, the input of graphite is on top of the generator and the output goes down. I ended up placing a router sorting the graphite but it didn't work. Is it mandatory to place the inputs in the same side?

https://preview.redd.it/ja2e8rgtgh6e1.png?width=399&format=png&auto=webp&s=ad0b26e83766d4073542a5d5c1bd68e028801690