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

error with node with name ending with "v" #47

Closed
romainfrancois opened this issue Jan 20, 2015 · 1 comment
Closed

error with node with name ending with "v" #47

romainfrancois opened this issue Jan 20, 2015 · 1 comment

Comments

@romainfrancois
Copy link

e.g. :

mermaid( "graph LR; Av -->B" )

produces a html file containing this:

Parse error on line 1:
graph LR; Av -->B
-----------^
Expecting 'EOF', 'GRAPH', 'SPACE', 'DIR', 'TAGEND', 'TAGSTART', 'SEMI', 'NEWLINE', 'SQS', 'SQE', 'PS', 'PE', 'DIAMOND_START', 'DIAMOND_STOP', 'MINUS', '--', 'ARROW_POINT', 'ARROW_CIRCLE', 'ARROW_CROSS', 'ARROW_OPEN', 'PIPE', 'STYLE', 'LINKSTYLE', 'CLASSDEF', 'CLASS', 'CLICK', 'NUM', 'COMMA', 'ALPHA', 'COLON', 'BRKT', 'DOT', 'PLUS', 'EQUALS', 'MULT', 'TAG_START', 'TAG_END', 'QUOTE', got 'DOWN'

where with a capital V it works fine;

mermaid( "graph LR; AV -->B" )

gives me this:

mermaid

@timelyportfolio
Copy link
Contributor

Thanks so much. I am able to reproduce. The mermaid.js is improving but still a little delicate. I'll check to make sure this is the mermaid.js parser and file an issue there.

timelyportfolio added a commit to timelyportfolio/DiagrammeR that referenced this issue Jan 21, 2015
rich-iannone added a commit that referenced this issue Jan 21, 2015
update mermaid; see issue #47 regarding lower case v breaking parser
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