Erdos-Rogers functions for arbitrary pairs of graphs | Synapse