You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current faceting tools force keeping all nodes presented (if invisibly) on all facets. I'm looking for the functionality to analyze my graph by breaking it up into subgraphs. My strategy so far has been to try and isolate these subgraphs by cutting edges to produce completely disconnected components. I have managed a hack using facet_nodes which only shows the nodes and edges of each component, but each facet has massive whitespace gaps where the other components would be. Reading through issue #136 it seems that my request is slightly different, because I not only want to change what nodes (and edges) appear across facets, but also seek to reposition the location of nodes shown across each facet to focus on each component in isolation. Does that make sense? I suspect you might want a new facetting function facet_components to do this. I would also prefer to have some way to show groups of similar components shown together in a facet_grid style arrangement as well.
The text was updated successfully, but these errors were encountered:
I think this will be related to igraph::component_wise. Or perhaps it involves adding an offset to the coordinates generated by create_layout(), so that the result is achievable via facet_wrap(scales = "free").
Technically this is possible using facet_wrap(), you just need to assign the component ID as an attribute of both the nodes and the edges:
The current faceting tools force keeping all nodes presented (if invisibly) on all facets. I'm looking for the functionality to analyze my graph by breaking it up into subgraphs. My strategy so far has been to try and isolate these subgraphs by cutting edges to produce completely disconnected components. I have managed a hack using
facet_nodes
which only shows the nodes and edges of each component, but each facet has massive whitespace gaps where the other components would be. Reading through issue #136 it seems that my request is slightly different, because I not only want to change what nodes (and edges) appear across facets, but also seek to reposition the location of nodes shown across each facet to focus on each component in isolation. Does that make sense? I suspect you might want a new facetting functionfacet_components
to do this. I would also prefer to have some way to show groups of similar components shown together in afacet_grid
style arrangement as well.The text was updated successfully, but these errors were encountered: