Frameworks like CommonStateMachine allow developers to export their state machine definitions directly into visual documentation, such as Mermaid charts.
Ideas:
- Given FlowMVI's structured setup and plugin architecture, a plugin could potentially inspect the state updates and intents processed.
- The plugin could generate a
.md file containing a Mermaid state diagram showing how the store transitions between states based on incoming intents.
- This would significantly improve documentation capabilities for large apps.