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

Graph edges appear to render outside of the canvas #70

Closed
it0a opened this issue Dec 23, 2014 · 5 comments
Closed

Graph edges appear to render outside of the canvas #70

it0a opened this issue Dec 23, 2014 · 5 comments

Comments

@it0a
Copy link
Contributor

it0a commented Dec 23, 2014

jsbin here
The following graph appears to render the A-->D edge outside of the canvas:

graph TD;
    A-->B;
    A-->C;
    A-->D;
    B-->D;

Rearranging the order to the following will render correctly:

graph TD;
    B-->D;
    A-->B;
    A-->C;
    A-->D;
@knsv
Copy link
Collaborator

knsv commented Dec 23, 2014

Hi! Good thing with the jsbin, it helped me figure out what the problem was.

The url to mermaid was pointing to an old version of mermaid. I think there is an issue with updating of the cdn cache or something. Try the url to a specific tag instead like the url below. That should resolve your problem (hopefully):
https://cdn.rawgit.com/knsv/mermaid/0.3.0/dist/mermaid.full.min.js

@knsv
Copy link
Collaborator

knsv commented Dec 23, 2014

Or not. I see the problem with the new version as well. Will take a look.

knsv added a commit that referenced this issue Dec 23, 2014
@knsv
Copy link
Collaborator

knsv commented Dec 23, 2014

Found the issue and a fix is committed but not yet released

@it0a
Copy link
Contributor Author

it0a commented Dec 23, 2014

Alright, sweet! Looking forward to it.

@knsv
Copy link
Collaborator

knsv commented Jan 8, 2015

Closing after release

@knsv knsv closed this as completed Jan 8, 2015
mgenereu referenced this issue in mgenereu/mermaid Jun 25, 2022
Fix the problem that the use of br tag causes image export failure
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

2 participants