Graph.xs: Added ahead_behind()
Changes: update