Graphs and Discrete Dirichlet Spaces