Code refactoring on CGraphvizProcessor