Skip to content

graphology-layout-tree node overlap #1478

Answered by jacomyal
Rich5 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Rich5,

There are two different issues here, I think:

  1. The fact that the nodes are not only overlapped, but kind of interlaced, is due to #1427. It will not be solved soon, though, and will be addressed hopefully next year, when we will work on sigma.js v4
  2. I added a documentation page on how sigma handles node and edge sizes. This should make it easier for you to better handle sizes in your use-case.

Also, there are some options you can give some options to the treeLayout function:

  • xGroupsOffset is the horizontal space between two consecutive depth levels, in pixels
  • yInGroupOffset is the vertical space between two consecutive nodes in the same group, in pixels
  • yGroupsOffset is the ve…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@Rich5
Comment options

@Rich5
Comment options

Answer selected by Rich5
Comment options

You must be logged in to vote
2 replies
@jacomyal
Comment options

@rahst12
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants