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

194
Views
Change origin (0, 0) for layouts

I want to layout a set of nodes at a specific location, selecting a group of nodes and running a layout so they will orient themselves in that area.

The default layouts seem to find a point between them and layout with that as the origin, but many custom layouts like 2 that I am using like Euler and CISE base everything off of the origin (0, 0) so they move those few nodes to the center, usually under other nodes there and the layout positions them.

Is there anyway to temporarily change the origin position or a hidden option I missed to set the center point for the layout?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Some layouts such as Euler and Cola offers boundingBox option to constraint layout bounds. They try to keep the graph elements to be laid out inside those boundaries. I think you may set a specific bounding box with the center point you want for your layout. You can check the readmes of these layouts for more details.

about 4 years ago · Juan Pablo Isaza Report
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!