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

121
Views
Alignment drag and drop

Assume you have n objects (or nodes) on the page and the screen viewport is 800x600px. For the purposes of this project, you are required to implement an alignment feature where as a user, I can drag and drop items and it will automatically align to the closest node. I can drag items to the left, right, up or down. You can assume that a node is an object on the page of various shapes and sizes with a bounding box consisting of the widest length and height of the shape. Observe the circle and oblong shapes below.

enter image description here When a user is moving a node in the page, the node can align to: ● other nodes: ○ Left ○ Right ○ Center ● the page ○ Left ○ Right ○ Center

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!