fix: update edge z index when node is selected (#4765)

Fixed edges zindex when node selected
This commit is contained in:
Lucas Oliveira 2024-11-21 21:43:40 -03:00 committed by GitHub
commit 69465368c1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -546,6 +546,7 @@ export default function Page({ view }: { view?: boolean }): JSX.Element {
onSelectionEnd={onSelectionEnd}
onSelectionStart={onSelectionStart}
connectionRadius={30}
elevateEdgesOnSelect={true}
edgeTypes={edgeTypes}
connectionLineComponent={ConnectionLineComponent}
onDragOver={onDragOver}