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