mermaid-js / zenuml-core

The ZenUML renderer

Home Page:https://embed.zenuml.com

Repository from Github https://github.commermaid-js/zenuml-coreRepository from Github https://github.commermaid-js/zenuml-core

Message Line Misalignment in Sequence Diagram

MrCoder opened this issue · comments

image

Code to reproduce this issue:

// Issue #88
A->A.method {
  // [bold, red]Issue #89
  B:async message
}

This issue may be related to #88 .

There is a similar scenario when this issue occurs.

image

A.method() {
  B:method
  self() {
    // [bold, red] similar issue
    B:method
  }
}

The PRs have fixed a couple of issues, but it introduced a regression on this following case.

A->B:message
Screenshot 2023-11-22 at 10 46 35 am

Note, sync message works fine.

A->B.method
Screenshot 2023-11-22 at 10 48 35 am

One more example:

A->B.method {
  // [red, bold] issue #89
  A:method
}
Screenshot 2023-11-22 at 10 51 12 am