Modeldraw
  • Welcome to Modeldraw
  • Getting Started
    • Quickstart Guide
  • FAQ
  • UML Designer
    • Common Elements
      • Comment
      • Comment Link
      • Dependency
      • Realization
      • Frame
    • Class Diagrams
      • Class
      • Association
      • Generalization
      • Composition
      • Aggregation
      • Enumeration
      • Interface
      • Association Class Link
      • Ball (Interface Realization)
      • Socket (Required Interface)
    • Sequence Diagrams
      • Lifeline
      • Activation Bar
      • Synchronous Message
      • Asynchronous Message
      • Return Message
      • Found Message
      • Interaction Frame
    • Use Case Diagrams
      • Actor
      • Use Case
      • Association
      • System Boundary
      • Generalization
      • Include Relationship
      • Extend Relationship
    • State Machine Diagrams
      • State
      • Initial State
      • Final State
      • Transition
      • Superstate
      • Concurrent Boundary
      • History Pseudostate
      • History Transition
    • Package Diagrams
      • Package
    • Deployment Diagrams
      • Node
      • Communication Path
      • Deployed Artifact
      • Internet
    • Activity Diagrams
      • Initial Node
      • Activity Final
      • Action
      • Flow
      • Decision / Merge
      • Fork / Join
      • Partitions
      • Flow Final
      • Send Signal
      • Accept Signal
      • Time Signal
    • Component Diagrams
      • Component
      • Ball (Interface Realization)
      • Socket (Required Interface)
    • Communication Diagrams
      • Object
      • Link
  • Wireframes
    • Views
    • Layouts
    • Components
Powered by GitBook
On this page
  1. UML Designer
  2. State Machine Diagrams

Superstate

PreviousTransitionNextConcurrent Boundary

Last updated 7 months ago

A Superstate, also known as a Composite State, in a State Machine Diagram is a state that contains other states (substates) within it. It allows for the hierarchical organization of states, enabling the representation of complex behaviors in a more manageable and understandable way.

With Superstates in Modeldraw's State Machine Diagram, you can:

  • Group related states together to show hierarchical relationships

  • Simplify complex state machines by encapsulating sets of states

  • Represent different levels of abstraction in your system

  • Reuse common state patterns across different parts of your state machine

  • Model systems with multiple levels of behavior

  • Improve the readability and maintainability of large state machines

Understanding Superstate

A Superstate in Modeldraw's State Machine Diagram tool is represented by a state shape (rounded rectangle) that contains other state shapes within it. Key points to understand about Superstates include:

  • Superstates contain other states, creating a hierarchical structure.

  • They can have their own entry and exit points.

  • Transitions can occur between substates within a superstate.

  • Superstates allow you to abstract complex behavior into a single state at a higher level.

  • Superstates can contain concurrent regions for modeling parallel behaviors.

Remember that Superstates should be used to group related states and simplify your overall state machine structure.

A Superstate