pub fn id_problem(graph: &Graph, from: &str, to: &str) -> Option<String>
Why to cannot be the id of the node now called from, or None.
to
from
None