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

sequenceDiagram brokens #76

Closed
komaroffdd opened this issue May 3, 2023 · 5 comments
Closed

sequenceDiagram brokens #76

komaroffdd opened this issue May 3, 2023 · 5 comments
Labels
info needed Further information is requested stale No news, closing

Comments

@komaroffdd
Copy link

komaroffdd commented May 3, 2023

Hello i have next diagrams :

sequenceDiagram
    actor user as manager
    participant api as professions
    participant db as database


    user ->> api: api
    api ->> db: db
    db -->> api: echo
    api -->> user: resp 
Loading

i try use this plugins and i get errors:
image

my config : 
site_name: api-docs
nav:
  - Home: 'service/main.md'
  - arch: 'service/architecture/arch.md'
  - scheme: 'service/scheme/scheme.md'
  - api: 'service/sequences/main.md'
plugins:
  - mermaid2
@github-actions
Copy link

github-actions bot commented May 3, 2023

Thank you for your contribution! This is very appreciated.

@fralau
Copy link
Owner

fralau commented May 3, 2023

Could your diagram be incompatible with Mermaid library 8.8.0?

Try to use the latest version on github (which uses the Mermaid library > 10.0)?

@komaroffdd
Copy link
Author

Hello, thanks for fast answer!

if I understand you correctly then i use Mermaid 10 in this comment :)

this is screen

image

image

@fralau
Copy link
Owner

fralau commented May 4, 2023

It's possible.

Did you also try with a very simple diagram, first? (To check that your config is OK?).

Then download the latest version of mkdocs-mermaid2 from github (not pypi) and install.

Let me know.

@fralau fralau added info needed Further information is requested wontfix The code will not be changed stale No news, closing and removed wontfix The code will not be changed labels Jul 5, 2023
@fralau
Copy link
Owner

fralau commented Jul 12, 2023

@komaroffdd What is the status of this issue?

@fralau fralau closed this as completed Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info needed Further information is requested stale No news, closing
Projects
None yet
Development

No branches or pull requests

2 participants