NetLogo / NetLogo/NW-Extension
add new `nw:crosses` link primitive
Nobody has claimed this yet.
- Dominant language
- Scala
- Stars
- 66
- Forks
- 25
- PR merge metrics
- No merged PRs in 30d
Description
It would return a boolean indicating if two links cross each other.
Mostly useful for custom layouts trying to minimize the number of crosses.
If we assume straight links, it would be fairly easy to implement. The only tricky part is taking into account world boundaries.
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 no files or tests; start by locating the Scala implementation of existing link primitives and the code that handles world boundaries. Establish how straight links and boundary cases should determine whether two links cross, then verify the behavior for crossing and non-crossing link pairs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100