The documentation claims that the to_graph method outputs "a networkx directed weighted graph representing the DAFSA", but it now outputs an undirected graph. Changing line 927 in dafsa.py from
graph = nx.Graph()
to
graph = nx.DiGraph()
will remedy this