rl_equation_solver.utilities.utilities.graph_walk
- graph_walk(parent, expr, node_list, link_list)[source]
Walk over the expression tree recursively creating nodes and links.
- Parameters:
parent (Node) – Parent node
expr (str) – State string
node_list (list) – List of node dictionaries with ‘id’ and ‘name’ keys
link_list (list) – List of link dictionaries with ‘source’ and ‘target’ keys