]> granicus.if.org Git - graphviz/commitdiff
Update documents to describe dynamic choice of port side
authorerg <devnull@localhost>
Fri, 15 Aug 2008 14:50:09 +0000 (14:50 +0000)
committererg <devnull@localhost>
Fri, 15 Aug 2008 14:50:09 +0000 (14:50 +0000)
doc/infosrc/lang.2
doc/infosrc/types
doc/todo.html

index 04d6f88c9c1d2d80ff2d91b6adb88daf30979d10..3635c05ef5b8830c69eda6c275746c664494e90c 100644 (file)
@@ -3,7 +3,8 @@
 The keywords <B>node</B>, <B>edge</B>, <B>graph</B>, <B>digraph</B>,
 <B>subgraph</B>, and <B>strict</B> are case-independent.
 Note also that the allowed compass point values are not keywords, so
-these strings can be used elsewhere as ordinary identifiers.
+these strings can be used elsewhere as ordinary identifiers and, conversely,
+the parser will actually accept any identifier.
 <P>
 An <I>ID</I> is one of the following: 
 <MENU>
index fc5513cadb6d83b332d11502a9b67f84929ab598..74b1f246450b2c8e0f162a2bd94d6eda6ef83b3b 100644 (file)
@@ -197,14 +197,17 @@ If the first form is used, the corresponding node must either have
 having the given <I>portname</I>,
 or have an <A HREF=shapes.html#html>HTML-like label</A>, one of
 whose components has a <TT>PORT</TT> attribute set to <I>portname</I>.
-In this case, the edge is aimed for the center of the corresponding
-field.
 <P>
 If a compass point is used, it must have the form
-<TT>"n","ne","e","se","s","sw","w","nw"</TT>. This modifies the edge
+<TT>"n","ne","e","se","s","sw","w","nw","c","_"</TT>. This modifies the edge
 placement to aim for the corresponding compass point on the port or,
 in the second form where no <I>portname</I> is supplied, on the node
-itself.
+itself. The compass point "c" specifies the center of the node or port.
+The compass point "_" specifies that an appropriate side of the port
+adjacent to the exterior of the node should be used, if such exists.
+Otherwise, the center is used.
+If no compass point is used with a portname, the default value is "_".
+<P>
 <P>
 This attribute can be attached to an edge using the
 <A HREF=#k:headport>headport</A> and
index 3a0ca4a5eba417e80dd3cb4dae3420a939785334..762c9f4580af4a43ee5bbc4292d7fa2b66a4ea84 100755 (executable)
@@ -30,7 +30,6 @@ SCN - Treemaps
 JCE - Extend attribute set for line styles
 JCE - Allow arrowheads in the middle of edges
 JCE - Support single, uniform font descriptors &#224; la pango
-ERG - Variable port depending on layout
 ERG - Better aspect ratio in dot
 ERG - New text labels with font elements &lt;B&gt;, &lt;I&gt;, &lt;TT&gt;, etc. (support via fontconfig or egregious hacks)
 ERG - New orthogonal routing code
@@ -91,6 +90,7 @@ ERG - Allow edges as line segments and polylines
 ERG - New multiedge code
 YH/ERG - New overlap adjustment strategies
 YH - Faster fdp (sfdp)
+ERG - Variable port depending on layout
 </pre>
 <H2>Retired</H2>
 <pre>