We prove that one hundred percent of the closed geodesic periods of a Hecke-Maa ss cusp form for the modular group are non-vanishing when ordered by length. We present applications to the non-vanishing of central values of Rankin-Selberg L\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}\end{document}-functions. Similar results for holomorphic forms for general Fuchsian groups of finite covolume with a cusp are also obtained, as well as results towards normal distribution. Our new key ingredient is to relate the distributions of closed geodesic periods and vertical line integrals via graph theory.