Open gertstulp opened 7 years ago
Thanks - I have thoughts on this but it all ties into a yet to materialise idea about how to handle dynamic graphs in tidygraph - thus im afraid you'd have to wait a bit for it...
No worries. Thank you for taking the time to respond.
More importantly, thank you for your amazing work on the R-packages. I use them frequently. Your "generative graph art" is also really cool.
G
On Wed, Jan 10, 2018 at 9:31 PM, Thomas Lin Pedersen < notifications@github.com> wrote:
Thanks - I have thoughts on this but it all ties into a yet to materialise idea about how to handle dynamic graphs in tidygraph - thus im afraid you'd have to wait a bit for it...
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/thomasp85/ggraph/issues/86#issuecomment-356727311, or mute the thread https://github.com/notifications/unsubscribe-auth/AYtdIrtRKf6--NwnLaMd7K_AlWwqGwXBks5tJR4vgaJpZM4PgmEO .
Not facets, but presumably one can gganimate these?
any luck achieving this with continuous versus categorical node attributes? I would like to do precisely what you have shown above @gertstulp, but with changes to node size across the facets. Trying to do this with grid.arrange/ggarange is equally impossible as the size/edge weights seem to get normalised at graph creation (which I cannot disable). Thanks a lot
Thank you for your amazing package!
I have a question with respect to showing networks across time using facets, where both node and edge characteristics can change over time. I believe that this is currently not available, although it may relate to the igraph-objects that are a bit daunting to me. In essence, I want the different facets to be able to show different node and edge features.
I can best show what I want using the ggnetwork-package (because in this package, igraph/network-objects are turned into dataframes that are more easy to understand):
Packages needed
Creating two (random) networks
Network with 6 nodes and each node has some characteristic-value. One network is from timepoint 2016, and one from 2017
Generating dataframe with ggnetwork based on manually specified coordinates of the 6 nodes and create ggplot
First for "year" 2016:
Then for "year" 2017:
One could now use
grid.arrange
or some such to create these plots besides one another, but I would very much like facets to be able to do this. With ggnetwork, we can do this by combining the data.frames and facetting on "year":So here we have for "one individual" the network across time; both edge- and node-characteristics can change within the facets.
I have a much harder time envisioning something similar for igraph objects, because you can specify either node-attributes or edge-attributes. Also combining different igraph objects seems difficult Perhaps I am missing something fundamental.
Thanks again for your great package.