From: Emden R. Gansner Date: Wed, 26 Feb 2014 21:16:44 +0000 (-0500) Subject: Note change in neato output X-Git-Tag: 2.38.0~55 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4e2a6f5f9de28679cf301458b1b0a8c630a3ca14;p=graphviz Note change in neato output --- diff --git a/doc/info/attrs.html b/doc/info/attrs.html index 157ec2d89..0d3205cfa 100644 --- a/doc/info/attrs.html +++ b/doc/info/attrs.html @@ -1550,13 +1550,18 @@ of the layout programs. node from moving from the input position. This property can also be specified in the pos attribute itself (cf. the point type).

- Note: Due to an artifact of the implementation, final coordinates + Note: Due to an artifact of the implementation, + previous to 27 Feb 2014, 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. +

+ After 27 Feb 2014, this translation is no longer done. However, if the graph + specifies node overlap removal or a change in + aspect ratio, node coordinates may still change.

pos
Position of node, or spline control points. diff --git a/doc/infosrc/attrs b/doc/infosrc/attrs index 1a95a27eb..d1e9d8da2 100644 --- a/doc/infosrc/attrs +++ b/doc/infosrc/attrs @@ -978,13 +978,18 @@ If true and the node has a pos attribute on input, neato or fdp prevents the node from moving from the input position. This property can also be specified in the pos attribute itself (cf. the point type).

-Note: Due to an artifact of the implementation, final coordinates +Note: Due to an artifact of the implementation, +previous to 27 Feb 2014, 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. +

+After 27 Feb 2014, this translation is no longer done. However, if the graph +specifies node overlap removal or a change in +aspect ratio, node coordinates may still change. :pos:EN:point/splineType; Position of node, or spline control points. For nodes, the position indicates the center of the node.