Turkey Graphs for Thanksgiving day... Late but with Fun

This app builds a network of random points from an image using Networkx. I was trying something else, but then realized that a graph of a turkey would be something worth to work :turkey: .

So here it is
https://share.streamlit.io/napoles-uach/streamlit_apps/main/turkey.py

have fun!!

6 Likes

ahahah I love it ! I want to print it and give it to kids so they spend time drawing the turkey over :stuck_out_tongue:

2 Likes

If you do so, please take some photos :sweat_smile:

1 Like

Haha so creative :cat: took me a minute to understand what was going on :joy:, can the networkx charts be interactive in Streamlit?

2 Likes

Thanks @Agrover112, glad you liked it!!. Networkx is a simple yet powerful tool to draw graphs, but up to my knowledge only support static images. For interactive graphs, I recommend the new and awesome component streamlit-agraph by @chris_klose
https://discuss.streamlit.io/t/showing-off-the-streamlit-agraph-component/6712

Maybe the next version of the Turkey graphs turns interactive :stuck_out_tongue_winking_eye:

Cheers!

3 Likes

@Agrover112 and @napoles3d, actually this is indeed already planned for agraph’s next major release :D. I did research about what are easy to use graph analytics libraries. Networkx is what i found too. So i already tried to wrap it smoothly to automatically call them like: agraph.pagerank() .
However, the work keeps me busy at the moment, could take until end of april. If you’re intersted in collaborating on this, to speed it up, let me know :slight_smile:

2 Likes

Thanks @chris_klose, let me see if can do something :raised_hands: :wink:

1 Like

Cool

This is how it looks right now

1 Like

Awesome!!

1 Like