Analysis of Venn Diagrams Using Cycles in Graphs