mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-26 17:16:52 +08:00
### What problem does this PR solve? feat: Support shortcut keys to copy nodes #3283 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -236,8 +236,8 @@ const useGraphStore = create<RFState>()(
|
||||
const { getNode, addNode, generateNodeName } = get();
|
||||
const node = getNode(id);
|
||||
const position = {
|
||||
x: (node?.position?.x || 0) + 30,
|
||||
y: (node?.position?.y || 0) + 20,
|
||||
x: (node?.position?.x || 0) + 50,
|
||||
y: (node?.position?.y || 0) + 50,
|
||||
};
|
||||
|
||||
addNode({
|
||||
|
||||
Reference in New Issue
Block a user