refactoring
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
/**
|
||||
* Per-node menubar (Node, Output, Data, Inputs, Insert). Content can be passed as props
|
||||
* or resolved from the node type descriptor: when nodeMenuExtraContent is not provided,
|
||||
* it is taken from getNodeType(nodeType)?.getNodeMenuExtraContent?.(nodeId, data).
|
||||
*/
|
||||
import React, { useCallback, useContext, useMemo } from 'react'
|
||||
import FlowContext from '@/lib/graph/flowContext'
|
||||
import { getNodeType } from '@/lib/graph/nodeRegistry'
|
||||
|
||||
Reference in New Issue
Block a user