fix center function in Graph.Operations module