tinyactors data
List each chart's data declarations.
Usage
tinyactors data [options] INPUT...Lists each chart's data declarations: id, the state declaring it, its expression and its line. Reads one image (.tai), one snapshot, one system manifest or SCXML charts, compiled together into one image first. --segment picks a snapshot's image, and - reads standard input.
Options
-W, --warnings-as-errorsRefuse a chart that compiles with a warning.-I, --include DIRSearchDIRfor a src that is not beside the file naming it, in the order given. Repeatable.-c, --chart NAMELook at the chart namedNAMEonly. Repeatable.-s, --segment NRead the image that segment N of a snapshot runs. Default: the newest live segment.
Configure output formats like -f json using the shared options on the command reference.
Examples
tinyactors data order.scxml# Data
## Charts
### Chart 1: order
- **Name**: order
#### Data
| ID | State | Expression | Line |
| --- | --- | --- | --- |
| total | /scxml | 0 | 3 |
| attempts | /scxml | 0 | 4 |
| charge | /scxml | null | 5 |List the data declarations of a chart.
Exit status
1An input is refused: it does not compile or verify, or it is damaged or of an unknown format.3A file cannot be read or written, or memory runs out.
Related pages
tinyactors statesList each chart's states as a tree in document order.tinyactors transitionsList each chart's transitions with events, conditions and targets.tinyactors eventsList every event name and the transitions, raises and sends using it.tinyactors expressionsList each chart's expressions and scripts with where they are.tinyactors pathFind the shortest path to a state: events, conditions and transitions.tinyactors graphDraw each chart, or list its boxes and edges.tinyactors disassembleList each chart's executable content instruction by instruction.tinyactors inspectShow what an image, a snapshot or a blob holds.