refactoring in ASTVisualizerJB: created a new class for graph style