[core] print ascii (#15179)

This commit is contained in:
Harrison Chase 2023-12-26 11:43:14 -08:00 committed by GitHub
parent 35896faab7
commit 33e024ad10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -135,3 +135,6 @@ class Graph:
{node.id: node_data(node) for node in self.nodes.values()},
[(edge.source, edge.target) for edge in self.edges],
)
def print_ascii(self) -> None:
print(self.draw_ascii())