Support of copy constructors?
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 30/100
Research direction
Begin at the MetaGraph(graph) constructor entry point and reproduce the missing label_type error. Clarify whether the expected completion is a copy constructor or alternate views, then define and test the chosen behavior for changing graph properties without mutating the original.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Julia
- Stars
- 94
- Forks
- 24
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from JuliaGraphs/MetaGraphsNext.jl
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
JuliaGraphs/MetaGraphsNext.jl#81 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 20/100
-
documentation
Difficulty 4/5 3-5 days Newbie friendliness 38/100
JuliaGraphs/MetaGraphsNext.jl#78 · 6 comments ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 35/100
JuliaGraphs/MetaGraphsNext.jl#73 · 3 comments ·
-
multigraph supportOpenbug
Difficulty 5/5 Over a week Newbie friendliness 20/100
JuliaGraphs/MetaGraphsNext.jl#68 · 9 comments ·
All issues in JuliaGraphs/MetaGraphsNext.jl
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 62/100
JuliaStats/LogExpFunctions.jl#134 · 2 comments ·
-
code bug PowerSystems 6.0
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Sienna-Platform/PowerSystems.jl#1849 ·
Maintainers usually reply within 7 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 86/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
FluxML/Metalhead.jl#407 ·
Maintainers usually reply within 1 day