update(edges): use computed getters to group edges by z-level

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-12-20 19:29:52 +01:00
parent c28376950d
commit f2fe93f1db
+1 -1
View File
@@ -34,7 +34,7 @@ const connectionLineVisible = controlledComputed(
)
const groups = controlledComputed(
() => store.getEdges,
() => groupEdgesByZLevel(store.edges, store.nodes),
() => groupEdgesByZLevel(store.getEdges, store.getNodes),
)
</script>
<script lang="ts">