-
Notifications
You must be signed in to change notification settings - Fork 224
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
NetworKit graph I/O tutorial with Jupyter-Notebook #390
Conversation
5402140
to
4f22e2e
Compare
9407624
to
3b23b0d
Compare
input/README.md
Outdated
@@ -24,6 +24,8 @@ This folder contains many smaller graphs. They are used in the testing suite and | |||
| example.graph | Format.METIS | METISGraphReader | 16 | 4 | 2 | FALSE | FALSE | n/a | | |||
| example2.dgs | n/a | DGSReader | 161 | n/a | n/a | n/a | n/a | n/a | | |||
| foodweb-baydry.konect | Format.KONECT | KONECTGraphReader | 42847 | 128 | 2137 | TRUE | TRUE | n/a | | |||
| foodweb-baydry.thrill | Format.THRILL | ThrillGraphReader | 410318 | 128 | 2137 | TRUE | TRUE | n/a | |
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.
The trill file is very large (400 KiB). I don't exactly see why (@michitux ?) Can you take a smaller graph as an example?
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.
I have.
Thank you for addressing the comments. It looks like that in the "snap file format" section there is a problem. The text after "The format is..." does not seem to be very helpful, could that be a rendering issue? Try to use some different characters. |
It was a rendering issue; I have fixed it now. |
@angriman Is this notebook in a good state now? |
@avdgrinten Yes, just waiting for CI to finish to approve. |
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.
LGTM
This PR introduces a new of Jupyter-Notebook for I/O of graphs with NetworKit. The goal is to improve the accessibility of NetworKit for new users. The following are the key points addressed in this PR:
NetworkitBinaryGraph
format is exposed to python. This was particularly necessary in order to explain to users how to use theNetworkitBinaryGraphReader
/NetworkitBinaryGraphWriter
in Python.NetworkitBinaryGraph
andThrillBinaryGraph
Format. The
READMEin
networkit/input` has been updated accordingly.