Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

360 B
Raw Blame
import { createContext } from 'react';

/**
 * Collapsing or expanding a group re-lays out the whole stack around it. The id
 * of the group the user just toggled is handed to the canvas here, so it can
 * bring that group back into view once the new layout lands.
 */
export const FlowAnchorContext = createContext<(nodeId: string | null) => void>(() => {});