Skip to main content
Glama
flow-end-widget-node.tsx785 B
import { Handle, Position } from '@xyflow/react'; import { flowUtilConsts } from '../utils/consts'; import { ApGraphEndNode } from '../utils/types'; import FlowEndWidget from '../widgets/flow-end-widget'; const ApGraphEndWidgetNode = ({ data }: Omit<ApGraphEndNode, 'position'>) => { return ( <> <div className="h-px w-px relative "> {data.showWidget && <FlowEndWidget></FlowEndWidget>} </div> <Handle type="target" position={Position.Top} style={flowUtilConsts.HANDLE_STYLING} /> <Handle type="source" position={Position.Bottom} style={flowUtilConsts.HANDLE_STYLING} /> </> ); }; ApGraphEndWidgetNode.displayName = 'ApGraphEndWidgetNode'; export default ApGraphEndWidgetNode;

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/activepieces/activepieces'

If you have feedback or need assistance with the MCP directory API, please join our Discord server