Synthetic generation of spatial graphs