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

EdgeList does not support undirected graphs #50

Open
littlebenlittle opened this issue Aug 24, 2022 · 1 comment
Open

EdgeList does not support undirected graphs #50

littlebenlittle opened this issue Aug 24, 2022 · 1 comment

Comments

@littlebenlittle
Copy link

Looking at issue 35, it appears the tacit convention is to take the graph type as an argument. However EdgeList only creates directed graphs as can be seen at line 39.

@fabmazz
Copy link

fabmazz commented May 13, 2024

I think the fact that this information is not written in the documentation is a serious problem, I started using this method and luckily I realized that the graph was wrongly read. The annoying thing is that the edges count is the same in the original and the re-read graph because of the way Graphs.jl stores the edges.

Maybe one could add an option to the Format specifier, so that an user can specify to read as a directed or indirected input graph

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

No branches or pull requests

2 participants