Number: 1508
Title: Fixedsize fails for nodes with multiple peripheries
Submitter: Emden R. Gansner
Date: Mon Nov 3 15:41:55 2008
Subsys: Output generation
Version: 2.21
System: *-*-
Severity: minor
The width and height attributes play two roles: on input, they specify the minimum sizes; on output, they specify the final size. Normally, this is okay, but if nodes has multiple peripheries, nodes will grow over time.

For example, with the suggested input graph, dot in.gv produces a very different drawing than

   dot in.gv | dot | dot | dot | dot

This means that applications wishing to run dot multiple times must keep track of any original width and height settings and restore them before calling dot.

From another viewpoint, the fixedsize attribute does not work as specified since the size of the resulting node will be bigger than specified by the width and height parameters, even if fixedsize=true.

graph {
    a [shape=box, peripheries=5]
Owner: *
Status: *