Note that there are some explanatory texts on larger screens.

plurals
  1. POCan I automatically generate an Euler (Venn) diagram from a containment graph
    primarykey
    data
    text
    <p>Say I have a directed graph G where each node represents some set I've got. There is an edge from u to v iff u is a subset of v. This graph is transitive and acyclic. There are a number of source nodes (ones which don't contain any of the other nodes), and one sink (a big "unverse" set containing the union of all the others.). In other words, this graph is the transitive orientation of a <a href="http://en.wikipedia.org/wiki/Comparability_graph" rel="nofollow noreferrer">comparability graph</a>.</p> <p>What I want to know is, can I automatically generate a nice looking Euler diagram from this graph?</p> <p>An <a href="http://en.wikipedia.org/wiki/Euler_diagram" rel="nofollow noreferrer">Euler diagram</a> is like a Venn diagram, but you don't have to show every combination of overlap between the sets.</p> <p>An example is something like this (taken from wikipedia):</p> <p><img src="https://i.stack.imgur.com/wFKDi.png" alt="enter image description here"></p> <p>I'm sure I could make diagrams like this by hand, but I'm dealing with large data sets that I will be constantly adding to, so I'd like to automate the process. Note that the relative size of the diagrams is not important to me, only whether two regions overlap, are mutually exclusive, or if one is contained in the other.</p> <p>Are there algorithms, tools or libraries which allow me to do this?</p> <p>Please note that I've asked a similar question <a href="https://tex.stackexchange.com/questions/116930/how-to-automatically-generate-venn-diagrams-given-the-inclusion-relations">here</a>, but I've most of my responses have been that LaTeX is simply not the right tool for this job. Thus, I'm asking it here.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload