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

Upstream Issue #4736 #1

Open
bonyuta0204 opened this issue Nov 23, 2023 · 1 comment
Open

Upstream Issue #4736 #1

bonyuta0204 opened this issue Nov 23, 2023 · 1 comment

Comments

@bonyuta0204
Copy link
Owner

mermaid-js#4736

@bonyuta0204
Copy link
Owner Author

bonyuta0204 commented Nov 23, 2023

Cause of the issue

In the labelHelper method in packages/mermaid/src/dagre-wrapper/shapes/util.js,
size of the element with image inside has 0 x 0 size.
https://github.com/mermaid-js/mermaid/blob/4a4e614b646bdb5f91f02d0483a7704b315d09fd/packages/mermaid/src/dagre-wrapper/shapes/util.js#L101

How To reproduce

graph TD
    B[<img src='https://mermaid.js.org/mermaid-logo.svg'>]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant