Number: 1449
Title: VRML: arrow gets wrong z when between nodes with z!=0
Submitter: Jocelyn Paine
Date: Tue Sep 23 11:41:35 2008
Subsys: Dot
Version: 2.14.1 and 2.20.2
System: *-*-*
Severity: major
This is the command line: dot -Tvrml -o test.wrl

See next field for

You can see the result at . The arrow that should connect p2 to a2 is in the z=0 plane.

The same problem occurs with similar dot files cntaining more arrows, when drawn as VRML. Sometimes some arrows between z!=0 nodes are in the right plane and others aren't. Similar graphs where all nodes have z=0 get drawn correctly, except that the nodes are hard to read (known bug) and that labels are missing from arrows (new bug?).

Background: I'm using GraphViz to draw diagrams in category theory, as demonstrated at . I thought 3d diagrams would be particularly useful to depict "functors": functions that transform one network of relationships into a similar network. By drawing the two networks in different planes, I hope to appreciate the idea of different but structurally similar networks. Also, it's probably easier to understand such diagrams when you can rotate to view from different angles, rather than having one viewpoint into a 2d image. (I say this because your FAQ suggests avoiding 3d where not essential.)

Any circumvention?

Input file:
Output file: b1449.wrl
Owner: *
Status: *