sonntam / node-red-contrib-xstate-machine

A xstate-based state machine implementation using state-machine-cat visualization for node red.
MIT License
22 stars 8 forks source link

Render timeout too short for RasPi2 platform #1

Closed sonntam closed 4 years ago

sonntam commented 4 years ago

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.

sonntam commented 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.

sonntam commented 4 years ago

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.

sonntam commented 4 years ago

A couple of new features have been added: