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

cli: no lines and arrowheads rendered / only dotted lines #187

Closed
nylki opened this issue Jul 14, 2015 · 6 comments
Closed

cli: no lines and arrowheads rendered / only dotted lines #187

nylki opened this issue Jul 14, 2015 · 6 comments

Comments

@nylki
Copy link

nylki commented Jul 14, 2015

When rendering the sample flowchart:

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

with mermaid sample.mermaid I get a graph without lines and arrowheads. The dotted line is rendered though:
sample mermaid
mermaid --version
--> 0.5.1

@knsv
Copy link
Collaborator

knsv commented Jul 14, 2015

Try adding a stylesheet using the -t option. That should do the trick. I guess better the default styles are somewhat thin... :)

@nylki
Copy link
Author

nylki commented Jul 14, 2015

@knsv thanks! Is there a good stylesheet you can recommend somewhere (which has visible lines :P) so I can start editing own styles.

@knsv
Copy link
Collaborator

knsv commented Jul 15, 2015

@nylki
Copy link
Author

nylki commented Jul 15, 2015

@knsv That does help a bit. However I don't get the consistent results I get in the Live Editor. Arrows still seem to be a problem.
For testing purposes I used the same stylesheet used for the live editor.

This is the live editors result:
bildschirmfoto 2015-07-15 um 14 40 49

This is the mermaid-cli's result:
sample mermaid

Do you know what this could be the cause, although the stylesheet should be the same?

@knsv
Copy link
Collaborator

knsv commented Jul 15, 2015

I see...

Your issue is now actually a duplicate of issue #181. This has been fixed but not yet released. The fix is available in the lasted build if you want to live in the edge. :)

https://github.com/knsv/mermaid/tree/master/dist

@nylki
Copy link
Author

nylki commented Jul 15, 2015

@knsv Ahh great, I'll try the latest build then. Thanks for your quick help! 👍

@nylki nylki closed this as completed Jul 15, 2015
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