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

Syntax error when drawing arrow (in graph) from a subgraph to same subgraph #5036

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

Comments

@zgornel
Copy link

zgornel commented Nov 15, 2023

Description

Syntax error inside graph arrows when the source and destination point to the same subgraph

Steps to reproduce

  1. Copy and paste the code sample into the live editor

Screenshots

No response

Code Sample

graph LR;
    subgraph KB
        f_id0["a"]
        f_id1["b"]
    end
    KB-->KB

Setup

  • Mermaid version:10.6.1
  • Browser and Version: [Firefox]

Suggested Solutions

No response

Additional Context

No response

@zgornel zgornel added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Nov 15, 2023
@jgreywolf jgreywolf added include roadmap items to add to roadmap for auto workflow and removed include roadmap items to add to roadmap for auto workflow labels Nov 16, 2023
@jgreywolf
Copy link
Contributor

Looks like the error is related to cloning and setting the curve type to basis?

Failed to execute 'structuredClone' on 'Window': function curveBasis(t){return new Basis(t)} could not be cloned.

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

2 participants