Inverse designing metamaterials with programmable nonlinear functional responses in graph space | Synapse