Fixed an error in a general graph example