@@ -1092,6 +1092,8 @@ void draw_crit_path(ezgl::renderer* g) {
1092
1092
void draw_crit_path_elements (const std::vector<tatum::TimingPath>& paths, const std::map<std::size_t , std::set<std::size_t >>& indexes, bool draw_crit_path_contour, ezgl::renderer* g) {
1093
1093
t_draw_state* draw_state = get_draw_state_vars ();
1094
1094
const ezgl::color contour_color{0 , 0 , 0 , 40 };
1095
+ const ezgl::line_dash contour_line_style{ezgl::line_dash::none};
1096
+ const int contour_line_width{1 };
1095
1097
1096
1098
auto draw_flyline_timing_edge_helper_fn = [](ezgl::renderer* renderer, const ezgl::color& color, ezgl::line_dash line_style, int line_width, float delay,
1097
1099
const tatum::NodeId& prev_node, const tatum::NodeId& node, bool skip_draw_delays = false ) {
@@ -1132,7 +1134,7 @@ void draw_crit_path_elements(const std::vector<tatum::TimingPath>& paths, const
1132
1134
if (draw_current_element) {
1133
1135
draw_flyline_timing_edge_helper_fn (g, color, ezgl::line_dash::none, /* line_width*/ 4 , delay, prev_node, node);
1134
1136
} else if (draw_crit_path_contour) {
1135
- draw_flyline_timing_edge_helper_fn (g, contour_color, ezgl::line_dash::none, /* line_width */ 1 , delay, prev_node, node, /* skip_draw_delays*/ true );
1137
+ draw_flyline_timing_edge_helper_fn (g, contour_color, contour_line_style, contour_line_width , delay, prev_node, node, /* skip_draw_delays*/ true );
1136
1138
}
1137
1139
} else {
1138
1140
VTR_ASSERT (draw_state->show_crit_path != DRAW_NO_CRIT_PATH);
@@ -1143,7 +1145,7 @@ void draw_crit_path_elements(const std::vector<tatum::TimingPath>& paths, const
1143
1145
1144
1146
draw_flyline_timing_edge_helper_fn (g, color, ezgl::line_dash::asymmetric_5_3, /* line_width*/ 3 , delay, prev_node, node);
1145
1147
} else if (draw_crit_path_contour) {
1146
- draw_flyline_timing_edge_helper_fn (g, color, ezgl::line_dash::asymmetric_5_3, /* line_width */ 3 , delay, prev_node, node, /* skip_draw_delays*/ true );
1148
+ draw_flyline_timing_edge_helper_fn (g, contour_color, contour_line_style, contour_line_width , delay, prev_node, node, /* skip_draw_delays*/ true );
1147
1149
}
1148
1150
}
1149
1151
}
0 commit comments