added graphRequest parameter to the getRelatedNodes runAfterProcessing, and fixed an issue with other request handlers