Added params for clustering sub graph generator
added the d and n variables