thomasp85 / tidygraph

A tidy API for graph manipulation
https://tidygraph.data-imaginist.com
Other
546 stars 61 forks source link

access .orig_data after a graph contraction #170

Closed artxz closed 11 months ago

artxz commented 1 year ago

The node and edge data returned by convert(tbl_graph, to_contracted, ...) contain a tibble-column ".orig_data". How should one access this? I tried unnest_wider() but it returned an error:

Error in unnest_wider(): ! data must be a data frame.

thomasp85 commented 11 months ago

You really shouldn't concern yourself with that column as it is only there for internal use