from graphviz import Source
source = r"""
  digraph feature_interaction_illustration4 {
    graph [fontname = "helvetica"];
    node [fontname = "helvetica"];
    edge [fontname = "helvetica"];
    0 [label=<x<SUB><FONT POINT-SIZE="11">2</FONT></SUB>>, shape=box, color=black, fontcolor=black];
    1 [label=<x<SUB><FONT POINT-SIZE="11">{1, 2, 3, 4}</FONT></SUB>>, shape=box];
    2 [label=<x<SUB><FONT POINT-SIZE="11">{1, 2, 3, 4}</FONT></SUB>>, shape=box, color=black, fontcolor=black];
    3 [label="...", shape=none];
    4 [label="...", shape=none];
    5 [label="...", shape=none];
    6 [label="...", shape=none];
    0 -> 1;
    0 -> 2;
    1 -> 3;
    1 -> 4;
    2 -> 5;
    2 -> 6;
  }
"""
Source(source, format='png').render('../_static/feature_interaction_illustration4', view=False)
Source(source, format='svg').render('../_static/feature_interaction_illustration5', view=False)