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

export const useGetNode = () => {
  const store = useTinyflowStore();
  const getNode = (id: string) => {
    return store.getNode(id);
  };
  return {
    getNode,
  };
};
