Graph and Network Preprocessing