JuliaGraphs / JuliaGraphs/MetaGraphsNext.jl
Support of copy constructors?
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 93
- Forks
- 24
- PR merge metrics
- No merged PRs in 30d
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.
Contributor guide
No contributing guide indexed for this repository
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.
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.
Assessment
- Tech stack
- julia
- Domain
- data
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100