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

Misplaced arrow when prism node points to subgraph and a node #4940

Open
TszwangKo opened this issue Oct 11, 2023 · 1 comment
Open

Misplaced arrow when prism node points to subgraph and a node #4940

TszwangKo opened this issue Oct 11, 2023 · 1 comment
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect

Comments

@TszwangKo
Copy link

Description

When prism node points to both a node and a subgraph, the arrow is misplaced

mermaid-diagram-2023-10-11-152906

Steps to reproduce

flowchart
step2_1{Prism Node} --> step2_2[any node]
step2_1{Prism Node} --> step2_3

subgraph step2_3[subgraph]
node[any Node]
end

Screenshots

mermaid-diagram-2023-10-11-152906

Code Sample

flowchart 
    step2_1{Prism Node} --> step2_2[any node]
    step2_1{Prism Node} --> step2_3


subgraph step2_3[subgraph]
    node[any Node]
end

Setup

  • Mermaid version: 10.5.0
  • Browser and Version: [Chrome]

Suggested Solutions

Connect the base of the arrow back to the prism node

Additional Context

No response

@TszwangKo TszwangKo added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Oct 11, 2023
@thectogeneral
Copy link

thectogeneral commented Oct 12, 2023

I will be willing to work on this issue if there's no one currently working on it

@jgreywolf jgreywolf added include and removed include labels Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect
Projects
None yet
Development

No branches or pull requests

3 participants