Kirchhoff's laws for Linear Equations over a circuit modeled in Graphs