Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions lib/compat/loadSerializedHyperGraph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ const isFullObstacleRegion = (
return false
}

if (region.d?._containsTarget !== true) {

@0hmX 0hmX Jul 17, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was removing obstacle regions that did not contain a connection endpoint.

But due to component topology generation with rectangles, some obstacle regions do not contain an endpoint but are still assigned to a net. Those net-owned regions must be preserved, because they can contain valid routing ports and edges.

return true
}

const netId = getSerializedRegionNetId(region)
return netId === undefined || netId === -1
}
Expand Down
Loading