Refactor visualizer