menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

Statecharts

The Statecharts community on Spectrum is (along with spectrum) MOVING TO OTHER PLATFORMS: For statecharts discussions in general go to Statecharts Discussion on GitHub (link) or Gitter (link). For XState-specific questions, go to the XState discussion forum for Q&A or the Stately discord chat to chat.

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…

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?

message-simple
7

What is the library for doing the chart layout?

Is it using Graphviz or something under the covers?

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

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 …

message-simple
3

Visualize context

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

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…

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"…

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…

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…

message-simple
70