i am drawing the follow graph of Figure. Follows the code already made:

It remains to draw the dashed set U and to place the vertex z downwards. Finally, remains draw the sets $ X_1 $ and $ X_2 $ contained in $S-I$. Please how can do this?

        node distance = 7mm and 21mm,
        start chain = going below,
        V/.style = {circle, draw,fill=#1,inner sep=0pt, minimum size=3mm,node contents={}},
        every fit/.style = {ellipse, draw=#1, inner ysep=-1mm, inner xsep=5mm},]
        \node (y) [V, on chain, label={left:$y$}];
% vertices 
        \foreach \i in {0,...,3} 
            \node (n1\i) [on chain]{};
            \node (n2\i) [above right=0.01mm and 22mm of n1\i]{};
        \node (z) [V,above right=0.01mm and 22mm of y,label={right:$z$}]{};
        % Set I
        \node [fit=(n10) (n13)(y),label=above:$I$] {};
        % Set S-I
        \node [fit=(z)(n20) (n23),label=above:$S-I$] {};
        \draw [->,shorten >=1mm, shorten <=1mm](y) edge (z);



You must log in to answer this question.

Browse other questions tagged .