Documentation can be added directly on a diagram using the documentation box or within each of the software constructs. Layers - provide a means of dividing graphical design constructs into several groups and then generating code for any group or set of groups. The BetterState graphical programming environment supports statecharts, flowcharts, and advanced software design constructs for representing complex software module behavioral models. BetterState provides utilities to make the graphical development of software modules more user friendly. Software module automates code generation and integration BetterState s sophisticated code generation algorithms automatically generate production-ready, optimized code.
Users retain control over the code generation process through several user-selectable options.
Code can be generated for an entire project, a single chart, or for a subset of a chart using the ability to generate code for selected layers. The generated code can also be targeted for real-time operating systems. Generating code specific to an application can be accomplished via user-selectable options, although many options depend on the application language. Software module debugging Once a software module has been implemented and integrated, BetterState can be used as a graphical debugging tool. While executing BetterState-generated code on a host or target platform, the diagram is automatically animated to reflect program execution, the active state, the previous state and the path from the previous state to the active state.