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.
Questions tagged [statechart]
133 questions
0
votes
0 answers
Statechart using html/javascript/jquery (dracula graph)
I need to draw a state chart ( or as of figure) in my mvc web app. I am using draculajs (http://www.graphdracula.net/).
I need to put two way arrow as shown in the figure but currently the arrows are overlapping.
My code to draw edge:
g.addEdge('A',…

Sagar Dev Timilsina
- 1,310
- 15
- 32
0
votes
1 answer
Statechart for active and inactive state
I have a user with active and inactive state, where the administrator can make the user active (on recover) or inactive (on delete). My question is:
1) Do I need to draw chart for this?
2) If yes, Which one is the correct way of drawing…

stackdisplay
- 1,949
- 6
- 29
- 46
0
votes
1 answer
Concurrent states with Ember.router
I'd like to implement this statechart in Ember.js v1.5.x using Ember.Router, but I have problems with the concurrency and history mechanism.
Basically when I activate the Summary route/state I'd like to transition to No changes made and Transient…

apreg
- 637
- 8
- 18
0
votes
1 answer
Which states are active when not all transitions to a join pseudo state are enabled
Consider the following statechart:
The Customer gets state Confirmed, the resource is in state NotAssigned. There is no guard defined for the transition from Confirmed to the Join pseudostate.
In this scenario, does the state Confirmed remain…

K. Korselis
- 48
- 3
0
votes
3 answers
Requirement to generate code out of StateCharts in UML tool
We have a requirement to generate c++ & Java code out of StateCharts drawn in UML tools.
Previously we used "Rational Rose" but due to some license error we can not use it anymore. In rose there was a plugin available which generates a text file out…

Promit
- 1
0
votes
1 answer
Statemachine with multiple transtions with same trigger/event but different guard
If I have a state S1 with 2 transitions both with triggered by an event 'A', but one of them has as a guard x !=0 and the other doesn't. What would be the expected behavior when guard is valid (x ==1)?
Unpredictable
Transition with guard is…

Juan
- 521
- 1
- 11
- 28
0
votes
1 answer
State chart diagram and multiple actions
Can a transition have two or more actions?
For example:
event[condition]/action1;action2
stateA -------------------------------------------> stateB

user1993478
- 55
- 1
- 4
0
votes
1 answer
Can I wait for windows events (WaitForMultipleObjects) in a QP (Quantum Platform) active object?
in my current code I wait for some event to occur using something like
WaitForMultipleObjects(2,pEvents,false,1000);
in s separate thread and post stuff to a State Machine whenever I get events worth posting. I am porting this behavior into QP…

odinthenerd
- 5,422
- 1
- 32
- 61
0
votes
1 answer
Transition error when splitting Ember statechart between multiple files
I am trying to work out how best to split up my Ember.js statechart into multiple files.
Using SproutCore we needed to use SC.State.plugin('statename') to associate a state we defined in another file with our main statechart.
I saw no such…

Sam Fen
- 5,074
- 5
- 30
- 56
0
votes
1 answer
Boost statechart, communication between separate FSMs
let's say I have created several separate FSM classes inheriting from statechart. Then, I instantiate those objects, and I would like them to be able to trigger events in each other; for example the first FSM would enter a "ON" state and would…

fabrice79
- 1
- 1
-1
votes
1 answer
How do I count the number of agents that passed through a state from the statechart in Anylogic?
I wanna count the number of agents that passed through a state in a day from the statechart.
and then I show them by a plot chart or time stack chart. I define some code in the state. Do they can effect on count the number of agents that passed…
-1
votes
1 answer
Anylogic: avoid unwanted execution of process in seize block
I am trying to simulate manufacturing process by using statechart. And i have created agents for particular machines by statecharts and connecting those agents according to manufacturing process with help of resource pool, seize block and release…

Mayank
- 1
-1
votes
1 answer
How can I run agents simultaneously in Anylogic?
How can I run agents simultaneously in Anylogic?
when I define some agents in Anylogic and then run program, all agents did not run simultaneous. which means that all agent stay in first state then one of them go's some state and others wait until…

soheil
- 31
- 4