fmorbini / scxmlgui

A graphical user interface for editing SCXML finite state machines.
Other
105 stars 37 forks source link

question about creating design #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. How do I create two parallel clusters that communicate?
2. How do I label an arrow?
3. How do I create that start node outside of the cluster (that you show in the 
guide)?
4. I get a pop-up box, "on entry:, on exit:" - what do I do with these?
5. Can I represent "guard" conditions before entry to a state?

What is the expected output? What do you see instead?
 Grayed out buttons

What version of the product are you using? On what operating system?
How can I tell which version?
I am using Linux REL v. 5

Please provide any additional information below.
Are you familiar with pystatecharts?
My goal is to go from diagram to scxml to pystatecharts for execution.
thanks,
  rps@haystack.mit.edu

Original issue reported on code.google.com by r...@haystack.mit.edu on 8 Feb 2011 at 8:44

GoogleCodeExporter commented 9 years ago
this editor is specific to scxml.

a parallel cluster is created by first creating a node, then setting it as 
parallel (see guide, but basically all settings to nodes and edges are done 
using a context menu: right click on the object). Because only clusters can be 
parallel, setting a node as parallel will automatically change it also to 
cluster.

making two parallel clusters communicate is another matter. Find out how you 
want to do that within the bounds of scxml and then implement that using the 
interface. If something you would like to edit is impossible to edit or 
unintuitive or hard, please submit a specific issue on that.

currently the label of an edge is the event associated with it. So, right 
click, select edit, select event tab and add your event.

in scxml, all nodes need to be contained into a scxml node, nothing can be 
outside it.

conditions to enter a state should be implemented as conditions to the edges 
that have as target that node (state).

sorry, i'm not familiar with pystatecharts. For your plan to work (i.e. 
diagram->scxml->pystatecharts) scxml as a language must be able to express all 
you can express in whatever language pystatecharts uses. If that's not true, 
then you'll limit yourself in going through scxml.

Original comment by fmorbini on 8 Feb 2011 at 9:25

GoogleCodeExporter commented 9 years ago

Original comment by fmorbini on 13 Jul 2011 at 11:08