Can traverse graph with clicks. Organize mouseEvent() and mesh into a mode function