iduedu.subgraph_by_nodes¶
- iduedu.subgraph_by_nodes(graph_gdf, nodes)[source]¶
Return an induced
UrbanGraphsubgraph for the provided node ids.Node ids are preserved. Edges are retained only when both endpoints are in
nodes.- Return type:
- Parameters:
graph_gdf (UrbanGraph)