The visit problem: visibility graph-based solution | Synapse