Understanding wayfinding: A Bayesian network approach