Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: add auto numbering #263

Open
Walter-Chang opened this issue May 11, 2020 · 5 comments
Open

Feature request: add auto numbering #263

Walter-Chang opened this issue May 11, 2020 · 5 comments

Comments

@Walter-Chang
Copy link

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.

@sverweij
Copy link
Owner

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)...

@Walter-Chang
Copy link
Author

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

@sverweij sverweij changed the title Auto numbering not working Feature request: add auto numbering May 12, 2020
@sverweij
Copy link
Owner

@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

@Walter-Chang
Copy link
Author

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

@stale
Copy link

stale bot commented May 20, 2020

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 stale bot added the stale label May 20, 2020
@stale stale bot closed this as completed May 22, 2020
@sverweij sverweij reopened this May 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants