Add direct diagram connections, movable ports, and contextual authoring
This commit is contained in:
@@ -13,18 +13,6 @@ use iced::{
|
||||
use oa_core::{transitions::*, *};
|
||||
use std::collections::BTreeSet;
|
||||
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
|
||||
pub struct RelationAction {
|
||||
pub label: &'static str,
|
||||
pub kind: RelationKind,
|
||||
pub incoming: bool,
|
||||
}
|
||||
impl std::fmt::Display for RelationAction {
|
||||
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||
f.write_str(self.label)
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub enum Event {
|
||||
Port(crate::port_workflow::Event),
|
||||
|
||||
Reference in New Issue
Block a user