Updated the graph scale operation to be so that it can be undone/redone.