Safety for if there is no graph available