mirror of https://github.com/dspinellis/UMLGraph
Sequence diagrams provide an option to specify whether objects are
underlined or not.
This commit is contained in:
parent
75f8df20de
commit
41d8a6b2e2
|
|
@ -24,5 +24,6 @@ a drawing.
|
||||||
<tr><td>dashwid</td><td>0.05</td><td>Interval for dashed lines</td></tr>
|
<tr><td>dashwid</td><td>0.05</td><td>Interval for dashed lines</td></tr>
|
||||||
<tr><td>maxpswid</td><td>11</td><td>Maximum width of picture</td></tr>
|
<tr><td>maxpswid</td><td>11</td><td>Maximum width of picture</td></tr>
|
||||||
<tr><td>maxpsht</td><td>11</td><td>Maximum height of picture</td></tr>
|
<tr><td>maxpsht</td><td>11</td><td>Maximum height of picture</td></tr>
|
||||||
|
<tr><td>underline</td><td>1</td><td>Underline the name of objects</td></tr>
|
||||||
</table>
|
</table>
|
||||||
</notes>
|
</notes>
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,9 @@
|
||||||
<dl>
|
<dl>
|
||||||
|
|
||||||
<dt>Version 5.3 Under development </dt><dd>
|
<dt>Version 5.3 Under development </dt><dd>
|
||||||
|
<ul>
|
||||||
|
<li>Sequence diagrams provide an option to specify whether objects are
|
||||||
|
underlined or not.</li>
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
<dt>Version 5.2 2008-12-03</dt><dd>
|
<dt>Version 5.2 2008-12-03</dt><dd>
|
||||||
|
|
|
||||||
|
|
@ -34,13 +34,14 @@ define comment_default_move {up 0.25 right 0.25};
|
||||||
comment_default_ht=0.5;
|
comment_default_ht=0.5;
|
||||||
# Comment width
|
# Comment width
|
||||||
comment_default_wid=1;
|
comment_default_wid=1;
|
||||||
|
# Underline object name
|
||||||
|
underline=1;
|
||||||
|
|
||||||
# Create a new object(name,label)
|
# Create a new object(name,label)
|
||||||
define object {
|
define object {
|
||||||
$1: box $2; move;
|
$1: box $2; move;
|
||||||
# Could also underline text with \mk\ul\ul\ul...\rt
|
# Could also underline text with \mk\ul\ul\ul...\rt
|
||||||
{
|
if (underline) then {
|
||||||
line from $1.w + (.1, -.07) to $1.e + (-.1, -.07);
|
line from $1.w + (.1, -.07) to $1.e + (-.1, -.07);
|
||||||
}
|
}
|
||||||
move to $1.e;
|
move to $1.e;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue