Ask: Python way to visualize a DAG in terminal
I have a graph object with each node with the following structure:
class Node:
id: int
category: str
Multiple nodes together make a Directed Acyclic Graph (DAG) that I want to visualize in the terminal. This visualization would be very similar to how we can visualize git commit graph via git log --all --graph --decorate
:
Git commit visualization