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

Lifeline has wrong length

MrCoder opened this issue · comments

As shown in the below diagram, the Lifeline would have been visible under the participant box if the participant box had a transparent background.
This make it difficult for theme designers to design a them with transparent participant background.

Screenshot 2023-11-20 at 12 28 25 pm

Hello @MrCoder !
I am interested in working on this issue. Can you please assign me this issue!

Thank you, @bhavik001. Apologies for overlooking your message. Next time, feel free to proceed without waiting for my assignment. We always welcome a PR at any time.

Hey @MrCoder
I am getting below error while running npx pnpm run dev this command
image

commented

Hi, @bhavik001
The script in vite.config.js uses a Unix command find so it can't be run in Windows.
We recommend you to use WSL to run the project, otherwise, you can overwrite the script with an alternate to fix the issue:

function getCypressHtmlFiles() {
  const cypressFolder = resolve(__dirname, 'cy');
  let cypressHtmlFiles = [];
  readdirSync(cypressFolder).forEach(file => {
    if(file.endsWith('.html')) cypressHtmlFiles.push(join(cypressFolder,file));
  });
  return cypressHtmlFiles;
}

But you may encounter more incompatibility issues in Windows environment.