Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Region

A region is a container of vertices (states and pseudo states) in a state machine model.

Hierarchy

  • Region

Implements

  • NamedElement<State>

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Region(name: string, parent: State): Region
  • Creates a new instance of the Region class.

    Parameters

    • name: string

      The name of the region.

    • parent: State

      The parent state of the region.

    Returns Region

Properties

children

children: Array<Vertex> = []

The child vertices belonging to this region.

internal

name

name: string

The name of the region.

parent

parent: State

The parent state of the region.

qualifiedName

qualifiedName: string

The fully qualified name of the region including its parent's qualified name.

starting

starting: PseudoState | undefined

The initial starting pseudo state of this region; saves the costly process of searching for it at runtime.

internal

Methods

toString

  • toString(): string
  • Returns the fully qualified name of the region.

    Returns string

Generated using TypeDoc