In this paper we study the homology and cohomology of configuration spaces F(Γ,2)
of two distinct particles on a graph Γ. Our main tool is intersection theory for
cycles in graphs. We obtain an explicit description of the cohomology algebra
H*(F(Γ,2);Q) in the case of planar graphs.