doc typos: graph.filterNode -> graph.filterNodes, isAyclic -> isAcyclic

minor documentation typos