From: erg Date: Thu, 1 Nov 2007 22:54:07 +0000 (+0000) Subject: Update info files X-Git-Tag: LAST_LIBGRAPH~32^2~5099 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=42b15d3afe7196710b0c51a9db3881bd7ddfdae4;p=graphviz Update info files --- diff --git a/doc/info/attrs.html b/doc/info/attrs.html index 41514f7e3..2f28dad49 100644 --- a/doc/info/attrs.html +++ b/doc/info/attrs.html @@ -200,6 +200,11 @@ This field indicates which graph component uses the attribute. href ElblString ""svg, postscript, map only + image +Nstring"" + imagescale +Nbool +
stringfalse label ENGClblString "N"(nodes)
"" (otherwise) @@ -786,6 +791,40 @@ This field indicates which graph component uses the attribute.
href
Synonym for URL. +
image +
Gives the name of a file containing an image to be displayed inside + a node. The image file must be in one of the recognized formats, + typically JPEG, PNG, GIF or Postscript. +

+ Unlike with the shapefile attribute, + the image is treated as node + content rather than the entire node. In particular, an image can + be contained in a node of any shape, not just a rectangle. + +

imagescale +
Attribute controlling how an image interacts with the size of its + containing node. By default, the image is given its natural size, + (cf. dpi) + and the node size is determined by the size of its image, its + label, its margin, and its peripheries. +

+ In the non-default cases, the size of the node is calculated as + if no image were present. Then, when the node is + drawn, the image is scaled to the node size. + When imagescale=true, + the image is uniformly scaled to fit inside the node. + At least one dimension of the image will be as large as possible + given the size of the node. + When imagescale=width, + the width of the image is scaled to fill the node width. + The corresponding property holds when imagescale=height. + When imagescale=both, + both the height and the width are scaled separately to fill the node. +

+ In all cases, if a dimension of the image is larger than the + corresponding dimension of the image, that dimension of the + image is scaled down to fit the node. +

label
Text label attached to objects. If a node's shape is record, then the label can @@ -1294,7 +1333,7 @@ This field indicates which graph component uses the attribute.
Set the shape of a node.
shapefile -
If defined, shapefile specifies a file containing user-supplied node content. +
(Deprecated) If defined, shapefile specifies a file containing user-supplied node content. The shape of the node is set to box. The image in the shapefile must be rectangular. The image formats supported as well as the precise semantics of