grossman / mscgen

Automatically exported from code.google.com/p/mscgen
GNU General Public License v2.0
0 stars 2 forks source link

Entity aliases would be cool #64

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What version of mscgen are you using? On what operating system?

Mscgen version 0.17, Copyright (C) 2007 Michael C McTernan,
                                        Michael.McTernan.2001@cs.bris.ac.uk

What enhancement would you like?

Possibility to add alias to entity.
Currently to have complex entity name it is possible to define entity like 
"SomeClass::\nSomeSubclass" which is pretty annoying if this entity is used 
often (even with copy/paste).
Cool feature would be possibility to define entity as:
SC_SS [label="SomeClass::\nSomeSubclass"];
and using SC_SS as entity name in flow diagram while 
"SomeClass::\nSomeSubclass" would be presented as entity name.

pretty please :)

Original issue reported on code.google.com by jakub.cz...@gmail.com on 1 Mar 2011 at 11:11

GoogleCodeExporter commented 8 years ago
Hi

This is already possible:

msc {
  a, b [ label="fish"];
  a->b;
}

I tested with mscgen 0.19, but as I recall it was already available in 0.17?

~Niels

Original comment by NThykier@gmail.com on 1 Mar 2011 at 12:19

GoogleCodeExporter commented 8 years ago
Ahh, indeed, my bad.
Sorry for late answer, I use mscgen on my work PC.
I didn't notice the example in client-server section on documentation page
where it is presented as an example, thanks :)

Original comment by jakub.cz...@gmail.com on 4 Mar 2011 at 8:34