Use the mouse to untangle everything. Nodes may only pass through like-colored wires. White is free-for-all, black is no-pass.