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:
parent
bc54cd91fd
commit
785ff37107
5 changed files with 171 additions and 140 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue