Root state label
The root state is implicit and currently not visible anywhere. This makes it tricky to find a place to render (and edit) the label.
- One solution is to use the coordinates (0, 0) as a permanent location for the label.
- Another more complicated solution is to have a ghost root state that is dynamically resized to fit every element in the chart which has the side effect of moving the label to match the container.
- Just for the sake of completing this list another option is a fixed (in the content window) label position.
- A somewhat restricting, but nice none the less, solution is to prevent labeling the root state and instead force any label to be on child states. If a label is necessary then wrapping the states in a parent and labeling that parent should be enough to solve any issues. This has the added maintenance of always resizing and managing that super state but with new modifications for graphical management this overhead should be somewhat mitigated.