On Wednesday, October 10, 2012 10:52:07 PM UTC-4, Jacob Beard wrote:
On Wed, Oct 10, 2012 at 7:16 PM, nick
<nick.b...@gmail.com> wrote:
i have used lots of programs that were great drawing state machines that couldn't meaningfully execute them.
Any good free ones? I've found it's usually not too difficult to hook SCION into most graphical environments, and I certainly do see the value in having a tool that can be used for both diagramming and graphical simulation.
I've mostly done UML/SysML-based state machines with MagicDraw and Enterprise Architect which are not free. The open source TOPCASED, which can execute machines fairly well, though you have to dig through 5 layers of eclipse UI to get to some parts of it.
tldr; use D3 to build SysML/UML diagrams of state machines which you could use to control project workflows in Apache Incubatee Allura. Didn't work out, yet!
What was the blocker?
Basically money/availability. Had to move on to other projects. Haven't been hacking too much Allura in my spare time, though that community is heating up, some, with some new contributors adding good stuff.
OK, I see what you had in mind. However, my feeling about this is that as the Statecharts language already has a visual syntax, described in the original 1987 paper, I would be disinclined to introduce a different visual syntax, particularly when that new syntax is no longer graph-based.
If the editing was done in d3 as well, I couldn't agree more, but is XML really an appropriate input format for all users?
Also, I like the natural-language part of blockly: the blocks are readable aloud, a nice property of a visualization. This way, I user can learn the terminology of state machines, while building, visualizing, and executing them.
What about when you get to datamodel embedded logic, etc? Even in the best authoring environments above, they were pretty crappy IDEs: I always hate that with, say, Eclipse, where I am expected to write code in a modal with a textbox when I've got a full-featured editor open a few layers behind it. Here, blockly has a leg up, as it's likely one could enable the javascript and python implementations directly off the end of the appropriate expression attrs.
Meanwhile, still puttering along: I did get my gh-pages build sorted last night, so blockd3 is up and running. The d3 actually is hooked up to the "run" button, but I need some better examples... and need to unbreak some of the datatyping stuff, which appears to be mostly turned off now.