pytransitions / transitions

A lightweight, object-oriented finite state machine implementation in Python with many extensions
MIT License
5.49k stars 524 forks source link

Fix diagrams_pygraphviz.Graph.get_graph method when states are enums #470

Closed termim closed 3 years ago

termim commented 3 years ago

The example from README.md for GraphMachine fails if machine states are enums.

coveralls commented 3 years ago

Coverage Status

Coverage increased (+0.005%) to 97.097% when pulling 1c9e9f315f6b1897ab9d3d9b48053bffff09ed9f on termim:master into c2ccda799c5cea9d410efa151f8aa7f744551b8f on pytransitions:master.

aleneum commented 3 years ago

Hello @termim,

thank you for that PR. Looks good to me.