When clickin on the graph, the path and considered edges are shown in red and
yellow respectively.