Add docs to directed graph methods.