'How to print the Tree Representation of Parse Tree in angular

we are using antlr4ts to generate a parse tree from some rules how can we print the parse tree in tree representation in angular. we are able to print the parse tree in console but not in tree representation.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source