To replace or reconnect the wires of a device or installation.
Example: I had to rewire the circuit where the old wires had shorted out.
To change the functionality of something by altering the parameters or logic.
Example: When our companies merged, I rewired our payment processing system to handle their invoices as well.
When they had rewired just 1% of the links to shortcuts,
But then they re-ran the simulation, this time with a few links rewired to shortcuts.