0

I'm able to create a graph in the same row using dot graphviz. I want to create graphs one below the other i.e. after plotting one subgraph it should go to next line and then start plotting the next graph..

NoDataDumpNoContribution
  • 10,591
  • 9
  • 64
  • 104

1 Answers1

0

Here is a minimalist code for dot. The subgraph "plot2" is below "plot1" because rankdir=LR.

digraph G {
  rankdir=LR

  subgraph cluster_2 {
    a2
    label="plot2"
  }

  subgraph cluster_1 {
    a1
    label="plot1";
  }
}

You can test it directly here: GraphvizFiddle

metch
  • 673
  • 7
  • 14