Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

feature request: need squash() for MetaGraph and MetaDiGraph #102

Open
zhangliye opened this issue May 11, 2020 · 1 comment
Open

feature request: need squash() for MetaGraph and MetaDiGraph #102

zhangliye opened this issue May 11, 2020 · 1 comment

Comments

@zhangliye
Copy link

Need squash() for MetaGraph and MetaDiGraph

@simonschoelly
Copy link
Contributor

I think such a feature would make sense.

But such a feature should only squash the topological information (i.e the wrapped graph) and not any metadata.

Dictionaries with meta data should be copied. What is not exactly clear here is, if the elements of the dictionaries should be copied with copy or deepcopy. Maybe an additional kwargs flag would be useful here?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants