Next: Coloring Input Files, Up: Command-Line Referece [Contents]
When you specify lmap as output file format, Msc-generator creates a text file
with one line for each text label in the chart28 (and no graphics output). The default extension
will be .map
. The lines in the output file contains the followin information separated by
space.
<type> <page> <x1> <y1> <x2> <y2> <first line>
The type
character tells, what chart element contained this label. The following characters
are possible
A
Arrow, including block arrows (including boxes collapsed to arrows)
E
Entity heading. Each appeareance of the entities will result in one line.
B
Box that has content (unless collapsed)
b
Box that contains just a label (or collapsed)
P
Pipes
V
Verticals (all forms, including boxes, block arrows, ranges, braces and brackets)
D
Divides, titles, subtitles, discontinuity lines and plain text (like [label="aaa"];
).
N
Floating notes
C
Comments (on the side or at the end)
The second item page
gives which page the label is on. One label is mentioned only once
even if it spans multiple pages.
The following four numbers give the upper left and lower right corner of the bounding box of the label (and not the corresponding element). It is given in pixels for bitmap output and in logical coordinates matching the logical size of the output image for vector graphics output. The coordinates are relative to the top left corner of the page origin and are rounded to integers for ease of use. So if you run Msc-generator twice, once with a graphics output format and once with label map output (leaving all scaling and other swicthes the same), the coordinates of the label map shall match the graphics output perfectly.
Finally the line ends with the first line of the label (which may contain spaces), potentially with the number prepended (if any) in the number format used in the chart (e.g., roman numbers). Note that the coordinates specify the bounding box of the entire label, not just the first line given here.
In this release of Msc-generator, label maps are not emitted for graphs.
Next: Coloring Input Files, Up: Command-Line Referece [Contents]