Replies: 1 comment 1 reply
-
You might consider a Statechart for this type of modeling. I started a discussion at #1128 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Sometimes state machine is quite unclear for understanding, a tree of actions that indecate possible moves is quite helpful when a traverse to all the path of a set of thing needs to be done.
like a simple business logic above (made with obsidian canvas), it has parts that repeats conditionaly,
if i m gonna describe a diagram with d2 like a tree, it could be something like this below:
That's a simple logic already, but i could still get mistake or missing parts,
if it comes with more complexity,copy n paste and couter marking are gonna be annoying jobs, and it's hard to do some refactoring
I'd checked around, but no such a product or grammer found designed for this,
conditional nodes generation, node alias for duplication, and recursive constraints might be helpful to acheive this,
but grammer design and implemetation are just way beyond my capbility, any idea?
Beta Was this translation helpful? Give feedback.
All reactions