Code
graph TD;
13["{}"]:::octagon
8["{Apples}"]:::square
7["{Nappies}"]:::square
6["{Crisps}"]:::pentagon
3["{Nappies, Apples}"]:::dashedEllipse
5["{Crisps, Apples}"]:::dashedEllipse
4["{Nappies, Beer, Crisps}"]:::dashedEllipse
1["{Nappies, Beer, Crisps, Apples}"]:::dottedEllipse
2["{Beer, Crisps}"]:::triangle
4 --> 1
8 --> 5
6 --> 5
13 --> 8
13 --> 6
6 --> 2
8 --> 3
7 --> 3
13 --> 7
2 --> 4
5 --> 1
3 --> 1
7 --> 4
classDef octagon stroke-width:2px,stroke:#000;
classDef square fill:lightgreen,stroke:#000;
classDef pentagon fill:white,stroke:#000;
classDef triangle fill:lightgreen,stroke:#000;
classDef dashedEllipse fill:none,stroke:#000,stroke-dasharray:5,5;
classDef dottedEllipse fill:none,stroke:#000,stroke-dasharray:2,2;graph TD;
13["{}"]:::octagon
8["{Apples}"]:::square
7["{Nappies}"]:::square
6["{Crisps}"]:::pentagon
3["{Nappies, Apples}"]:::dashedEllipse
5["{Crisps, Apples}"]:::dashedEllipse
4["{Nappies, Beer, Crisps}"]:::dashedEllipse
1["{Nappies, Beer, Crisps, Apples}"]:::dottedEllipse
2["{Beer, Crisps}"]:::triangle
4 --> 1
8 --> 5
6 --> 5
13 --> 8
13 --> 6
6 --> 2
8 --> 3
7 --> 3
13 --> 7
2 --> 4
5 --> 1
3 --> 1
7 --> 4
classDef octagon stroke-width:2px,stroke:#000;
classDef square fill:lightgreen,stroke:#000;
classDef pentagon fill:white,stroke:#000;
classDef triangle fill:lightgreen,stroke:#000;
classDef dashedEllipse fill:none,stroke:#000,stroke-dasharray:5,5;
classDef dottedEllipse fill:none,stroke:#000,stroke-dasharray:2,2;