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

Pyvis visualization of the awesome-notebooks network #2412

Closed
wants to merge 2 commits into from
Closed

Pyvis visualization of the awesome-notebooks network #2412

wants to merge 2 commits into from

Conversation

duxans
Copy link
Contributor

@duxans duxans commented Nov 26, 2023

Pyvis visualization of the awesome-notebooks network. Python script upload.

Fixes

This PR resolves #2390

What does this PR do?

One iteration of the network visualization with data extracted from templates.json file.
Notes:

  • Edges are undirected in this first version.
  • The so-called "physics" for the mechanic model is set to force_atlas_2based. I think is the best suited gravity modelation for this network otherwise barnes_Hut is also a good option (the one used in the GOT example), but a bit messy perhaps.
  • I found mostly Tool -> Template edges
  • Few (but some) situations of the kind Tool -> Template -> Tool
  • A bit unbalanced node dimensions. For instance, OpenAi is huge compared to the rest and I had to fix it in a corner of the canvas due to gravity issues.
  • I fixed Naas node in the center of the canvas, that is, [x = 0, y = 0]
  • I realized some nodes may have the wrong image (Naas logo). I don't know if that was done in purpose or not but I logged them in the wrong_naas_logo.log

Screenshots

Screenshot 2023-11-26 at 20 43 30

Pyvis visualization of the awesome-notebooks network. Python script upload.
@FlorentLvr
Copy link
Contributor

FlorentLvr commented Nov 27, 2023

@duxans, TY for your contribution! It looks amazing :)
But unfortunately, I can't merge your PR as you forked the project instead of cloning and you created a python file instead of a notebook.
Here the process to start contributing on this repo: https://github.com/jupyter-naas/awesome-notebooks/blob/master/README.md#how-to-contribute
You will received an email to join our team and you should be able to clone and add a new notebook in the Pyvis folder.
Let me know if you have any question 🙏

@jravenel 🚀

@duxans
Copy link
Contributor Author

duxans commented Nov 27, 2023

Hi @FlorentLvr! Thanks for your review. Oh, I thought you wanted a script for a pipeline running under schedule whenever templates.json/csv changes. But got you, I will translate this to a notebook, no problem!

And yes I forked, sorry...😅. I will definetly follow your guidelines. Thanks for helping!
Jaime

@FlorentLvr
Copy link
Contributor

Hi @FlorentLvr! Thanks for your review. Oh, I thought you wanted a script for a pipeline running under schedule whenever templates.json/csv changes. But got you, I will translate this to a notebook, no problem!

And yes I forked, sorry...😅. I will definetly follow your guidelines. Thanks for helping! Jaime

Hi @duxans!
No problem at all!

I apologize for the misunderstanding 😅. Once your notebook will be done, we will add it to our CICD process and also make it available as a template for Pyvis. This way, we can showcase your excellent work in our library and promote it to others. 🚀

I am closing this PR as you will open a new one!

Let me know if you have any question :)

@FlorentLvr FlorentLvr closed this Nov 27, 2023
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.

Pyvis - Visualize the awesome-notebooks network
2 participants