From: erg Date: Fri, 11 Jan 2008 22:17:54 +0000 (+0000) Subject: Update info files X-Git-Tag: LAST_LIBGRAPH~32^2~4876 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d9bbbeba88b814fa28f0ec632cacce70bac69ccd;p=graphviz Update info files --- diff --git a/doc/info/attrs.html b/doc/info/attrs.html index 1f741fff2..62f17bd98 100644 --- a/doc/info/attrs.html +++ b/doc/info/attrs.html @@ -1850,19 +1850,21 @@ the given types.

The viewPort W,H,Z,x,y or W,H,Z,N specifies a viewport for the final image. The pair (W,H) gives the - dimensions (width and height) of the viewport image, in - points, - in the original graph drawing. - The optional Z is the zoom factor, i.e., the resulting image will be - Z*W by Z*H points in size. By default, Z is 1. - The optional last part is either a pair (x,y) giving the position in the graph, in + dimensions (width and height) of the final image, in + points. + The optional Z is the zoom factor, i.e., the image in the original layout will be + W/Z by H/Z points in size. By default, Z is 1. + The optional last part is either a pair (x,y) giving a position in the original layout of the + graph, in points, of the center of the viewport, or the name N of a node whose center should used as the focus. By default, the focus is the center of the graph bounding box, i.e., (bbx/2,bby/2), where "bbx,bby" is the value of the bounding box attribute bb.

- Sample values: 50,50,.5,'2.8 BSD' or 100,100,2,450,300 + Sample values: 50,50,.5,'2.8 BSD' or 100,100,2,450,300. + The first will take the 100x100 point square centered on the node 2.8 BSD + and scale it down by 0.5, yielding a 50x50 point final image.