Scala/Interpreter/11_RegularExpression: Refactor GraphVisualizer