Contents:
create_graph()
Converts spatial coordinates into graph using networkx library.
param: adata - ST Slice param: degree - number of edges per vertex
node_dict - dictionary mapping nodes to spots