menu

Statecharts

Statecharts are a precise, visual way of modeling the behaviour of complex reactive systems. They describe how things work, and can help you get your code doing exactly what you want.

Channels
Team
Posts
Members
Info

I think I found an error in the Viz

Thanks for your fantastic library, still trying to grasp everything. When I try to visualize my statechart using the viz, I get an error that I do not get locally. It seems it involves around the initial context, and it seems that the viz executes at least one of my…

thumbsup
0
message-simple
2

How to export using graphviz?

I have a complicated state chart. It's hard to visualize with the default visualization. Is there an automated export to graphviz?

thumbsup
0
message-simple
7

What is the library for doing the chart layout?

Is it using Graphviz or something under the covers?

thumbsup
0
message-simple
2

Chart Generation

It would be useful for me to generate statecharts as a git pre-commit hook. SVG would be ideal so the chart can be easily committed back into git. Is this currently possible and if not is anyone working on a tool? Also +1 for a Visual Code Extention

thumbsup
1
message-simple
2

Autocomplete links on site do not work

When you click on links from the Algolia autocomplete search control, you are taken to a URL with an extra /docs in the path which results in a broken link. If you remove the duplicated path, the link works. Repro 1. Go to https://xstate.js.org …

thumbsup
0
message-simple
3

Visualize context

Is there an option I can choose to visualize context values or not?

thumbsup
0
message-simple
1

"Landing page"

Hi! I've been toying with the idea of adding a few live demos of statecharts to the front page. Perhaps the Flickr search or a login flow, but I'm a bit hesitant because developers who visit will often have opinions on how search should work or how login screens should work, and…

thumbsup
0
message-simple
44

Condition states

A concerned citizen opened an issue to notify me that the term "junction state" was missing from the glossary. And just this week I got around to writing some words about junctions, or condition states. Give it a read, and let me know what you think. I added a larger "usage"…

thumbsup
6
message-simple
7

Statecharts at 1

https://statecharts.github.io is 1 year old! 🎉🎉🎉 Last holiday season I had a few days' vacation left over, and I found the time to build a website dedicated to statecharts. The first rough cut was publicized in a humble tweet on the 27th of…

thumbsup
7
message-simple
3

Introductory website

This thread originates from a discussion with Erik on how to best introduce statecharts. This is a large subject, and this thread is more focused on possible improvements which could be brought to the existing website https://statecharts.github.io/. I reproduce excerpts of our…

thumbsup
1
message-simple
70