Skip to main content
9 events
when toggle format what by license comment
Aug 30, 2016 at 16:08 comment added aisbaa @JimmyJames thank you for pointing that out, updated the question. I guess trigger or token in my case could be passed in attribute list.
Aug 30, 2016 at 14:45 comment added JimmyJames @aisbaa What is it about DOT that makes it "more targeted at visual representation"? It's just a text representation of a graph. What you do with it after it's parsed is up to you. I don't see anything in your table example that shows what triggers state change. Can you update the question with more detail on what you are trying to do?
Aug 30, 2016 at 9:11 comment added aisbaa I didn't mentioned DOT in original question. Yes, definitely it is one way of describing FSM. As @whatsisname mentioned, DOT is more targeted on visual representation of graphs. The down side for me is that there is not explicit way for expressing what triggers state change, or I haven't found one.
Aug 29, 2016 at 13:26 comment added JimmyJames @whatsisname If you look at around the middle of the page from my link, there are 10 different tools listed that can supposedly use this format. All I see in the question is a request for a different way to format the FMS as text. The question is unclear so maybe you are right and it's not helpful. I'd need clarification on the question to be sure.
Aug 26, 2016 at 19:15 comment added whatsisname Additionally, if he is going to use DOT for whatever he's doing, now he has two problems.
Aug 26, 2016 at 19:15 comment added whatsisname I interpreted his question as he needs to do some analysis on code, but not necessarily report his findings to someone else. Graphviz might be useful for reporting the findings, but not the actual analysis. We often use "describe" as a synonym for "characterize" in this context.
Aug 26, 2016 at 16:46 comment added JimmyJames @whatsisname My understanding is that the question is about how to describe the finite state machine. DOT does that. Are you saying that the DOT representation can only be used to for making diagrams? If so, that seems to be obviously not true.
Aug 26, 2016 at 16:38 comment added whatsisname DOT and graphviz is for making diagrams, it's not useful for code analysis.
Aug 26, 2016 at 16:33 history answered JimmyJames CC BY-SA 3.0