-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
TypeError: Cannot read properties of undefined (reading 'x') #5064
Labels
Internals: Renderer
Status: Approved
Is ready to be worked on
Type: Bug / Error
Something isn't working or is incorrect
Comments
stefanstranger
added
Status: Triage
Needs to be verified, categorized, etc
Type: Bug / Error
Something isn't working or is incorrect
labels
Nov 23, 2023
sidharthv96
added
Status: Approved
Is ready to be worked on
Internals: Renderer
and removed
Status: Triage
Needs to be verified, categorized, etc
labels
Nov 24, 2023
Thanks for reporting this @stefanstranger. graph TB
Out --> In
subgraph Sub
In
end
Sub --> In
graph TB
Out --> In
subgraph Sub
In
end
Sub --> In This is the issue, when there are links between an outside node and the subgraph to a node inside subgraph. |
sidharthv96
added a commit
that referenced
this issue
Nov 24, 2023
4 tasks
github-merge-queue bot
pushed a commit
that referenced
this issue
Nov 24, 2023
fix: #5064 Handle case when line has only one point
sidharthv96
added a commit
to Zumbala/mermaid
that referenced
this issue
Nov 27, 2023
* develop: (289 commits) chore(deps): update all minor dependencies chore(deps): update all patch dependencies fix: flowchart image without text fix Types chore: Update pnpm-lock chore: Add tests for calculateDeltaAndAngle fix: mermaid-js#5064 Handle case when line has only one point reset the testTimeout to 5 seconds and change it directly in the test update testTimeout from 5 seconds to 10 seconds Update all patch dependencies fix broken link add latest blog post Update all minor dependencies Update all patch dependencies Fix docs Update packages/mermaid/src/docs/community/questions-and-suggestions.md Update packages/mermaid/src/diagrams/class/classRenderer-v2.ts update edge ids draw top actors with lines first followed by messages Bump GitHub workflow actions to latest versions ...
sidharthv96
added a commit
to iwestlin/mermaid
that referenced
this issue
Nov 28, 2023
* develop: (596 commits) chore(deps): update all minor dependencies chore(deps): update all patch dependencies fix: flowchart image without text fix Types chore: Update pnpm-lock chore: Add tests for calculateDeltaAndAngle fix: mermaid-js#5064 Handle case when line has only one point reset the testTimeout to 5 seconds and change it directly in the test update testTimeout from 5 seconds to 10 seconds Update all patch dependencies fix broken link add latest blog post Update all minor dependencies Update all patch dependencies Fix docs Update packages/mermaid/src/docs/community/questions-and-suggestions.md Update packages/mermaid/src/diagrams/class/classRenderer-v2.ts update edge ids draw top actors with lines first followed by messages Bump GitHub workflow actions to latest versions ...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Internals: Renderer
Status: Approved
Is ready to be worked on
Type: Bug / Error
Something isn't working or is incorrect
Description
With Mermaid version 10.6.1. the following Mermaid code shows the error "TypeError: Cannot read properties of undefined (reading 'x')"
That Mermaid code was working in version 10.4.0. See following screenshot.
What has changed since version 10.4.0 that breaks the Mermaid diagram creation?
Steps to reproduce
This should give an error.
This should create an svg file.
Screenshots
Code Sample
Setup
Suggested Solutions
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: