We are concerned with the asymptotic analysis of optimal controlproblems for 1-D partial differential equations defined on aperiodic planar graph, as the period of the graph tends to zero. Wefocus on optimal control problems for elliptic equations withdistributed and boundary controls. Using approaches of the theory ofhomogenization we show that the original problem on the periodicgraph tends to a standard linear quadratic optimal control problemfor a two-dimensional homogenized system, and its solution can beused as suboptimal controls for the original problem.