Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visually differentiate default initial states. #58

Open
GoogleCodeExporter opened this issue Mar 31, 2015 · 1 comment
Open

Visually differentiate default initial states. #58

GoogleCodeExporter opened this issue Mar 31, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

1. Load the following SCXML into the editor:

    <scxml xmlns="http://www.w3.org/2005/07/scxml" version="1.0" name="SimpleParallelTest">
      <parallel id="microwave">
        <state id="radiation">
          <state id="radiation-off"><transition event="turn.on" target="radiation-maybe"/></state>

          <state id="radiation-maybe">
            <transition event="turn.off" target="radiation-off"/>        
            <state id="radiation-maybe-paused" ><transition cond="In('door-closed')" target="radiation-maybe-cooking"/></state>
            <state id="radiation-maybe-cooking"><transition cond="In('door-open')"   target="radiation-maybe-paused" /></state>
          </state>
        </state>

        <state id="door">
          <state id="door-closed"><transition event="door.open"  target="door-open"  /></state>
          <state id="door-open"  ><transition event="door.close" target="door-closed"/></state>
        </state>
      </parallel>
    </scxml>

Note that the states radiation-off, radiation-maybe-paused, and door-closed are 
all the implicit initial states.

**EXPECTED**: These states are visually differentiated in the graph to somehow 
show that they are the default initial. This might be through color (light 
green?), but should also ideally place these states at the top/leftmost of the 
other children to further emphasize the ordering (at least for LTR language 
speakers).

**ACTUAL**: The states are often ordered "upside-down", with the first state in 
document order appearing below earlier states.

Original issue reported on code.google.com by Phrog...@gmail.com on 26 Jan 2013 at 12:07

@GoogleCodeExporter
Copy link
Author

Original comment by fmorbini on 30 Jan 2013 at 5:17

  • Changed state: Accepted
  • Added labels: ****
  • Removed labels: ****

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant