pub fn refresh(
        &mut self,
        flow: &EntityFlow,
        workspace_mode: &WorkspaceMode,
    ) {
        self.ensure_router(workspace_mode);
        // Todo: decide whether it stays.
        // self.purge_router(workspace_mode);
        self.clean(flow);
        self.ensure_fallback()
    }
/// ensure and clean all invalid cubes; ensure valid router.
ensure and clean all invalid cubes; ensure valid router.
ensure and clean all invalid cubes ; ensure valid router .
pub fn refresh(
        &mut self,
        flow: &EntityFlow,
        workspace_mode: &WorkspaceMode,
    ) {
        self.ensure_router(workspace_mode);
        // Todo: decide whether it stays.
        // self.purge_router(workspace_mode);
        self.clean(flow);
        self.ensure_fallback()
    }
pub fn refresh ( & mut self , flow : & EntityFlow , workspace_mode : & WorkspaceMode , ) { self . ensure_router ( workspace_mode ) ; // Todo: decide whether it stays. // self.purge_router(workspace_mode); self . clean ( flow ) ; self . ensure_fallback ( ) }
ensure and clean all invalid cubes; ensure valid router.
ensure and clean all invalid cubes ; ensure valid router .
&mut self
flow
&EntityFlow
workspace_mode
&WorkspaceMode
&mut self
flow
&EntityFlow
workspace_mode
&WorkspaceMode