How can I determine which transitions are defined in the current state?
By compiling your .sm file with the -reflect option (note: only supported by -csharp, -java, -tcl and -vb). This causes either a getTransitions() method (Java, Tcl) or Transitions property (C#, VB.Net) to be generated for the state classes. This method returns a java.util.Map, System.Collections.IDictionary or Tcl array which maps transition names to an integer value: • zero: transition undefined. • one: transition defined in state. • two: transition defined in Default state. The returned map contains an entry for all transitions.