11

I find GraphViz easy to use, but it renders 2D graphs. Is there an equivalent that renders 3D graphs? The nodes could stay 2D but the graph as 3D would be great. If not, is there an alternative such as using a Perl module or Java package?

My searches only result in 3D gaming engines.

0

2 Answers 2

10

With GraphViz, you can render directly to VRML:

dot -Tvrml graphviz.dot > graphviz.vrml

Then you can use this tool (a java jar that can be run from the command line) to convert VRML to X3D:

http://www.deem7.com/vrmlmerge/howto.php

And then view the X3D file in a browser using the following techniques:

http://doc.x3dom.org/tutorials/models/inline/index.html

Update (years later): deem7.com seems to have gone away, although you can find the original tool via the wayback machine, there are other online tools that seem to do this. Example: https://doc.instantreality.org/tools/x3d_encoding_converter/

6

There is not a great interactive tool I know about, but you can generate a 3D layout in Pajek and then use the King viewer in a website. You can see an example in this YouTube video, with a screenshot here:

enter image description here

Just so you know, while 3D graph visualizations look pretty they are actually quite poor at showing graph structure due to lots of occlusion. This is even worse for a static image with no interaction. I would highly suggest using a good 2D graph visualization system like Gephi, NodeXL, or Cytoscape. Disclaimer: I am an advisor for the NodeXL project.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.