It might be completely stupid and not worth the effort at ALL, but it might be nice if batteries would use DFS to determine whether a given route connects to a battery both on the input and output sides (they don't have to be the same battery). The part where it's probably stupid is that then every node would need to know whether its particular branch connects back to a battery, rather than having the battery alone know whether a route outputs to a battery.
It might be completely stupid and not worth the effort at ALL, but it might be nice if batteries would use DFS to determine whether a given route connects to a battery both on the input and output sides (they don't have to be the same battery). The part where it's probably stupid is that then every node would need to know whether its particular branch connects back to a battery, rather than having the battery alone know whether a route outputs to a battery.