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
// In this example, the system will transition to state b // after a 1-second delay class X { sm { a { entry / {System.out.println("entering a");} after(1) -> b; } b { entry / {System.out.println("entering b");} } } public static void main(String [ ] args) Java { X x = new X(); } public static void main(String [ ] args) Python { x = X() } } //$?[End_of_model]$? // @@@skipcppcompile - Contains Java Code // @@@skipphpcompile - Contains Java Code // @@@skiprubycompile - Contains Java Code // @@@skippythoncompile - quires Python 3, Current CLI uses Python 2.7