Encoding functional edges in graphs to model spatially varying relationships in the tumor microenvironment | Synapse