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

Nodes and labels overlapping in graphr() #82

Open
henriquesposito opened this issue Jul 25, 2024 · 2 comments
Open

Nodes and labels overlapping in graphr() #82

henriquesposito opened this issue Jul 25, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@henriquesposito
Copy link
Contributor

Similarly to the issue with arrows and node in directed networks, labels and nodes often overlap. This requires that we take "node_size" into account when labelling nodes.

graphr(to_directed(ison_adolescents))

@henriquesposito henriquesposito added the bug Something isn't working label Jul 25, 2024
@henriquesposito henriquesposito self-assigned this Jul 25, 2024
@henriquesposito
Copy link
Contributor Author

henriquesposito commented Nov 14, 2024

@jhollway I am going through the open issues and I am wondering if we should close this issue since it was addressed in the recent changes related to how graphr() works? Thank you.

@jhollway
Copy link
Collaborator

graphr(to_directed(ison_adolescents)) still overlaps labels with the nodes. I think this is because they are mapped to node centres before the node sizes are scaled up. Can the order of this procedure be altered so that node labels, at least as far as possible, appear beyond the borders of the nodes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants