import { useTinyflowStore } from '#store/stores.svelte';

export const useDeleteEdge = () => {
  const store = useTinyflowStore();
  const deleteEdge = (id: string) => {
    store.removeEdge(id);
  };
  return {
    deleteEdge,
  };
};
