Draw on the right, write (Umple) model code on the left. Analyse models and generate code. This tool stores your data in cookies and on a server. I understand. Click to learn about privacy. Download Donate For help: User manual Ask questions Report issue
// Illustration of nested states. Event e1 will // take the system into state s2, and its first // substrate s2a. Event e2 directly goes to s2b. // Event e3 toggles between s2b and s2a. // Event e1 when in s2, goes to s1 class A { sm { s1 { e1 -> s2; e2 -> s2b; } s2 { e1 -> s1; s2a { e3 -> s2b; } s2b { e3 -> s2a; } } } } // @@@skipcppcompile