Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

196
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda