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
Happy to create a PR but I'm not sure what is the ideal API. Maybe a new argument that permits the addition of "extra" column in the edge_attribute field?
The text was updated successfully, but these errors were encountered:
good point @agila5. The original idea with that was that the igraph version would only inherit the columns returned by the (internal) function dodgr:::dodgr_graph_cols(). All the actual machinery of dodgr only works on those columns, with lots of extra code to hold extra cols aside and then re-attach them later. Given that, i guess the ideal way would be a keep_cols parameter like in the weight streetnet functions. What do you think?
See reprex below:
Created on 2024-09-24 with reprex v2.0.2
As we can see, the
centrality
column disappears when convertingdodgr
toigraph
. AFAICT, the column is dropped here:dodgr/R/graph-conversion.R
Line 158 in ac1eec5
Happy to create a PR but I'm not sure what is the ideal API. Maybe a new argument that permits the addition of "extra" column in the edge_attribute field?
The text was updated successfully, but these errors were encountered: