Parsers

yaml_to_graph

Example input file:

1:
    1a:
        1aa:
    1b:
2:
3:
    3a:

How to run the code:

import pyed

filename = "dict.yaml"

pyed.yaml_to_graph(filename)
../_images/yaml_dict.svg

Example of output graph from the yaml_to_graph parser. Script used to make the plot is examples/make_yaml_graph.py.