antvis / antvis/Graphin

DragNodeWithForce not working

Open
#382 0 comments 5 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.1k
Forks
275
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug

Hello,

we are trying to implement antv-graphin in our product.

we tried to use the DragNodeWithForce :https://graphin.antv.vision/en-US/graphin/behaviors/node/
and it didn't work. then I checked your website and it's not working there also.

we will appreciate your help here. thanks

### Your Example Website or App

https://codesandbox.io/s/gk0do5

### Steps to Reproduce the Bug or Issue

just use DragNodeWithForce

### Expected behavior

should work as in g6

### Screenshots or Videos

_No response_

### Platform

macOS
Chrome

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the linked CodeSandbox and the DragNodeWithForce documentation example, then compare its behavior with the expected G6 behavior. Reproduce the issue in macOS Chrome and determine what prevents dragging; done means DragNodeWithForce works in the example and on the documentation site.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.