Skip to content

[Networkx] Rewrite internals of MixedEdgeGraph to have a similar API, but simplified internals #51

Open
@adam2392

Description

A lot of the mixedEdgeGraph internals was essentially copied over from networkx. I think with the assumption that "maybe" we could've kept similar internal data structures like _adj, _nodes, etc. Pretty much the only thing that works is _nodes because _adj is a very specific format for storing nested dicts. This issue is just to track what needs to eventually get rewritten for robustness.

Some of the existing code can be simplified because we don't have some of these underlying internals. Rather we let the networkx subgraphs deal w/ them. For example:

  • subgraph does't work with subclasses

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions