Spatially Transformed Social Networks Model