Skip to content

Commit

Permalink
collapse after delete node / edge
Browse files Browse the repository at this point in the history
  • Loading branch information
Anchel123 committed Jul 2, 2024
1 parent d904176 commit 959ae66
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/graph/GraphView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,7 @@ const GraphView = forwardRef(({ graphName, setQueries, schema }: {
if (!success) return
graph.Elements = graph.Elements.filter(element => element.data.id !== id)
setSelectedElement(undefined)
dataPanel.current?.collapse()
}

const onSetLabel = async (label: string) => {
Expand Down

0 comments on commit 959ae66

Please sign in to comment.