kotlin-state-machine icon indicating copy to clipboard operation
kotlin-state-machine copied to clipboard

Subgraphs

Open psh opened this issue 3 years ago • 1 comments

Ability to specify a "sub graph" that is launched when arriving in a given state. Exiting the sub-graph would be a transition valid on the base node that launched it.

For example - landing on "payment" node would launch a graph that handles the whole payment workflow, exiting with "payment successful" or "payment failed" from the original node.

psh avatar Sep 02 '22 11:09 psh

With subgraphs and a decent method for composition, it should be able to model a lot of the concepts that this Droidcon talk mentions. https://www.droidcon.com/2022/09/29/model-driven-navigation-with-jetpack-compose-from-zero-to-hero/

psh avatar Oct 15 '22 01:10 psh