UModel State Machine Diagrams

UML State Machine Diagram Features:

  • Toolbar for quick access to diagram elements
  • Transitions in can refer to operations in classes
  • Generate code from state machine diagrams
  • Cascading styles for colors, fonts, and more
  • Customizable alignment grid
  • Elements can be assigned to diagram layers
  • Unlimited undo/redo
  • Supports all 14 UML diagrams

UML State Machine Diagrams

In UModel you can identify states and transitions of an object as it proceeds through its life cycle with state machine diagrams.

UML State Machine Diagram

State machine diagrams (also called state diagrams) are a traditional object-oriented way to show behavior and to document how an object responds to events, including internal and external stimuli.

Whether you are planning the logic of a business object such as in invoice – whose states might be issued, paid, or overdue – or the behavior of a complex hardware-based system, you'll find UModel to be an intuitive and enjoyable tool as you develop your state machine diagrams.

With UML joins and forks offered in a choice of orientations at a single click, and history and connection point reference elements all readily at hand, you’ll have everything you need to assemble superlative state diagrams. For more complex projects, UModel provides elements for composite states, orthogonal states, and submachine states that are as easy to place and manipulate as simple states.

UModel automatically provides the brackets that are required for guard text in state machine diagrams, just one of many quick entry helpers. You can edit guard text in the Properties window or directly in the design pane. You can even accelerate your project by generating a complete executable source code project in Java, C++, C#, or Visual Basic from your UModel state machine diagram.

Generate Code from State Diagrams

UModel lets you generate code from state machine diagrams that is fully executable, so you can quickly begin testing the logic captured in your state machine diagram.

You can generate code either as part of the normal project code generation process, via a selection in the Project menu, or directly from the state machine diagram context menu.

The context menu also provides an option to let you check the state machine diagram syntax, to avoid generating code that is not valid.

The Generate State Machine Code dialog box lets you control code generation settings, and even specify whether state machine code is automatically regenerated with project code generation.


UModel supports all 14 UML diagrams, as well as a UML diagram for XML Schemas and another to model tables in relational databases, giving your team a powerful UML modeling tool at a fraction of the cost of legacy solutions. To see a comprehensive list of all UML diagram types, see our UML diagrams page or click on the link below to download a 30-day trial of Altova UModel.