Get graphs sort of working