Skip to content

Rendering of nested subgraphs fails. #118

@OlegJakushkin

Description

@OlegJakushkin

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions