Working color for nodes

This commit is contained in:
elvis
2025-07-13 18:14:35 +02:00
parent 28b5288535
commit 6fd606d75d
4 changed files with 161 additions and 33 deletions

View File

@ -433,6 +433,13 @@ pub struct NodeColor {
pub base_color: String
}
pub fn node_formatter_base_color(
base_color: String
) -> String
{
", fillcolor=".to_string() + &base_color
}
pub fn node_formatter(
original_graph: Rc<RSgraph>,
rule: NodeColorConditional,