How to select a subgraph in Graph.jl Package

Hi,

I’m working with Graph and SimpleWeightedGraphs Packages and was wondering if they allow to extract/select a subgraph and work with it too? I mean having a subgraph knowing its edges and nodes.
I’d like to work with a graph G as my main graph and consider some properties only on some parts of it (its subgraph), is there any way to do so?

Thanks

Does induced_subgraph do what you need?

3 Likes