Is your feature request related to a problem? Please describe.
Inside the network structure, nodes and edges are not sf objects anymore. This means that it is not straightforward to access sf object attributes like $sf_column and $agr without first escaping the network structure and then recreating the network. Therefore, it is not supported yet to provide a string to st_set_geometry and to change the attribute-geometry-relationships of columns (without escaping the network structure).
Describe the solution you'd like
It would be nice to access the attributes without escaping the network structure. I think tidygraph has a solution for this already (see here), but I have to look into that.
Is your feature request related to a problem? Please describe. Inside the network structure, nodes and edges are not sf objects anymore. This means that it is not straightforward to access sf object attributes like
$sf_column
and$agr
without first escaping the network structure and then recreating the network. Therefore, it is not supported yet to provide a string tost_set_geometry
and to change the attribute-geometry-relationships of columns (without escaping the network structure).Describe the solution you'd like It would be nice to access the attributes without escaping the network structure. I think
tidygraph
has a solution for this already (see here), but I have to look into that.