revert makeadjacencygraph
Now compatible with ben's forked spikedetekt