Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is there a way to embed node labels inside a node and space out nodes more? #56

Open
StarScream2010 opened this issue Apr 3, 2020 · 3 comments

Comments

@StarScream2010
Copy link

I'm using the collapsibletree package to create a tree diagram as below. However, as you can see, the node names are rather untidy. Is there a way to embed the node names inside the coloured nodes (rather than adjacent to them, as pictured?) and alter the spacing between node levels (some of the names cut into previous nodes!). I'm open to using alternative r packages too.

Thanks

enter image description here

For reference, here's the code used to produce it

collapsibleTree(
  Geography_Data,
  hierarchy = c("continent", "type", "country"),
  width = 800,
  zoomable = FALSE
)
@SyMM1
Copy link

SyMM1 commented Apr 3, 2020

also is it possible to add number of nodes within the circle? @AdeelK93

@SyMM1
Copy link

SyMM1 commented Apr 8, 2020

For the past few days i have been trying to recreate this tree https://bl.ocks.org/mbhall88/126b3c2c54215b4d1ffbd2d778ce3973#data.tsv . It is similar to collapsible tree. Can you please help me in placing number of nodes within the circle @AdeelK93

@doming50
Copy link

For the past few days i have been trying to recreate this tree https://bl.ocks.org/mbhall88/126b3c2c54215b4d1ffbd2d778ce3973#data.tsv . It is similar to collapsible tree. Can you please help me in placing number of nodes within the circle @AdeelK93

@SyMM1 were you able to recreate it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants