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

Angled arrows to denote time passing #41

Closed
davidje13 opened this issue Jan 13, 2018 · 1 comment
Closed

Angled arrows to denote time passing #41

davidje13 opened this issue Jan 13, 2018 · 1 comment

Comments

@davidje13
Copy link
Owner

As discussed for another library: bramp/js-sequence-diagrams#129

It would be desirable to be able to show messages taking time to reach their destination, allowing other messages to get mixed up with them. Maybe something like:

A -> ...my arrow ID: Delayed message # Message is sent
B -> C: something else happens
...my arrow ID -> B                  # Message arrives

Need to consider text overlap, e.g.:

A -> ...id1: Message 1
B -> ...id2: Message 2
...id1 -> B
...id2 -> A
@davidje13
Copy link
Owner Author

This has been implemented in a basic form using the proposed syntax (except the message is defined on the second part, not the first). This also works with self-communications.

Text overlap is an issue, but for now it will have to be up to the user to make sure text is displayed nicely; I can't think of a way to enforce a good layout.

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

1 participant