#330 Error message for empty graphs