In addition to the antlr4-graps NodeJS module release there is also a new one of antlr4-vscode, the Visual Studio Code extension (see also the vscode market place). New in this version is the visual ATN graph:


 This visualization (which uses D3.js for rendering) takes the ATN graph export from antlr4-graps and creates a cool looking image (which can also be saved to an svg file). Other features include parser file generation with a flexible configuration and better customization of graphs (both ATN graphs and railroad diagrams) via custom CSS files, along with some bug fixes.