graph representation of public transportation