maze=;

FindShortestPath[maze,"in","out"]

HighlightGraph[maze,PathGraph[%]]