A Bayesian approach to diagram matching with application to architectural models | Synapse