manager: The big refactoring

Clean up the logic in main to make it more readable.  Factor out common
functionality into the respective modules.
This commit is contained in:
Rahix 2025-05-22 20:27:08 +02:00
parent bc54cd91fd
commit 785ff37107
5 changed files with 171 additions and 140 deletions

View file

@ -166,11 +166,14 @@ impl Tree {
&|_g, (_, element)| element.to_dot_node_attributes(None),
);
format!(r#"digraph {{
format!(
r#"digraph {{
ranksep=1.2
{:?}
}}
"#, dot)
"#,
dot
)
}
pub fn to_mermaid(&self, repo_url: &str) -> String {