Graphs plots in 3-D #6803
Replies: 2 comments 4 replies
-
This is already possible: see e.g. this section in the gallery. I suppose the main thing is that NetworkX doesn't provide any specific API for plotting in 3D. I suppose the question is: what specifically is the proposal? Is it to add something like It wouldn't hurt to expand the example gallery though! |
Beta Was this translation helpful? Give feedback.
-
|
Since I am struggling a bit to find time for the general implementation, I would first add those examples to the gallery... Please let me know, if you require an issue to be opened for that. Otherwise, I start direct along the guidelines of the FAQ... |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
As a newcomer to both open-source projects and the world of graphs, I must admit that I might lack the experience some of you have here. Due to my limited experience, I approach my proposal with humility, realizing that my idea may need refinement or may not be entirely correct.
Having said this, I wonder whether it makes sense to expand the functionality of nx.draw_networkx() to three dimensions. After looking at the code, it seems that this expansion might not require too much effort. While I understand that NetworkX is not meant to be a fully-featured graph visualization tool, I'd like to present my points on why it might make sense to consider this extension:
Existing Layout Functions Support: I noticed that most of the layout functions (e.g., random layout, spring layout) seem to support a third dimension (dim=3) already. This indicates that NetworkX might already have some groundwork in place to explore the third dimension.
I'd like to share some examples to illustrate my point further. Here are links to two images showcasing a graph representing football data in both 2D and 3D:


As you can observe, the 3D representation appears to provide a clearer visualization of the yellow cluster compared to the 2D version.
I genuinely value your feedback on whether extending the plotting abilities to include a third dimension would be worthwhile. I am eager to learn from your insights and expertise in this field. If this idea aligns with the goals of NetworkX and has potential merit, I would be excited to contribute and work towards its implementation.
Thank you all for considering my proposal, and I'm looking forward to your valuable input.
Best regards,
Florian
Beta Was this translation helpful? Give feedback.
All reactions