Using graphs and graph theory to describe and analyze connectivity in linear habitat networks