edge label interrogation

when using dot with the dot or plain option, it outputs the coordinates of edge labels.
how is this to be interpreted?
is it the lower-left corner of the first character?
also, is there a way to determine the size of the label, perhaps as the upper-right corner coordinate of the last character?



The label position indicates

The label position indicates the center of the text block; see http://www.graphviz.org/content/attrs#dlp. This holds for both dot and plain formats.

These formats supply basic position information; the assumption is that the renderer will provide the missing details. If you need more information, use the xdot format (http://www.graphviz.org/content/output-formats#dxdot) which provides the drawing information in full detail.

Recent comments