networkx/outreachy

Read through the NetworkX tutorial and create a python script

MridulS opened this issue · 4 comments

[Everyone can do this task. There is no need to claim/assign this issue]

Please follow our introductory tutorial once you have installed networkx on your machine. This will give applicants a better overview of our codebase and API, which will help the applicant create a strong application.

Once you have gone through the tutorial create a python script (nx_tutorial_script.py) that perform the following operations

  • Create a NetworkX DiGraph graph object
  • Add nodes of multiple types to this graph object, at least one node of each type int, str, tuple. (Maximum 10 nodes)
  • Add multiple edges between these nodes
  • Find the shortest path between all pairs of nodes in this graph and print them.
  • Plot the graph using networkx.draw

Add this file to your folder created in the first task and push the changes to github.

Create a pull request against this repository and add the file 2023-round-2/<your-github-username>/nx_tutorial_script.py with the python script which performs all the operations above.

Hi @MridulS.Completed this task 5 #90 and moving forward to the next task. I found this task very interesting and was excited to move to the next task.

@MridulS I cannot be able to create a PR please help me.
Screenshot from 2023-03-10 01-09-22

Hi, A while ago I created this library of resources in which I implemented various social computing models using Networkx and created notes on the same. I thought it could help if you'd like to explore more of Networkx.

Thank you :)