ChrisDelClea / streamlit-agraph

A Streamlit Graph Vis
MIT License
387 stars 52 forks source link

NodeNotFound: Source (2, 57) is not in G #23

Closed wgong closed 2 years ago

wgong commented 2 years ago

this line at https://github.com/ChrisDelClea/streamlit-agraph/blob/master/examples/ego_graph.py#L35

should be changed to (2nd arg is Id

hub_ego = nx.ego_graph(G, most_connected_node[0])
ChrisDelClea commented 2 years ago

thank you, @wgong . I will update it soon.