A Partial Algebras Approach to Graph Transformation