More graph functions.