Questions tagged [statechart]

A statechart is a hierarchical state machine, introduced by Harel. Since it is hierarchical, its capability to reduce complexity and state proliferation allows to be used also for real-world problems and not only for toy or theoretical examples. The UML state diagram is an OO adaptation of the Harel statechart.

133 questions
3
votes
2 answers

hierarchical statecharts designer with code generation

What is the best free and the best commercial tool that lets me draw uml hierarchical statechats like in the picture below. It would also be cool if it could generate the c# source code stubs.
bitbonk
  • 48,890
  • 37
  • 186
  • 278
3
votes
1 answer

Looking for a large corpus of business processes

I am looking, for research purposes, for a large set of examples of business processes, preferably from industry or realistic sources. The process description can be in any format, including, but not limited to: BPEL or BPMN UML Activity, Sequence…
Little Bobby Tables
  • 5,261
  • 2
  • 39
  • 49
3
votes
2 answers

Ember statemanager vs sproutcore-statechart in emberjs add-ons

There are some examples that showcase the use of statechart in an Ember based application : http://www.thesoftwaresimpleton.com/blog/2012/02/28/statemachine/ https://github.com/DominikGuzei/ember-routing-statechart-example What is the difference…
jrabary
  • 2,411
  • 1
  • 28
  • 50
2
votes
3 answers

How to define concurrent states in Ember.js?

I want to define concurrent states in Ember.js, but the lack of documentation makes it hard to figure out how. You can define mutually exclusive states (system is either in foo or bar) like so: App.stateManager = Ember.StateManager.create({ …
Panagiotis Panagi
  • 9,927
  • 7
  • 55
  • 103
2
votes
4 answers

More Javascript statechart frameworks

I'm using ExtJS and think it's an amazing framework. However, they don't have a statechart built in which makes app development depending on states very painful. I recently found this one: https://github.com/jakesgordon/javascript-state-machine It…
ajsie
  • 77,632
  • 106
  • 276
  • 381
2
votes
1 answer

How to handle stream of inputs and generate output based on input combination in UML State machine diagram

Following is a safety controller with input and output Condition given below for designing a state machine: Here SignalOk, SignalWeak and SignalLost are measurements signal quality of steering angle. SteeringAngle signal itself contains the…
Priom Biswas
  • 85
  • 2
  • 12
2
votes
1 answer

Hierarchical State Machine (HSM) Current State

I am researching HSM and I have a question about. In HSM (for all system), is there only one current state? For example; In my project, there is two user type : normal user and technician user. There is no identicality between them. Normal user can…
kaernk
  • 63
  • 6
2
votes
1 answer

UML Statechart Delving Into vs Internal Transition

I have a question about statechart diagrams below; I suppose that, in UML, it is possible. In this case, execution order is S1 enter, S3 enter. Am I right? And In the next diagram, what is execution order when occured transiton from "any other…
kaernk
  • 63
  • 6
2
votes
1 answer

Boost statechart `state context` is null

I have a small sm with just one state for now. I want from within the state, to access some data that is received and stored by the sm on construction: struct data { std::string m_ip; data(const char* ip) : m_ip(ip) { …
codentary
  • 993
  • 1
  • 14
  • 33
2
votes
1 answer

State or workflow diagram component for .NET

I'm looking for a component or library for .NET, that would allow me to either visually edit, or at least visualise simple state or workflow diagrams or charts. Preferably free, but comercial is fine too. Anyone have any recomendation or experience?
Euphoric
  • 12,645
  • 1
  • 30
  • 44
2
votes
1 answer

Xstate: different actions and guards leading to same state

I'm writing a state chart with the xstate library. The statechart represents a medium complex UI. I've several parallel states, but for this questions let's take into account only two: SelectionStatus, which represents the select item(s),…
AnimaLupi
  • 23
  • 5
2
votes
0 answers

Qt state charts: How to invoke a compiled state machine?

Having read the SCXML invoke example I ask myself how this should work if you want to invoke a state machine that was compiled to C++ code using qscxmlc. I noticed that it is possible to invoke another state machine by using the src attribute in the…
Nils
  • 13,319
  • 19
  • 86
  • 108
2
votes
1 answer

Ultrasonic sensor state machine diagram

I'm working on a basic embedded systems application. Where I have a sonar (ultrasonic) sensor to measure the distance between the sensor and X object. Ultasonic sensor has one job to do, calculate distance and return it. I would like to produce a…
PRCube
  • 566
  • 2
  • 6
  • 19
2
votes
1 answer

How to interpret a UML 2.5 State Machine diagram?

I am in need of identifying all the basic elements of a UML 2.5 State Machine Diagram. Unfortunately , there seems to be a lot of ambiguity on the notation of those diagrams, as there are a lot of different variations online. My interpretation is…
donparalias
  • 1,834
  • 16
  • 37
  • 60
2
votes
2 answers

Composite state and internal transitions

Provided I am in StateB now. Sig2 comes. So no entry or exit will be executed, but only Act5. So far so good. Now we are in StateC, but this time Sig1 comes. There is an internal transition defined, but in the parent composite state. Do I have to…
user2281723
  • 519
  • 1
  • 5
  • 16
1
2
3
8 9