Reduce size of network graphs and ensure nodes stay within bounds.