Skip to content

Commit

Permalink
Changed style of equality edges
Browse files Browse the repository at this point in the history
  • Loading branch information
oskari1 committed Jan 13, 2024
1 parent c3e3336 commit 0a87a4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions axiom-profiler-GUI/src/results/svg_result.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,11 +160,11 @@ impl Component for SVGResult {
edge_data.weight(),
match edge_data.weight() {
InstOrEquality::Inst(_, _) => "solid, bold",
InstOrEquality::Equality => "dashed",
InstOrEquality::Equality => "solid",
},
match edge_data.weight() {
InstOrEquality::Inst(_, mkind) => format!("{}", self.colour_map.get(&mkind, NODE_COLOUR_SATURATION + 0.2)),
InstOrEquality::Equality => "black".to_string(),
InstOrEquality::Equality => "black:white:black".to_string(),
}
),
&|_, (_, node_data)| {
Expand Down

0 comments on commit 0a87a4f

Please sign in to comment.