]> granicus.if.org Git - graphviz/commitdiff
Add note about the visible attribute, and fix a typo.
authorerg <devnull@localhost>
Tue, 11 Jan 2011 16:21:45 +0000 (16:21 +0000)
committererg <devnull@localhost>
Tue, 11 Jan 2011 16:21:45 +0000 (16:21 +0000)
doc/smyrna/attributes.tex
doc/smyrna/smyrna.pdf

index 1c356636b1eb0774cb30eeddd128fc13316210e5..76a26296c405bb41890feb861c670b9ea5ce5b75 100644 (file)
@@ -113,14 +113,20 @@ The larger the distortion, the larger the magnification factor.
 \subsection{Node and Edge Attributes}
 At present, it is assumed that the input graph has been laid out. In particular,
 each node should have a {\tt pos} attribute specifying 2 or 3 real numbers giving the
-x and y and, if applicable, z coordinates of the node. {\bf edge pos}
+x and y and, if applicable, z coordinates of the node. 
+
+{\bf edge pos}
 If an edge does not possess a {\tt pos} attribute, the edge will be drawn as a line segment
 connect its end vertices.
 
 If a node or edge has a {\tt color} attribute, that will be used as its color.
-Similarly, a node may have a {\tt color} attribute, which will affect the node's size if
+Similarly, a node may have a {\tt size} attribute, which will affect the node's size if
 {\tt defaultnodeshape == 1}.
 
+If a node or edge has a {\tt visible} attribute, that will be used to determine whether
+to draw the object or not. By default, the object is drawn.
+To make an object invisible, set {\tt visible = 0}.
+
 \smyrna\ also checks for a {\tt \_draw\_} attribute
 for nodes, edges and graphs. This is assumed to be a valid xdot string describing how to 
 render the object. If the graph has a {\tt \_draw\_} attribute, this will be drawn first to serve
index a91e1efcd0fe9e7072ff11c293d2b3ab8fcbf4de..22a1a1b1aad1d287155abd0c182f07879e2cddf4 100644 (file)
Binary files a/doc/smyrna/smyrna.pdf and b/doc/smyrna/smyrna.pdf differ