dynetworkx.ImpulseGraph.to_subgraphΒΆ