asciidag
asciidag copied to clipboard
graph cause asciidag break
When I run this code, an error occurred.
from asciidag.graph import Graph
from asciidag.node import Node
graph = Graph()
nodeA = Node('A', parents=[])
nodeB = Node('B', parents=[])
nodeC = Node('C', parents=[])
nodeD = Node('D', parents=[nodeA, nodeB, nodeC])
tips = [
Node('E',
parents=[
Node('F', parents=[nodeC, nodeD]),
Node('G', parents=[Node('H', parents=[nodeD]), nodeD])
])
]
graph.show_nodes(tips)
This is the log.

Sometimes "asciidag" may succeed, which will print the right graph.

I have tested on python3.5.2, and it will pass when first run but failed afterward. I never success on python 3.9.2.
I can confirm the issue but haven't had chance to look into it yet.