add_edge doc : fix minor mistake

s/member function/non-member function/