Add persisted state diagram authoring and context-bound gestures

This commit is contained in:
2026-09-06 03:02:38 +03:00
parent af31c8a11d
commit e0b22108a8
14 changed files with 4316 additions and 753 deletions
@@ -32,6 +32,12 @@ pub enum Event {
Viewport(Context, iced::Size),
Fit(Context),
EditTransition(Context, Id),
ContextMenu {
context: Context,
object: Id,
placement: Option<Id>,
anchor: iced::Point,
},
CreateAt {
context: Context,
owner: Id,
@@ -71,6 +77,7 @@ impl Event {
| Self::Viewport(c, _)
| Self::Fit(c)
| Self::EditTransition(c, _)
| Self::ContextMenu { context: c, .. }
| Self::CreateAt { context: c, .. }
| Self::Place { context: c, .. }
| Self::Move { context: c, .. }