MCPcopy Create free account
hub / github.com/ForestHubAI/edge-agents / BuilderLayoutProps

Interface BuilderLayoutProps

ts/workflow-builder/src/BuilderLayout.tsx:42–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40 * {@link WorkflowBuilder} above (which owns long-lived editor state).
41 */
42export interface BuilderLayoutProps {
43 functions: FunctionDeclaration[];
44 /** Open (and select) an existing function — used by the sidebar list and tab dropdown. */
45 onOpenFunction: (functionId: string) => void;
46 /** Create a new function and open it — the sidebar list's "Add" action. */
47 onCreateFunction: () => string;
48
49 canvasTabs: CanvasTab[];
50 onCanvasTabChange: (tabId: string) => void;
51 onCanvasTabClose: (tabId: string) => void;
52 onCanvasTabReorder: (fromIndex: number, toIndex: number) => void;
53
54 onDebugStep?: (nodeId?: string) => void;
55}
56
57export const BuilderLayout = ({
58 functions,
59 onOpenFunction,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected