Updated doc/README and some functions in graph.{c,h}