dafsa icon indicating copy to clipboard operation
dafsa copied to clipboard

change the to_graph method to output a directed graph

Open HoekR opened this issue 2 years ago • 1 comments

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

HoekR avatar May 24 '23 13:05 HoekR

Ops, my fault there! Time for a new release, I suppose, while I slowly work in the new version. Thank you!

tresoldi avatar May 24 '23 13:05 tresoldi