Closed sonntam closed 4 years ago
The default node's state machine can take as long as 40 seconds to render on a Pi2 according to this post.
As stated in https://github.com/sverweij/state-machine-cat/issues/116 using native graphviz would be a good way around the performance issue since rendering is done in the runtime - not in the client browser.
A couple of new features have been added:
dot
renderer program. In order to use it it has to be available on the path.
See here.
The currently hard-coded render timeout of 10 seconds is too short. Maybe change the rendering so that no hard-coded timeout is necessary by observing the spawned process.