pytransitions / transitions

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

Improve graph generation with ROI #634

Closed aleneum closed 9 months ago

aleneum commented 9 months ago

This should improve the handling of diagrams when working with parallel states, especially when using the show_roi option (see #627).

codecov[bot] commented 9 months ago

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.08% :tada:

Comparison is base (2262e3c) 98.31% compared to head (2733fda) 98.40%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #634 +/- ## ========================================== + Coverage 98.31% 98.40% +0.08% ========================================== Files 13 13 Lines 2557 2573 +16 ========================================== + Hits 2514 2532 +18 + Misses 43 41 -2 ``` | [Files Changed](https://app.codecov.io/gh/pytransitions/transitions/pull/634?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pytransitions) | Coverage Δ | | |---|---|---| | [transitions/extensions/diagrams\_base.py](https://app.codecov.io/gh/pytransitions/transitions/pull/634?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pytransitions#diff-dHJhbnNpdGlvbnMvZXh0ZW5zaW9ucy9kaWFncmFtc19iYXNlLnB5) | `97.64% <100.00%> (+0.05%)` | :arrow_up: | | [transitions/extensions/diagrams\_graphviz.py](https://app.codecov.io/gh/pytransitions/transitions/pull/634?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pytransitions#diff-dHJhbnNpdGlvbnMvZXh0ZW5zaW9ucy9kaWFncmFtc19ncmFwaHZpei5weQ==) | `98.18% <100.00%> (+1.42%)` | :arrow_up: | | [transitions/extensions/diagrams\_pygraphviz.py](https://app.codecov.io/gh/pytransitions/transitions/pull/634?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pytransitions#diff-dHJhbnNpdGlvbnMvZXh0ZW5zaW9ucy9kaWFncmFtc19weWdyYXBodml6LnB5) | `99.46% <100.00%> (+<0.01%)` | :arrow_up: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.