directed graph

vertex

exit

entrance