Skip to content

Commit

Permalink
added back strokes to node edges
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexBxl committed Nov 22, 2024
1 parent 8b34189 commit 9cfbdac
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/graph-editor/src/components/flow/edges/edge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ export default function CustomEdge({

return (
<>
<path className="react-flow__edge-path-back" d={edgePath} />
<path
id={id}
className="react-flow__edge-path"
Expand Down
6 changes: 6 additions & 0 deletions packages/graph-editor/src/css/reactflow.css
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@
stroke-opacity: 0.5;

}
.react-flow__edge-path-back
{
stroke-width: 8px !important;
stroke: var(--colors-graphBg) !important;
fill: none;
}
.react-flow__edge-path,
.react-flow__connection-path {
stroke-width: 4px !important;
Expand Down

0 comments on commit 9cfbdac

Please sign in to comment.