profile
viewpoint

Ask questionschangeData on comboForce layout breaks the graph

  • [x] I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

Steps to reproduce

after few seconds call graph.changeData with new data and graph will break

Environment Info
g6 4.3.3
System -
Browser -

<!-- generated by antv-issue-helper. DO NOT REMOVE -->

antvis/G6

Answer questions ibreakthecloud

in comboForce graph, when it's changeData is called, whole graph gets broken. image

On doing console log of graph.save() after changeData is called, it looks something like below: image

Here, coordinates of all the nodes, edges and combos are NaN

useful!
source:https://uonfu.com/
answerer
Harshvardhan Karn ibreakthecloud localhost:8080 http://harshvardhan.dev The official account of 'Solntsevskaya Bratva'.
Github User Rank List