Release 0.7.0
Release 0.7.0 is a major release with fundamental changes to the diagram extension. It also introduces an intermediate MarkupMachine
which can be used to transfer and (re-)initialize machine configurations.
- Feature #263:
MarkupMachine
can be used to retrieve a Machine's dictionary representationGraphMachine
uses this representation for Graphs now and does not rely onMachine
attributes any longer
- Feature: The default value of
State.ignore_invalid_triggers
changed toNone
. If it is not explicitly set, theMachine
's value is used instead. - Feature #325: transitions now supports
pygraphviz
andgraphviz
for the creation of diagrams. Currently,GraphMachine
will check forpygraphviz
first and fall back tographviz
. To usegraphviz
directly passuse_pygraphiv=False
to the constructor ofGraphMachine
- Diagram style has been overhauled. Have a look at
GraphMachine
's attributesmachine_attributes
andstyle_attributes
to adjust it to your needs. - Feature #305: Timeouts and other features are now marked in the graphs
- Bugfix #343:
get_graph
was not assigned to models added during machine runtime