Graph.xs: Added ahead() and behind()