Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

256
Views
D3 force layout drag and zoom not working together

I'm trying to integrate zoom and drag behavior with my D3 force layout. zoom in out working fine, and also dragging individual node are doing good. but when im trying to drag the entire layout on zoom-out, it just goes crazy and flies out from the view (just disappearing).

tried to fined some answeres here but seems that everything is pretty old. ppl had the same issue before, but the solutions that where suggested to them (and worked !!) dosnt cut it out for me.

so heres my fiddle : https://stackblitz.com/edit/react-saqrv9?file=src%2Fgraph.tsx

thanks !

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!