d3graph icon indicating copy to clipboard operation
d3graph copied to clipboard

Support for 3-dimensional layout

Open nthomsencph opened this issue 2 years ago • 3 comments

Networkx supports 3D network layouts, e.g. cords = nx.spring_layout(G, dim = 3, ...)

Any plans of adding support for this? I'm not too familiar with D3 but seems like it should be possible.

nthomsencph avatar Jul 27 '22 06:07 nthomsencph

Do you have an example of D3 doing it? It would be good to see what output you are looking for.

JohnOmernik avatar Jul 27 '22 20:07 JohnOmernik

Not at the moment but that would be really awesome to have! I am going to put it on my wishlist.

erdogant avatar Aug 01 '22 20:08 erdogant

So, the closest thing would probably be https://github.com/Niekes/d3-3d for D3. Something like their 3D scatter plot, maybe?

A similar approach is used in Plotly - Essentially using a 3D scatterplot to visualize NetworkX networks. Not sure whether this is the way to go for D3.

nthomsencph avatar Aug 06 '22 15:08 nthomsencph