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