Skip to content
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

Update tutorial on adding edges #79

Merged
merged 3 commits into from
Jul 18, 2024
Merged

Conversation

bin-wang
Copy link
Contributor

Currently, the documentation states that an error will be thrown if edges are added using nonexistent labels, which is not true. The actual behavior is that it will just fail silently: the edge will not be added, and no error will be thrown.

Frankly, I think this behavior is very unintuitive and should be subject to change. In networkx, the nodes will be automatically added. At least we should update the documentation for now.

Copy link
Member

@gdalle gdalle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix! I have opened #80 to keep track

@gdalle gdalle merged commit d59401c into JuliaGraphs:master Jul 18, 2024
3 checks passed
@bin-wang bin-wang deleted the patch-1 branch July 18, 2024 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants