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

202
Views
Do most (all?) cytoscape layout algorithms use the size of their container to lay out the graph?

The great cytoscape manual indicates that “Cytoscape.js uses the dimensions of your HTML DOM element container for layouts and rendering at initialisation”.

It is clear to me that the random layout does use the container size; and it is clear that the fit-after-layout functionality, which computes the zoom level required to fit within the available size, does (obviously) require an available size that must be chosen beforehand.

I wonder about the other cases, though. Most layout algorithms, it seems to me, produce a result whose size does not depend on the available size. I have tested the breadthfirst one, for example, and it seems it does not vary when the container size is increased or decreased (with disabled zooming).

So, does that sentence refer to only some layout algorithms and to the “auto fit” functionality only?

(My question is because I would like to request a feature that would permit to size the container depending on the rendered size (as in this question). This however makes sense only if the rendered size is indeed, at least in some cases, independent of the available size.)

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!