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

fix: only consider edges which are present in DOM for flowchart #64

Merged
merged 3 commits into from
May 13, 2024

Conversation

ad1992
Copy link
Member

@ad1992 ad1992 commented May 13, 2024

Sometime mermaid db getEdges function returns edges which aren't present in the DOM hence I am filtering the edges to consider only which are present in DOM. I have created an issue in mermaid as well for the same, will try to fix this in mermaid library itself.

flowchart TB   
    subgraph conference
        frontend
        backend
        security
    end
    frontend --> |Dive into frontend frameworks| conference
    backend --> |Learn all about backend| conference
    security --> |securing web apps| conference

Copy link

vercel bot commented May 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
mermaid-to-excalidraw ✅ Ready (Inspect) Visit Preview May 13, 2024 7:55am

@ad1992 ad1992 merged commit 602a6f2 into master May 13, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

1 participant