]> granicus.if.org Git - graphviz/commitdiff
Update info files
authorerg <devnull@localhost>
Tue, 3 Jan 2006 21:37:15 +0000 (21:37 +0000)
committererg <devnull@localhost>
Tue, 3 Jan 2006 21:37:15 +0000 (21:37 +0000)
doc/info/attrs.html
doc/info/shapes.html

index 8110f5ae75538ba5ffb14d89c2dc6fdf5fc7dc09..e9036de55fe805d4997bcaaf3185279cbf571052 100644 (file)
@@ -1566,6 +1566,12 @@ the given types.
   Additional styles are available in
   device-dependent form. Style lists are passed to device drivers, which
   can use this to generate appropriate output.
+  <P>
+  The <A NAME=d:setlinewidth><TT>setlinewidth</TT></A> style value can be
+  used for more control over the width of edges and node borders than is
+  allowed by <TT>bold</TT>. The style takes an argument, specifying the
+  width of the line in points. For example, <TT>style="bold"</TT> is
+  equivalent to <TT>style="setlinewidth(2)"</TT>. 
 
 <DT><A NAME=k:viewPort><STRONG>viewPort</STRONG></A>
 <DD>"%lf,%lf,%lf,%lf,%lf" The viewPort "W,H,Z,x,y" 
index c7cfdd5b9466789b68c04ad693635365a8daee46..9e8853ff6ace15428044da310098ffcd52a36994 100644 (file)
@@ -184,8 +184,13 @@ it then looks like:<BR>
 <H2><A NAME="d:style">Styles for Nodes</A></H2>
 The <A HREF=attrs.html#d:style><TT>style</TT></A>
 attribute can be used to modify the appearance of a node.
-At present, there are 4 style values recognized:
-<TT>filled</TT>, <TT>invisible</TT>, <TT>diagonals</TT> and <TT>rounded</TT>.
+At present, there are 8 style values recognized:
+<TT>filled</TT>, <TT>invisible</TT>, <TT>diagonals</TT>, <TT>rounded</TT>.
+<TT>dashed</TT>, <TT>dotted</TT>, <TT>solid</TT> and <TT>bold</TT>.
+As usual, the value of the <A HREF=attrs.html#d:style><TT>style</TT></A>
+attribute can be a comma-separated list of any of these. If the
+style contains conflicts (e.g, <TT>style="dotted, solid"</TT>), the last
+attribute wins.
 <DL>
 <DT><A NAME=d:filled><TT>filled</TT>
   <DD>This value indicates that the node's interior should be filled.
@@ -242,6 +247,17 @@ digraph R {
 </XMP>
 to produce the figure<BR>
 <IMG SRC=round.gif>
+<DT><A NAME=d:dashed><TT>dashed</TT>
+  <DD>This style causes the node's border to be drawn as a dashed line.
+<DT><A NAME=d:dotted><TT>dotted</TT>
+  <DD>This style causes the node's border to be drawn as a dotted line.
+<DT><A NAME=d:solid><TT>solid</TT>
+  <DD>This style causes the node's border to be drawn as a solid line,
+which is the default.
+<DT><A NAME=d:bold><TT>bold</TT>
+  <DD>This style causes the node's border to be drawn as a bold line.
+See also <A HREF=attrs.html#d:setlinewidth>setlinewidth</A>.
+
 </DL>
 
 <P>