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