ScxmlEditor-Tutorial
ScxmlEditor-Tutorial copied to clipboard
Datamodel View
Feature Request A view that shows the complete datamodel would be useful. It is possible to declare an independent datamodel visually for each substate that makes the chart a little easier to read. But this is misleading (and error prone) because they are all aggregated into only one datamodel for the whole chart (at least in ECMAscript - Section B.2.2). This should be a list view sorted by data name (id) also showing the initial value and state where it was declared. This is especially useful to catch situations where a data name may have been re-initialized accidentally in a substate. Maybe even provide a warning symbol if a data name is duplicated. As a stretch goal, it would be nice if it showed all of the places where the data was being used in a tree view style (scripts / conditions / other content). Further stretch goal... allow renaming the data in the view to automatically propagate (basically like the existing "replace" feature).
I'll think about it. You can use Structure View as a temporary solution
https://user-images.githubusercontent.com/18611095/189040212-8ea52d3e-13a1-474a-b7b1-2b0e3494e071.mp4