question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

subgraph not rendering with change to sample

See original GitHub issue

I am having problems rendering this graph. Am I doing something wrong?

graph TB        
    subgraph old sys 2
        a2(new client)-->b2
        oc2(Old client)-->b2
        a3(test)-->b2
    end

    subgraph old sys 1
        a1(new client)-->b1(sys1 server)
        oc1(Old client)-->b2(test)
    end

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
knsvcommented, Oct 30, 2015

I did and found tab characters to be the problem. Replace with space and it will work. Mermaid should handle the tabs eventually though. fre 30 okt. 2015 kl. 18:51 skrev mycall notifications@github.com:

any chance you can review the uploaded zip?

— Reply to this email directly or view it on GitHub https://github.com/knsv/mermaid/issues/231#issuecomment-152600639.

0reactions
mycallcommented, Oct 30, 2015

Thank you, that solves my problem. I’ve been using tabs successfully without the subgraph feature but once I added subgraph, I was getting those errors.

Might be an easy regex to fix.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Rendering produces varying and frequently wrong results - Help
Hello Graphviz team, experimenting with a diagram definition containing 3 subgraphs of type “cluster”, I found that the result of rendering ...
Read more >
Graphviz not rendering labels nor encompassing rectangles
Using http://www.webgraphviz.com/ to render it, I would expect labels, but those are not shown. On the other hand, an example like this does ......
Read more >
Deploying a Subgraph to the Hosted Service - The Graph Docs
When making changes to your subgraph definition, for example, to fix a problem in the entity mappings, run the yarn deploy command above...
Read more >
Graphviz Subgraph Examples / Brian Stringfellow - Observable
Setting a subgraph label to display a table of values. Note that the label in the first subgraph does not display as a...
Read more >
Subgraphs - Apollo GraphQL Docs
The server is now ready to act as a subgraph in a federated graph! Combined example. Here are the snippets above combined (again,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found