From a08f1ab59fae82c0ad8edaf74646467a10ab1da7 Mon Sep 17 00:00:00 2001 From: erg Date: Tue, 15 Feb 2005 16:04:52 +0000 Subject: [PATCH] Update info files --- doc/info/attrs.html | 22 +++++++++++++++++++--- doc/info/output.html | 11 ++++++++++- 2 files changed, 29 insertions(+), 4 deletions(-) diff --git a/doc/info/attrs.html b/doc/info/attrs.html index 61e41d7e1..40e941d37 100644 --- a/doc/info/attrs.html +++ b/doc/info/attrs.html @@ -891,7 +891,7 @@ This field indicates which graph component uses the attribute.
pos
Position of node, or spline control points, in points. - In neato, pos can be used to set initial position of a node. + In neato and fdp, pos can be used to set initial position of a node. Concerning this, see the -s command line flag.
quantum @@ -1169,7 +1169,20 @@ This field indicates which graph component uses the attribute. value given to width will be the final value.
z -
Provides z coordinate for the node when output format is VRML. +
Provides z coordinate value for 3D layouts and displays. If the + graph has dim set to 3 (or more), + neato will use a node's z value + for the z coordinate of its initial position if + its pos attribute is also defined. +

+ Even if no z values are specified in the input, it is necessary to + declare a z attribute for nodes, e.g, using node[z=""] + in order to get z values on output. + Thus, setting dim=3 but not declaring z will + cause neato -Tvrml to + layout the graph in 3D but project the layout onto the xy-plane + for the rendering. If the z attribute is declared, the final rendering + will be in 3D.


@@ -1318,9 +1331,12 @@ the given types. until the topmost row is traversed.
point -
"%d,%d"('!') representing the point (x,y). The +
"%f,%f"('!') representing the point (x,y). The optional '!' indicates the node position should not change (input-only). +

+ If dim is 3 or more, point may also have + the format "%f,%f,%f"('!') to represent the point (x,y,z).

pointf
"%lf,%lf" representing the point (x,y). diff --git a/doc/info/output.html b/doc/info/output.html index 0c5a25318..074e12c38 100644 --- a/doc/info/output.html +++ b/doc/info/output.html @@ -350,7 +350,16 @@ is one of the following:
vrml
Outputs graphs in the VRML format. - VRML relies on having the PNG library. + To get a 3D embedding, nodes must have a z + attribute. These can either be supplied as part of the input graph, or + be generated by neato provided dim=3 + and at least one node has a z value. +

+ Line segments are drawn as cylinders. + In general, VRML output relies on having the PNG library to produce images + used to texture-fill the node shapes. However, if + shape=point, + a node is drawn as a 3D sphere.

vtx
Generates graph diagrams in the format for -- 2.40.0