Commit graph

55 commits

Author SHA1 Message Date
30fa1aaca1 move some files around to confuse everyone 2025-10-25 23:30:08 +02:00
43e3b2117c fix broken pseudo-states (they work more like regular transitions now) 2025-10-25 15:51:17 +02:00
41b2de7529 some refactoring and performance optimization 2025-10-24 01:12:50 +02:00
0fac3977b3 fewer unnecessary re-renders 2025-10-24 00:03:20 +02:00
4f9a546fd1 move the parsing from VisualEditor to App component 2025-10-23 23:13:09 +02:00
87ceaa1220 further reduce unnecessary re-renders 2025-10-23 22:00:45 +02:00
2ca2ba5d1b prevent unnecessary re-rendering of rountangles and diamonds 2025-10-23 21:47:39 +02:00
0fc3775a11 first of many performance improvements: no unnecessary TextSVG re-renders - more to follow 2025-10-23 21:22:28 +02:00
ab988898c0 performance and usability improvements 2025-10-23 19:16:46 +02:00
6bbb230636 implement zoom 2025-10-22 09:39:50 +02:00
523e00d5dc fix some things 2025-10-21 23:30:27 +02:00
6202934ac4 digital watch works 2025-10-21 22:59:17 +02:00
97d42c1cef show internal events in side panel: 2025-10-21 14:37:55 +02:00
29808a683c fired transitions run animation once 2025-10-21 14:23:25 +02:00
60a7d12857 errors in bottom panel are collapsible 2025-10-21 10:51:17 +02:00
297905a4af move 'selection' part of state into same object as rest of editor state 2025-10-21 10:21:26 +02:00
1f9379df7f better UI 2025-10-20 16:29:48 +02:00
88dee7e3b9 custom dialog for editing text labels (no more window.prompt) 2025-10-19 20:30:56 +02:00
09eb4d6982 enhance the greeter 2025-10-19 17:02:13 +02:00
5e60b3dc95 toolbar button to undo last step 2025-10-19 15:11:51 +02:00
373e26dc1b fix: sometimes entering default state would not highlight initial state marker 2025-10-19 12:30:55 +02:00
22fbe70a60 use browser's builtin compression streams API instead of LZ4 package 2025-10-19 11:51:57 +02:00
a10bf9acc8 highlight fired transitions 2025-10-19 11:27:32 +02:00
b8bc977a8e better looking simulation 2025-10-18 22:43:52 +02:00
12e211f358 ... 2025-10-17 16:55:34 +02:00
b55cba198e parser and editor use same code for figuring out what is connected to what 2025-10-17 14:37:26 +02:00
28071eb1f3 can draw history states 2025-10-17 13:31:02 +02:00
d4930eb13d pseudo-states appear to be working + variables only exist within the scope where they are created 2025-10-16 17:10:37 +02:00
db1479bfc4 usability improvements 2025-10-15 14:09:45 +02:00
ec49c47b39 implement copy paste 2025-10-15 13:53:49 +02:00
5ffa084516 toolbar buttons to select shape 2025-10-14 18:41:03 +02:00
a73d51a31a "fix" some typescript errors 2025-10-14 13:42:45 +02:00
b14b9e205c cleanup code a bit 2025-10-14 13:29:13 +02:00
5e7b944978 re-organize project structure a bit + add icons 2025-10-13 17:14:21 +02:00
52bfcc7ff4 nicer connectedness feedback 2025-10-09 16:46:41 +02:00
a8b522fdd8 fix regression: selecting rountangle ID should not select entire rountangle 2025-10-09 13:36:57 +02:00
131f82c5db fix point pos 2025-10-09 13:21:36 +02:00
09a87d3025 raising events appears to work. nondeterminism currently ignored 2025-10-09 13:17:01 +02:00
3f2db4457f simple execution works 2025-10-08 16:49:19 +02:00
b9327d2eb0 interpreter initializes statechart 2025-10-07 17:47:07 +02:00
692c052e11 parse comments 2025-10-07 16:03:23 +02:00
9dd72484fa store app state in URL hash 2025-10-07 15:49:19 +02:00
41f34ab65e when selecting text, highlight rountangle to which text belongs 2025-10-06 17:25:51 +02:00
da0e56e17c arcs nicely curve when they connect a rountangle to itself 2025-10-06 17:15:51 +02:00
e009f718d2 add transition label parser 2025-10-06 15:10:55 +02:00
58a75ddd8b visual feedback on labels belonging to arrows and vice-versa 2025-10-06 11:45:42 +02:00
db246ccefe better error messages 2025-10-05 15:47:42 +02:00
f40e7f60b5 statechart parsing and error reporting working 2025-10-05 15:28:31 +02:00
2adf902a7f arrow connection detection working 2025-10-05 13:31:00 +02:00
6e75866d4e undo/redo working 2025-10-05 12:06:22 +02:00