We consider a model of two competing species of Lotka-Volterra type with diffusion (migration), where the spatial domain is an arbitrary finite graph (network). Depending on the parameters of the model, we describe the spatially homogeneous stationary states and their stability, discuss the existence and number of spatially heterogeneous stationary states, and study the asymptotic behavior of solutions.