@@ -240,6 +240,8 @@ void draw_rr_edges(RRNodeId inode, ezgl::renderer* g) {
240
240
e_rr_type from_type, to_type;
241
241
242
242
from_type = rr_graph.node_type (inode);
243
+
244
+ // Currently don't visualize source or sinks.
243
245
if (from_type == e_rr_type::SOURCE || from_type == e_rr_type::SINK) {
244
246
return ;
245
247
}
@@ -255,6 +257,7 @@ void draw_rr_edges(RRNodeId inode, ezgl::renderer* g) {
255
257
to_type = rr_graph.node_type (to_node);
256
258
bool edge_configurable = rr_graph.edge_is_configurable (inode, iedge);
257
259
260
+ // Currently don't visualize source or sinks.
258
261
if (to_type == e_rr_type::SOURCE || to_type == e_rr_type::SINK) {
259
262
continue ;
260
263
}
@@ -288,10 +291,10 @@ void draw_rr_edges(RRNodeId inode, ezgl::renderer* g) {
288
291
289
292
if (!edge_configurable) color = blk_DARKGREY;
290
293
291
- if ((from_type == e_rr_type::CHANX || from_type == e_rr_type::CHANY)
292
- && (to_type == e_rr_type::IPIN)
293
- && draw_state->draw_rr_node [to_node].node_highlighted
294
- && draw_state->draw_rr_node [inode].color == DEFAULT_RR_NODE_COLOR){
294
+ if ((from_type == e_rr_type::CHANX || from_type == e_rr_type::CHANY)
295
+ && (to_type == e_rr_type::IPIN)
296
+ && draw_state->draw_rr_node [to_node].node_highlighted
297
+ && draw_state->draw_rr_node [inode].color == DEFAULT_RR_NODE_COLOR) {
295
298
// If the IPIN is clicked on, draw connection to all the CHANX
296
299
// wire segments fanning into the pin. If a CHANX wire is clicked
297
300
// on, draw only the connection between that wire and the IPIN, with
0 commit comments