This requests an enhancement to the MSC language to support partial label
attributes as below in the order of priority.
(1) Hyperlink for only part of the label text. Currently, if URL attribute is
specified, it applies to the complete label text. It may not look nice, for
example, in the following
A => B [label="Message\n(Params: X=1, Y=2)",URL="MessageURL"];
In this example msc generated by mscgen as shown in attached png, both the lines of text can be clicked. Instead it may be nice if only the first line is a link.
This enhancement may be provided generically by using HTML <a> kind of attribute, but it may affect the readability of doxygen msc text. Instead an escape \l can be used to specify the start and stop of the link inside label.
(2) Italisize/Boldface/emphasize part of label text. Can be provided by \b, \i
and \a escapes. These escapes shall toggle the corresponding attribute.
(3) Colorize part of text. Can it be provided by \c[color]? \c[] may imply
default color as specified by the textcolor attribute.
Other escapes other than \\ and \n may be reserved for future use.
Original issue reported on code.google.com by arunmozh...@gmail.com on 17 Sep 2010 at 4:30
Original issue reported on code.google.com by
arunmozh...@gmail.com
on 17 Sep 2010 at 4:30Attachments: