Arrowhead geometry
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Arrowheads are small SVG shapes drawn at edge endpoints, rotated to align with the final edge segment's angle. Each arrowhead type is a function that returns an SVG path given a tip position and angle.
Tier 1 covers `normal` (filled triangle, the Graphviz default), `none`, and `vee` (open chevron). Tier 2 adds `dot`, `odot`, `inv` (inverted triangle), `box`, `obox`, `diamond`, and `odiamond`. Tier 3 handles compound arrowheads, where Graphviz allows combining types like `normalodot`. Arrowheads should be rendered as inline SVG elements rather than SVG `` elements to avoid cross-browser coloring quirks. The `arrowhead`, `arrowtail`, `arrowsize`, and `dir` attributes control arrow rendering.
References
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
No source files or tests are named. Start by locating the edge-rendering and DOT attribute-parsing entry points, then trace how endpoint geometry reaches the SVG output. Done means supporting the listed arrowhead tiers, compound types, rotation, and arrow-related attributes as inline SVG elements.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- computer-graphics
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100