pub struct InteractiveGraphEditor { /* private fields */ }Expand description
Interactive graph editor with real-time capabilities
Implementations§
Source§impl InteractiveGraphEditor
impl InteractiveGraphEditor
Sourcepub async fn start_server(&self, port: u16) -> Result<()>
pub async fn start_server(&self, port: u16) -> Result<()>
Start the interactive editor server
Sourcepub fn apply_edit(
&self,
operation: EditOperation,
user_id: Option<String>,
) -> Result<()>
pub fn apply_edit( &self, operation: EditOperation, user_id: Option<String>, ) -> Result<()>
Apply an edit operation
Sourcepub fn export_graph(&self, format: ExportFormat) -> Result<String>
pub fn export_graph(&self, format: ExportFormat) -> Result<String>
Export graph in various formats
Sourcepub fn import_graph(&self, data: &str, format: ImportFormat) -> Result<()>
pub fn import_graph(&self, data: &str, format: ImportFormat) -> Result<()>
Import graph from various formats
Sourcepub fn get_performance_metrics(&self) -> PerformanceMetrics
pub fn get_performance_metrics(&self) -> PerformanceMetrics
Get real-time performance metrics
Sourcepub fn start_collaboration(&self, user: UserSession) -> Result<String>
pub fn start_collaboration(&self, user: UserSession) -> Result<String>
Start collaborative editing session
Sourcepub fn stop_collaboration(&self, session_id: &str) -> Result<()>
pub fn stop_collaboration(&self, session_id: &str) -> Result<()>
Stop collaborative editing session
Sourcepub fn get_collaboration_state(&self) -> CollaborationState
pub fn get_collaboration_state(&self) -> CollaborationState
Get current collaboration state
Auto Trait Implementations§
impl Freeze for InteractiveGraphEditor
impl RefUnwindSafe for InteractiveGraphEditor
impl Send for InteractiveGraphEditor
impl Sync for InteractiveGraphEditor
impl Unpin for InteractiveGraphEditor
impl UnsafeUnpin for InteractiveGraphEditor
impl UnwindSafe for InteractiveGraphEditor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more