Added line storing nGraphs as part of params