fn new_connection_created(&self, id: ViewConnection) {
        self.update_ast(
            || {
                let connection = self.view.model.edges.get_cloned_ref(&id)?;
                let ast_to_create = self.state.update_from_view().create_connection(connection)?;
                Some(self.controller.connect(&ast_to_create))
            },
            "create connection",
        );
    }
/// Connection was created in view.
Connection was created in view.
Connection was created in view .
fn new_connection_created(&self, id: ViewConnection) {
        self.update_ast(
            || {
                let connection = self.view.model.edges.get_cloned_ref(&id)?;
                let ast_to_create = self.state.update_from_view().create_connection(connection)?;
                Some(self.controller.connect(&ast_to_create))
            },
            "create connection",
        );
    }
fn new_connection_created ( & self , id : ViewConnection ) { self . update_ast ( | | { let connection = self . view . model . edges . get_cloned_ref ( & id ) ? ; let ast_to_create = self . state . update_from_view ( ) . create_connection ( connection ) ? ; Some ( self . controller . connect ( & ast_to_create ) ) } , " " , ) ; }
Connection was created in view.
Connection was created in view .
&self
id
ViewConnection
&self
id
ViewConnection