Shouldn't wires only care about power receivers and sources with output/inputs that face their direction? I think this logic only works if we assume that all power entities have outlets on every side.
All entities planned have an input/output in all sides to simplify the code and design. Involving entities that have very specific outlets in very specific directions would have made the code more complex. So each side can receive or output, so wires should curve into it anyway.
But it'd be a good exercise to the reader, if you'd like to implement it.