JuliaGraphs / JuliaGraphs/MetaGraphsNext.jl
@labels macro
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 93
- Forks
- 24
- PR merge metrics
- No merged PRs in 30d
Description
Here's one option for making working with labels easier:
Right now we have for example Graphs.outneighbors(meta_graph::MetaGraph, code::Integer) and outneighbor_labels(meta_graph::MetaGraph, label).
Maybe we could have a general pattern where we add a _labels suffix to a Graphs function to make it work with labels instead of code?
We could then have a @labels macro that attaches the _label suffix to all surface-level Graphs function calls?
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
The issue names Graphs.outneighbors, outneighbor_labels, and a proposed @labels macro, but no files or tests. First inspect how surface-level Graphs calls and label-based methods are currently defined; the scope and expected behavior need agreement before implementation, with completion defined by an accepted macro design and coverage for the affected calls.
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
- 25/100