Function node_name
Source pub fn node_name(graph: &Graph<String, u8>, node: NodeIndex) -> Option<String>
Expand description
Get the name of a node in the graph.
§Arguments
graph
- The graph containing the node.
node
- The node whose name to retrieve.
§Return
The name associated with the node, or None
if not found.