-
Notifications
You must be signed in to change notification settings - Fork 4
GA-169 | rename graph_name
to name
#38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
graph_name
to name
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! just one small addition needed
graph_name
to name
graph_name
to name
Co-authored-by: Anthony Mahanna <[email protected]>
Thinking about this again, we should make sure that the i.e this should not be possible: import nx_arangodb as nxadb
G = nxadb.Graph(name='myGraph')
G.add_node(...)
G.add_edge(...)
G.name = 'myNewGraph'
# or
G.graph["name"] = 'myNewGraph' This should be possible if we add an override for the setter method: https://github.com/networkx/networkx/blob/main/networkx/classes/graph.py#L400-L412 |
No description provided.