@@ -1092,6 +1092,8 @@ void draw_crit_path(ezgl::renderer* g) {
10921092void 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) {
10931093 t_draw_state* draw_state = get_draw_state_vars ();
10941094 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 };
10951097
10961098 auto draw_flyline_timing_edge_helper_fn = [](ezgl::renderer* renderer, const ezgl::color& color, ezgl::line_dash line_style, int line_width, float delay,
10971099 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
11321134 if (draw_current_element) {
11331135 draw_flyline_timing_edge_helper_fn (g, color, ezgl::line_dash::none, /* line_width*/ 4 , delay, prev_node, node);
11341136 } 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 );
11361138 }
11371139 } else {
11381140 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
11431145
11441146 draw_flyline_timing_edge_helper_fn (g, color, ezgl::line_dash::asymmetric_5_3, /* line_width*/ 3 , delay, prev_node, node);
11451147 } 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 );
11471149 }
11481150 }
11491151 }
0 commit comments