mscgen_js icon indicating copy to clipboard operation
mscgen_js copied to clipboard

Feature request: add auto numbering

Open Walter-Chang opened this issue 4 years ago • 5 comments

Xu is decared to be a superset of msgen, but some msgen features, such as auto numbering, are not supported using xu. Chapter 8.4 of MscGen document show the usage of auto numbering, but the property cannot be recognized by Xu.

Walter-Chang avatar May 11 '20 02:05 Walter-Chang

Hi @Walter-Chang - Xù is a superset of the mscgen language as described here: http://www.mcternan.me.uk/mscgen/. To the best of my knowledge that doesn't have auto numbering.

The link you provided is for a program/ language called msc-generator, which is a different thing. Apparently, it seems to be called MSC-gen once in a while (which is confusing)...

sverweij avatar May 11 '20 16:05 sverweij

Hi Sverweij, Thanks for your explanation. Sorry for confusing msc-generator as msc-gen. Actually, I think auto-numbering is really helpful, especially when I trying to present a long flow. It is easier to keep the presentator and listener on the same page. Can you plan auto-numbering as a feauture of Xù in future, or is there any workaround I can take to implement t it? Thanks again for giving this great tool ! Walter

Walter-Chang avatar May 12 '20 02:05 Walter-Chang

@Walter-Chang auto-numbering has been on the mscgenjs core product backlog for some time. T.b.h. I'm not making much progress on mscgen.js features a.t.m. because of other commitments. That said, it should not be super hard to implement once it's figured out what exactly to count (assumption: individual messages, even when they occur at the same time, like 2 and 3 in the chart below - (check?))

mscgenjs_chart

sverweij avatar May 12 '20 16:05 sverweij

Hi Sverweij, You are right, it is difficult to judge which line needs to be counted, since there user's requirement varies big. I think one option is to let user decide the line to be counted. We can have 2 types of flags, global auto-number flag and inline flag, just like other properties. Thanks. Walter

Walter-Chang avatar May 13 '20 01:05 Walter-Chang

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

stale[bot] avatar May 20 '20 05:05 stale[bot]