Boxes in boxes : intersection


I would like to have a graph with boxes into boxes, but the problem is that some boxes own common nodes, and in the same time some nodes in one box aren't in the other one.

For exemple :
Box 1 : A,B,C
Box 2 : A,B
Box 3 : B,C

I tried to use clusters but the problem is that it only works if box are strictly imbricated.

This is the kind of render I'd like to have :

Do you know if it is possible to do that with graphviz ? If not, do you know an other open source program which can do it ?



There is nothing built into

There is nothing built into Graphviz to handle this, especially as boxes quickly become insufficient with more complicated examples. You can use gvmap to generate Euler diagrams with non-box boundaries (see

Visualizing Graphs and Clusters as Maps

Emden R. Gansner, Yifan Hu, and Stephen G. Kobourov

IEEE Computer Graphics and Applications 30(6) pp. 54-66, 2010.)

You probably want to look for software specifically for Venn and Euler diagrams. On a related note, you might enjoy

Recent comments