rl_equation_solver.utilities.utilities.get_node_labels

get_node_labels(graph)[source]

Get node labels from graph. Must be stored as node attributes as graph.nodes[index][‘name’]. Includes None for nodes with no name

Parameters:

graph (networkx.graph) – Networkx graph object with node[‘name’] attributes