Potential for general relativity and its geometry