<jupyter_start><jupyter_text>Graphviz<jupyter_code>def add_info_to_node_label(in_filename, out_filename, node_id, info):
    with open(in_filename) as f:
        linelist = f.readlines()
    for i,s in enumerate(linelist):
        if s.startswith('{} [label='.format(node_id)):
            idx = s.find('", fillcolor=')
            s = s[:idx] + "\\n" + info + s[idx:]
            linelist[i] = s
            break
    with open(out_filename, "w+") as f:
        for x in linelist:
            f.write(x)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1441947565543071, 'fraction_numerical': 0.0, 'mean_word_length': 2.5906040268456376, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '273704', 'license': 'MIT', 'n_tokens_mistral': 201, 'n_tokens_neox': 192, 'n_words': 39, 'path': 'read_model_and_analyze_CPVAE.ipynb', 'repo_name': 'taohnouaccountb/celeba-playground', 'size': '534'}