If the nodes were closer, the action potential would travel more slowly. If they were much farther apart, the action potential would travel faster if it could successfully jump from one node to the next, but if the distance becomes too great, the current cannot diffuse from one node to the next and still remain above threshold, so the action potentials would stop.