Simplify topology edge selection highlight and remove arrowheads.

Keep straight undirected links that meet nodes; selected edges only get a light blue stroke.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-08-04 10:36:04 +08:00
parent 728894a692
commit 71acbc747f
2 changed files with 13 additions and 50 deletions

View file

@ -6667,23 +6667,10 @@ pre {
font-weight: 700;
}
/* Selected link: glow + wider interaction halo (inline stroke otherwise hides RF defaults). */
.topo-canvas .react-flow__edge.selected .react-flow__edge-interaction,
.topo-canvas .react-flow__edge.topo-edge--selected .react-flow__edge-interaction {
/* Selected link: light highlight only (do not alter geometry / arrows). */
.topo-canvas .react-flow__edge.selected .react-flow__edge-path {
stroke: #2563eb !important;
stroke-width: 14px !important;
stroke-opacity: 0.28 !important;
}
.topo-canvas .react-flow__edge.selected .react-flow__edge-path,
.topo-canvas .react-flow__edge.topo-edge--selected .react-flow__edge-path {
stroke-linecap: round;
}
.topo-canvas .react-flow__edge.selected .react-flow__edge-text,
.topo-canvas .react-flow__edge.topo-edge--selected .react-flow__edge-text {
fill: #1d4ed8;
font-weight: 700;
stroke-width: 3px !important;
}
.topo-node__icon {