Skip to content

Support of copy constructors? #96

@rongcuid

Description

@rongcuid

I have a graph which I would like to copy and change one aspect of it (e.g. weight function). However, it seems like MetaGraph doesn't have a copy constructor:

MetaGraph(graph)
# UndefKeywordError: keyword argument `label_type` not assigned

It would be great if something like that is added. Or alternatively, provide a way to create different views of the same graph with different properties.

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