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

Mermaid does not work with d3.js #606

Closed
Caian opened this issue Dec 13, 2017 · 2 comments
Closed

Mermaid does not work with d3.js #606

Caian opened this issue Dec 13, 2017 · 2 comments

Comments

@Caian
Copy link

Caian commented Dec 13, 2017

I'm doing an impress.js presentation with d3.js for my charts and I decided to use mermaid to display some flowcharts. But, when I add both to my html, only the topmost works:

(mermaid works, d3 chart is empty)

<script type="text/javascript" src="js/mermaid.js"></script>
<script type="text/javascript" src="js/d3.js"></script>

(d3.js works, mermaid shows the flowchart code)

<script type="text/javascript" src="js/mermaid.js"></script>
<script type="text/javascript" src="js/d3.js"></script>

The version of mermaid is the one included with impress.js and d3.js version is 4.12.0.

@tylerlong
Copy link
Collaborator

Latest version supports D3 V4. Previous version only supports D3 V3.

@kashid16
Copy link

kashid16 commented Apr 29, 2019

I am using d3 Version 4, but still having issue. @tylerlong

mgenereu pushed a commit to mgenereu/mermaid that referenced this issue Jun 25, 2022
…t_shortcuts

Enable comments in/out shortcut command
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

3 participants