When a new transition is designated by double-click-dragging between two states, a macroquad text_input now appears
Typing text then pressing enter or clicking outside the text input creates a transition with the string's first character as a symbol
If no text is entered at this point, the transition is the empty string
If escape is pressed, the input is cancelled and no transition is added
Increased the number of sides on the state circles
Improved the readability of text below curved states
Caveats and future work
The text_input should be auto-focused for keyboard input, but this is not possible in the crates version of macroquad
I made a PR for programmatic focusing, and it was merged, but that version is not yet versioning-compatible with egui-macroquad
The requirement of keyboard input breaks mobile feature-completeness, so eventually look into programmatically/automatically opening the soft keyboard in mobile/web builds
It would be nice if the transition arrows and lines appeared when typing the input, but that is much more complex with the current setup
text_input
now appearsCaveats and future work
text_input
should be auto-focused for keyboard input, but this is not possible in the crates version of macroquad