[Documentation] Fixes for DependencyGraph#predecessors and DependencyGraph#successors