speed up plotting in disconnectivity graphs

use LineCollection rather than plotting each line individually