graph transformations calculator