1

I would like to have an "implies" arrow between the two graphs here

digraph G {    
    subgraph case {
      x;
      left [shape=diamond];
      right [shape=diamond];
      left -> x;
      right -> x;
    }

    subgraph case_ {
      x_;
      left_ [shape=diamond];
      right_ [shape=diamond];
      left_ -> x_;
      right_ -> x_;
    }
}

Trying to GraphViz - How to connect subgraphs? doesn't work because I'm using the dot algorithm. But I don't need anything too fancy since I have a bunch of diagrams like this where there is a "before" and "after" state and I want to put some visual indicator.

fommil
  • 5,370
  • 5
  • 33
  • 74

0 Answers0