MCPcopy Index your code

hub / github.com/chrisjpatty/flume / functions

Functions160 in github.com/chrisjpatty/flume

↓ 79 callersMethodaddNodeType
(config: NodeTypeConfig)
src/typeBuilders.ts:197
↓ 36 callersMethodaddPortType
(config: PortTypeConfig)
src/typeBuilders.ts:286
↓ 16 callersFunctionbyScale
(value: number)
src/components/IoPorts/IoPorts.tsx:315
↓ 10 callersFunctiondefine
(value: T, defaultValue: T)
src/typeBuilders.ts:16
↓ 10 callersFunctiononChange
(data: any)
src/components/Control/Control.tsx:107
↓ 8 callersFunctionbyScale
(value: number)
src/connectionCalculator.ts:199
↓ 8 callersFunctionbyScale
(value: number)
src/components/Node/Node.tsx:65
↓ 7 callersFunctiongetPortRect
( nodeId: string, portName: string, transputType?: TransputType, cache?: RefObject<FlumeCache> )
src/connectionCalculator.ts:17
↓ 6 callersFunctionbuildDefaultConfig
( defaultConfig: Partial<GenericControl>, config: Partial<GenericControl> )
src/typeBuilders.ts:19
↓ 6 callersFunctioncalculateCurve
(from: Coordinate, to: Coordinate)
src/connectionCalculator.ts:74
↓ 5 callersFunctiongetCurrentNodes
cypress/integration/NodeEditorSpec.js:1
↓ 4 callersMethodaddRootNodeType
(config: NodeTypeConfig)
src/typeBuilders.ts:188
↓ 4 callersFunctionbyScale
(value: number)
src/components/Stage/Stage.tsx:205
↓ 4 callersFunctionbyScale
(value: number)
src/components/Draggable/Draggable.tsx:38
↓ 4 callersFunctionsetComment
( comments: CommentMap, id: string, merge: Partial<FlumeComment> )
src/commentsReducer.ts:53
↓ 4 callersFunctionusePrevious
(value: T)
src/hooks/usePrevious.ts:3
↓ 3 callersFunctiongetRandomColor
()
example/src/App.tsx:29
↓ 2 callersFunctionbyNewScale
(no: number)
src/components/Stage/Stage.tsx:107
↓ 2 callersFunctionbyOldScale
(no: number)
src/components/Stage/Stage.tsx:106
↓ 2 callersFunctiondeleteConnection
({ id }: { id: string })
src/connectionCalculator.ts:117
↓ 2 callersFunctiongetDefaultData
({ node, nodeType, portTypes, context }: { node: FlumeNode; nodeType: NodeType; portTypes: PortT
src/nodesReducer.ts:256
↓ 2 callersFunctiongetFilteredTransputs
(transputs: ConnectionMap, nodeId: string)
src/nodesReducer.ts:115
↓ 2 callersFunctiongetPort
( nodeId: string, portName: string, transputType: TransputType = "input" )
src/connectionCalculator.ts:8
↓ 2 callersFunctiongetPortBuilders
(ports: { [portType: string]: PortType; })
src/typeBuilders.ts:154
↓ 2 callersFunctiongetScaledCoordinates
(e: MouseEvent)
src/components/Draggable/Draggable.tsx:40
↓ 2 callersFunctiongetScreenSize
()
docs/src/pages/index.js:23
↓ 2 callersFunctionhandleOptionSelected
(option: SelectOption)
src/components/ContextMenu/ContextMenu.tsx:38
↓ 2 callersFunctionnodesReducer
( nodes: NodeMap, action: NodesAction, { nodeTypes, portTypes, cache, circularBehavior, context }: Flume
src/nodesReducer.ts:336
↓ 2 callersFunctionremoveConnection
(nodes: NodeMap, input: ProposedConnection, output: ProposedConnection)
src/nodesReducer.ts:77
↓ 2 callersMethodresolveRootNode
( nodes: NodeMap, rawOptions?: RootEngineOptions )
src/RootEngine.ts:136
↓ 2 callersFunctionstartDragDelay
(e: React.MouseEvent | React.TouchEvent)
src/components/Draggable/Draggable.tsx:124
↓ 2 callersFunctionupdateConnectionsByTransput
( transput: ConnectionMap = {}, isOutput?: boolean )
src/components/Node/Node.tsx:67
↓ 2 callersFunctionupdateNodeConnections
()
src/components/Node/Node.tsx:142
↓ 2 callersFunctionuseTransputs
( transputsFn: PortType[] | TransputBuilder, transputType: TransputType, nodeId: string, inputData: In
src/components/IoPorts/IoPorts.tsx:30
↓ 1 callersFunctionaddConnection
(nodes: NodeMap, input: ProposedConnection, output: ProposedConnection, portTypes: PortTypeMap)
src/nodesReducer.ts:37
↓ 1 callersFunctioncheckForCircularNodes
( nodes: { [nodeId: string]: FlumeNode }, startNodeId: string )
src/utilities.ts:3
↓ 1 callersFunctionconnectNodesReducer
( reducer: typeof nodesReducer, environment: FlumeEnvironment, dispatchToasts: React.Dispatch<React.SetS
src/nodesReducer.ts:503
↓ 1 callersFunctioncreateConnections
( nodes: { [nodeId: string]: FlumeNode }, { scale }: StageState, editorId: string )
src/connectionCalculator.ts:188
↓ 1 callersFunctioncreateSVG
({ from, to, stage, id, outputNodeId, outputPortName, inputNodeId, inputPortName }: { from:
src/connectionCalculator.ts:145
↓ 1 callersFunctiondeleteConnectionsByNodeId
(nodeId: string)
src/connectionCalculator.ts:122
↓ 1 callersFunctiondeleteNode
()
src/components/Node/Node.tsx:180
↓ 1 callersFunctionendDragDelay
()
src/components/Draggable/Draggable.tsx:118
↓ 1 callersFunctiongetControlByType
(type: ControlTypes)
src/components/Control/Control.tsx:121
↓ 1 callersFunctiongetFilteredOptions
()
src/components/Select/Select.tsx:61
↓ 1 callersFunctiongetInitialNodes
( initialNodes: NodeMap = {}, defaultNodes: DefaultNode[] = [], nodeTypes: NodeTypeMap, portTypes: Por
src/nodesReducer.ts:217
↓ 1 callersFunctiongetRandomId
()
docs/components/ControlExamples.js:16
↓ 1 callersFunctiongetStageRef
(editorId: string)
src/connectionCalculator.ts:183
↓ 1 callersFunctionhandleOptionDeleted
(optionIndex: number)
src/components/Select/Select.tsx:57
↓ 1 callersFunctionreconcileNodes
( initialNodes: NodeMap, nodeTypes: NodeTypeMap, portTypes: PortTypeMap, context: any )
src/nodesReducer.ts:143
↓ 1 callersFunctionremap
(value, low1, high1, low2, high2)
docs/src/components/TypeSafe.js:6
↓ 1 callersFunctionremoveConnections
(connections: Connections, nodeId: string)
src/nodesReducer.ts:124
↓ 1 callersFunctionremoveNode
(startNodes: NodeMap, nodeId: string)
src/nodesReducer.ts:129
↓ 1 callersFunctionstartDrag
(e: MouseEvent | TouchEvent)
src/components/Draggable/Draggable.tsx:79
↓ 1 callersFunctionstartTextEdit
()
src/components/Comment/Comment.tsx:119
↓ 1 callersFunctionupdateConnection
({ line, from, to }: { line: SVGPathElement; from: Coordinate; to: Coordinate; })
src/connectionCalculator.ts:133
↓ 1 callersFunctionuseInfiniteEngine
( nodes: NodeMap, engine: RootEngine, context: any, options = {} )
example/src/App.tsx:660
↓ 1 callersFunctionuseRootEngine
( nodes: NodeMap, engine: RootEngine, context?: any, options?: RootEngineOptions )
src/useRootEngine.ts:4
FunctionApp
()
example/src/App.tsx:605
FunctionBlueSpan
({ children })
docs/src/pages/index.js:35
FunctionCheckbox
({ label, data, onChange }: CheckboxProps)
src/components/Checkbox/Checkbox.tsx:11
FunctionColorButton
({ color, onSelected }: { color: ColorsType; onSelected: () => void; })
src/components/ColorPicker/ColorPicker.tsx:77
FunctionColorPicker
({ x, y, onColorPicked, onRequestClose }: ColorPickerProps)
src/components/ColorPicker/ColorPicker.tsx:13
FunctionComment
({ dispatch, id, x, y, width, height, color, text, stageRect, onDragStart, isNew }: Comm
src/components/Comment/Comment.tsx:26
FunctionComposeExample
()
docs/components/DynamicNodesExamples.js:89
FunctionConnection
({ from, to, id, lineRef, outputNodeId, outputPortName, inputNodeId, inputPortName }: Connecti
src/components/Connection/Connection.tsx:17
FunctionConnections
({ editorId }: ConnectionsProps)
src/components/Connections/Connections.tsx:9
FunctionContextMenu
({ x, y, options = [], onRequestClose, onOptionSelected, label, hideHeader, hideFilter, empt
src/components/ContextMenu/ContextMenu.tsx:19
FunctionContextOption
({ menuId, index, children, onClick, selected, onMouseEnter }: ContextOptionProps)
src/components/ContextMenu/ContextMenu.tsx:238
FunctionControl
(props: ControlProps)
src/components/Control/Control.tsx:85
FunctionDraggable
({ children, stageState, stageRect, onDragDelayStart, onDragStart, onDrag, onDragEnd, onMouseD
src/components/Draggable/Draggable.tsx:19
FunctionGreenSpan
({ children })
docs/src/pages/index.js:38
FunctionInput
({ type, label, name, nodeId, data, controls: localControls, inputTypes, noControls, trigger
src/components/IoPorts/IoPorts.tsx:162
FunctionIoPorts
({ nodeId, inputs = [], outputs = [], connections, inputData, updateNodeConnections }: IoPortsProp
src/components/IoPorts/IoPorts.tsx:79
FunctionNode
({ id, width, x, y, stageRect, connections, type, inputData, root, onDragStart, renderNo
src/components/Node/Node.tsx:38
FunctionNodeHeader
({ children, className = "", ...props })
src/components/Node/Node.tsx:261
FunctionOptionChip
({ children, onRequestDelete }: OptionChipProps)
src/components/Select/Select.tsx:165
FunctionOutput
({ label, name, nodeId, type, inputTypes, triggerRecalculation }: OutputProps)
src/components/IoPorts/IoPorts.tsx:246
FunctionPort
({ color = "grey", name = "", type, isInput, nodeId, triggerRecalculation }: PortProps)
src/components/IoPorts/IoPorts.tsx:289
FunctionRedSpan
({ children })
docs/src/pages/index.js:41
FunctionRequiredExample
()
docs/components/DynamicNodesExamples.js:139
FunctionSelect
({ options = [], placeholder = "[Select an option]", onChange, data, allowMultiple = false }: Select
src/components/Select/Select.tsx:18
FunctionSelectedOption
({ option: { label, description } = { label: "", description: "", value: "" }, wrapperRef,
src/components/Select/Select.tsx:138
FunctionSimpleEditor
()
docs/components/GettingStartedExample.js:400
FunctionStage
({ scale, translate, editorId, dispatchStageState, children, outerStageChildren, numNodes, sta
src/components/Stage/Stage.tsx:40
FunctionTestEditor
()
example/src/TestRoutes/TestEditor.tsx:45
FunctionTextInput
({ placeholder, updateNodeConnections, onChange, data, step, type }: TextInputProps)
src/components/TextInput/TextInput.tsx:14
FunctionToast
({ id, title, message, duration, type, exiting, y, onHeightReceived, onExitRequested, onRe
src/components/Toaster/Toaster.tsx:75
FunctionToaster
({ toasts = [], dispatchToasts }: ToasterProps)
src/components/Toaster/Toaster.tsx:11
FunctionWarningExample
()
docs/components/DynamicNodesExamples.js:157
FunctionWebsite
({ nodes }: { nodes: NodeMap })
example/src/App.tsx:670
FunctionaddNode
({ node, internalType }: SelectOption)
src/components/Stage/Stage.tsx:207
Functionbottom
docs/src/components/TypeSafe.js:15
FunctionbottomLeft
docs/src/components/TypeSafe.js:14
FunctionbuildCheckboxControl
( config: Omit<Partial<CheckboxControl>, "type"> )
src/typeBuilders.ts:82
FunctionbuildCustomControl
( config: Omit<Partial<CustomControl>, "type"> )
src/typeBuilders.ts:117
FunctionbuildMultiselectControl
( config: Omit<Partial<MultiselectControl>, "type"> )
src/typeBuilders.ts:98
FunctionbuildNumberControl
( config: Omit<Partial<NumberControl>, "type"> )
src/typeBuilders.ts:65
FunctionbuildSelectControl
( config: Omit<Partial<SelectControl>, "type"> )
src/typeBuilders.ts:46
FunctionbuildTextControl
( config: Omit<Partial<TextControl>, "type"> )
src/typeBuilders.ts:30
FunctioncheckDragDelay
(e: MouseEvent | TouchEvent)
src/components/Draggable/Draggable.tsx:94
next →1–100 of 160, ranked by callers