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