pub fn run_algo( db_dir: &Path, subcmd: &AlgoSubcmd, top: usize, ) -> Result<String, CliError>
Run a graph algorithm and return a formatted string.