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

Rendering of nested subgraphs fails. #118

Open
OlegJakushkin opened this issue Apr 3, 2020 · 1 comment
Open

Rendering of nested subgraphs fails. #118

OlegJakushkin opened this issue Apr 3, 2020 · 1 comment
Labels

Comments

@OlegJakushkin
Copy link

Example graph:

digraph D {

  subgraph cluster_p {
    label = "Parent";

    subgraph cluster_c1 {
      label = "Child one";
      a;

      subgraph cluster_gc_1 {
        label = "Grand-Child one";
         b;
      }
      subgraph cluster_gc_2 {
        label = "Grand-Child two";
          c;
          d;
		  c->d;
      }

    }

    subgraph cluster_c2 {
      label = "Child two";
      e;
    }
  }
} 

Application example: Simple graph viewer sample

How it renders in Viz.JS :
image

Errors we get in Simple graph viewer sample (and it does not render data correctly):
image

Code context
image

@gordonwoodhull
Copy link
Contributor

Hi @OlegJakushkin, thanks for the report and the example input!

I can reproduce this. It looks like it should be supported, but clearly something is going wrong.

I'll try to take a look sometime in the next week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants