nNodes is now retrieved from qgraph object