visma 0.1.1+1 visma: ^0.1.1+1 copied to clipboard
Visma is visualizing Hisma state machines in the web browser.
Visma is visualizing state machines.
This package can install a command line tool called visma
that renders hierarchical state machines created with the hisma
package to interactive state machine diagrams. It gets state machine status updates from its counterpart hisma monitor called hisma_visual_monitor
and renders them to interactive web pages with the help of the pumli
package.
Features #
State machines overview page #
State machine pages #
Visma does not only monitor, you can also fire events from visma ui: #
Getting started #
Install visma by
$ dart pub global activate visma
Usage #
You can check usage:
$ visma -h
A visualization server for Hisma the hierarchical state machine.
Without parameters it will try running the 'plantuml -picoweb' command as the renderer for visma.
Usage: visma [--bind=BIND] [--port=PORT] [--plantuml_public] | [--plantuml_url=URL] | [--plantuml_jar=JAR --plantuml_bind=BIND --plantuml_port=PORT] [--help]
Options:
-p, --port Port of the visma service listening on.
-b, --bind Specify bind address of the visma service.
--plantuml_public The public PlantUML service will be used as renderer.
--plantuml_url PlantUML service at this URL will be used to render.
--plantuml_port Port of the PlantUML renderer service that will be started.
--plantuml_jar Specify PlantUML jar location.
--plantuml_bind Specify bind address of the local PlantUML service to be started.
-h, --help Shows this help.
Start visma in command line:
$ visma
"plantuml -picoweb:4020:127.0.0.1":
webPort=4020
Finally, use hisma_visual_monitor
to send state machine updates to visma.
Additional information #
If you have any questions, comments please go to Hisma GitHub Discussions to start or join discussions.