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

Subgraph syntax bug? #120

Closed
caryfitzhugh opened this issue Feb 12, 2015 · 4 comments
Closed

Subgraph syntax bug? #120

caryfitzhugh opened this issue Feb 12, 2015 · 4 comments

Comments

@caryfitzhugh
Copy link

I'm trying to incorporate mermaid graphs into a blog posting.

I can do simple (non-subgraph) graphs just fine.

I try to do a subgraph and the parser gets confused
hle6j06

I can see it working on this page: http://knsv.github.io/mermaid/flowchart.html#subgraphs

And even copying the code for the subgraph from that page's view-source into my page - fails.

http://hivewing.github.io/2015/02/12/Testing-Mermaid.html

I have checked, and the example page's script src is the same as the one in my blog.

What else substantive could be different?

Same JS sources (at least the mermaid source). Same graph definition... ?

Any help is appreciated!

@sujeetpillai
Copy link

I'm having the same issue. I'm assuming you solved it. How did you manage it?

@knsv
Copy link
Collaborator

knsv commented Mar 24, 2015

What version are you on?

The subgraphs was introduced after the initial release.

That might your issue. I hope this helps.

/Knut

Knut Sveidqvist
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)

On Saturday 21 March 2015 at 09:44, Sujeet Pillai wrote:

I'm having the same issue. I'm assuming you solved it. How did you manage it?


Reply to this email directly or view it on GitHub (#120 (comment)).

@TobyAbel
Copy link

@caryfitzhugh I get a 404 from your hivewing page, but I've experienced this problem just now when ending a subgraph with a semicolon. Removing the semicolon causes it to render perfectly.

@sujeetpillai
Copy link

it was a version issue. Upgrading fixed it.

On Tue, Mar 24, 2015 at 5:21 PM Toby Abel notifications@github.com wrote:

(apart from having the horrible black background as described in #121
#121 rather than the nice yellow
one here[http://knsv.github.io/mermaid/flowchart.html#subgraphs])


Reply to this email directly or view it on GitHub
#120 (comment).

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

4 participants