update(edges): filter edges of hidden nodes

* we don't want to show edges that go seemingly nowhere

Signed-off-by: bcakmakoglu <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
bcakmakoglu
2022-03-08 16:34:50 +01:00
parent 46a63c29aa
commit c31deb897d
2 changed files with 5 additions and 5 deletions
+1 -4
View File
@@ -32,10 +32,7 @@ const connectionLineVisible = controlledComputed(
store.connectionHandleType
),
)
const groups = controlledComputed(
() => store.getEdges,
() => groupEdgesByZLevel(store.getEdges, store.getNodes),
)
const groups = computed(() => groupEdgesByZLevel(store.getEdges, store.getNodes))
</script>
<script lang="ts">
export default {