YAML¶
YAML¶
Read and write NetworkX graphs in YAML format.
“YAML is a data serialization format designed for human readability and interaction with scripting languages.” See http://www.yaml.org for documentation.
read_yaml (path) |
Read graph in YAML format from path. |
write_yaml (G, path[, encoding]) |
Write graph G in YAML format to path. |