Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow the functionality to shallow clone a graph #49

Open
alexhcheng opened this issue Jan 28, 2021 · 1 comment
Open

Allow the functionality to shallow clone a graph #49

alexhcheng opened this issue Jan 28, 2021 · 1 comment

Comments

@alexhcheng
Copy link

We have a scenario where we have a "base" graph and then a number of enhanced graph which is just "base" graph + a few extra nodes and edges.

Instead of rebuilding the "base" graph each time, it would be nice to have the ability to clone this dictionary https://github.com/matiii/Dijkstra.NET/blob/master/src/Dijkstra.NET/Graph/Graph.cs#L12 and return a new Graph.

@alexhcheng
Copy link
Author

@matiii : if you think this is a good idea, i can work on this. thanks

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

No branches or pull requests

1 participant