refactoring graph