update graph render method to show direction and labels
merge better rendering