Skip to content

get_cycle_closure_dataframe does not consider self loop edges #219

Description

@hannahbaumann

cycles = [c for c in nx.simple_cycles(network.to_undirected()) if len(c) <= max_cycle_length]

undirected will miss self-loops if users run forward and backward edges which might be nice to include in the output. In the future it would be great to include them or handle them in a separate method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions