Added option to specify number of points (nlegs) in the network connections plot.