Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Presenting current state and possible transitions in client GUI

12 views
Skip to first unread message

Nick Ridgway

unread,
Jul 5, 2022, 5:42:33 AM7/5/22
to YAKINDU User
Hello,

I've recently started trialling Yakindu for building out some application control code, it seems to do almost exactly what my team needs.  The one bit of functionality I haven't been able to work out is whether it's possible to get the details of the currently-active state and what transitions and conditions it has.  I want to be able to present the state of the machine to the user and give them options for which states they can transition to (and potentially the status of guard conditions).  Is there any functionality built-in that I could do this with or would I have to build my own system for it with a custom code generator?


Thanks,
Nick

Andreas Mülder

unread,
Jul 7, 2022, 4:00:44 AM7/7/22
to YAKINDU User
Hi Nick,
welcome to our user group! 
It is currently not possible to get detailed information about the currently active state out of the box. The reason is, that the generated code is optimized and differs from the original model. Maybe we could extend the code generator to provide some meta data about the original model - we should discuss your use case in more detail.

Best, Andreas

Nick Ridgway

unread,
Jul 7, 2022, 6:23:04 AM7/7/22
to yakind...@googlegroups.com
Hi Andreas,

Thanks for the info, I'll take that into account.  It sounds like extending the code generator to add metadata would solve our issue, I'll discuss it with my team and let you know.

Nick

--
You received this message because you are subscribed to a topic in the Google Groups "YAKINDU User" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/yakindu-user/ALNLdzgI85I/unsubscribe.
To unsubscribe from this group and all its topics, send an email to yakindu-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/yakindu-user/5a3df19d-817f-47b7-b19a-c0688d8ddcd4n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages