pub fn import<CT: ComponentType, R: Read, F>( input: R, disk_based: bool, progress_callback: F, ) -> Result<(Graph<CT>, Option<String>)>where F: Fn(&str),