Optional graph smoothing