I appreciate your answer. I apologize for the delayed response I have been.
I currently have an ego graph with a shell layout using the code:
G_sub= nx.ego_graph(G,(item),radius=1, center= True, undirected=True, distance='weight')
# create list for nlist. This positions (item) in center of subgraph
others = list(G_sub)
# Specify shell positioning of nodes. "Items" is centered, "others"/connected nodes will surround
pos = nx.shell_layout(G_sub, nlist=[(item,), others],dim=2)
for n, p in pos.items():
G_sub.nodes[n]['pos'] = p
In this case, "Item" Is the center node and "others" are the connected nodes which creates the network I have attached.
How would I go about translating this to a wheel or star graph?
Thanks so much for all of your help!!