]> granicus.if.org Git - graphviz/commitdiff
Update info files
authorerg <devnull@localhost>
Wed, 16 Jan 2008 04:38:26 +0000 (04:38 +0000)
committererg <devnull@localhost>
Wed, 16 Jan 2008 04:38:26 +0000 (04:38 +0000)
doc/info/attrs.html

index 62f17bd9888050e0596522524b25541b1461f505..adc9ff1090aedc7bbd5e956bb3679e5842056ee5 100644 (file)
@@ -1192,6 +1192,14 @@ This field indicates which graph component uses the attribute.
 <DD>  If true and the node has a pos attribute on input, neato prevents the
   node from moving from the input position. This property can also be specified
   in the pos attribute itself (cf. the <A HREF=#d:point>point</A> type).
+  <P>
+  <B>Note:</B> Due to an artifact of the implementation, final coordinates
+  are translated to the origin. Thus, if you look at the output coordinates 
+  given in the (x)dot or plain format, pinned nodes will not have the same  
+  output coordinates as were given on input. If this is important, a 
+  simple workaround is to maintain the coordinates of a pinned node. The vector
+  difference between the old and new coordinates will give the translation, 
+  which can then be subtracted from all of the appropriate coordinates.
 
 <DT><A NAME=d:pos HREF=#a:pos><STRONG>pos</STRONG></A>
 <DD>  Position of node, or spline control points.