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

Improved visualization features #24

Open
oneilsh opened this issue Jul 26, 2024 · 2 comments
Open

Improved visualization features #24

oneilsh opened this issue Jul 26, 2024 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@oneilsh
Copy link
Collaborator

oneilsh commented Jul 26, 2024

The current plot() is fairly basic, using ggraph with some ggrepel node labels and customizable layout, node and edge coloring.

There are several very nice graph visualization libraries though (galleries 1, 2), it would be great to use these to provide slick and easy to use visualizations. Especially so for interactive visualizations for use in Rmd docs and Shiny apps.

@oneilsh oneilsh added enhancement New feature or request help wanted Extra attention is needed labels Jul 26, 2024
@oneilsh oneilsh mentioned this issue Jul 26, 2024
4 tasks
@bschilder
Copy link
Contributor

I can take a stab at this, I think I've tried every network plotting package under the sun at some point or another 😆

@bschilder
Copy link
Contributor

Btw, this isn't really specific to monarchr but the default plotting function can often make distinguishing which labels connect to which nodes tricky.

This is especially true as the graphs become larger with more crowded nodes.

image

For example:

Screenshot 2024-08-22 at 12 39 36

One potential solution is to set the default plotting options such that an arrow is always drawn between a label and its node (no matter how close together they are).

@bschilder bschilder mentioned this issue Aug 23, 2024
5 tasks
@oneilsh oneilsh mentioned this issue Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants