Generic network sparsification via degree- and subgraph-based edge sampling | Synapse