Skip to content

nx.connected_component_subgraphs(G) is removed by networkx #2

@baixianger

Description

@baixianger

nx.connected_component_subgraphs(G) was deprecated with version 2.1, and finally removed with version 2.4.

Instead,

Use G.subgraph(c) for c in connected_components(G)

Or G.subgraph(c).copy() for c in connected_components(G)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions