MCPcopy
hub / github.com/FlowiseAI/Flowise / useEdgesState

Function useEdgesState

packages/agentflow/src/__mocks__/reactflow.tsx:47–50  ·  view source on GitHub ↗
(initialEdges: any)

Source from the content-addressed store, hash-verified

45}
46
47export const useEdgesState = (initialEdges: any) => {
48 const [edges, setEdges] = React.useState(initialEdges || [])
49 return [edges, setEdges, jest.fn()]
50}
51
52export const useReactFlow = () => ({
53 screenToFlowPosition: jest.fn((pos) => pos),

Callers 5

CanvasFunction · 0.90
AgentflowCanvasFunction · 0.90
MarketplaceCanvasV2Function · 0.90
MarketplaceCanvasFunction · 0.90
AgentflowCanvasFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected