A url route generator for Pyramid's traversal, based on graph theory