The distance function on Coxeter-like graphs and self-dual codes | Synapse