Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Node shape geometry

Open
#7 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
rust

Research direction

Start by tracing how node shapes are consumed by the SVG renderer and edge-routing logic. Use the Graphviz node-shapes and record-node references to define the geometry, sizing attributes, and record syntax requirements. Done means the requested shape tiers, including recursive record layouts, are supported with path generation and boundary intersections.

Written by the indexing model from the issue text.

Description

enhancement

Each node shape needs two things: an SVG path generator (given center and size, produce the drawable path) and a boundary intersection function (given an incoming edge angle, compute where it hits the shape perimeter). These are used by the SVG renderer and edge routing respectively.

Shapes should be implemented in tiers. Tier 1 covers the most common shapes: `ellipse` (the default), `box`/`rect`, `circle`, `point`, `plaintext`/`plain`, and `none`. Tier 2 adds polygon-based shapes: `diamond`, `triangle`, `pentagon`, `hexagon`, `octagon`. Tier 3 adds `record` and `Mrecord`, which have their own label sub-language (`{a|{b|c}|d}`) requiring a mini-parser and recursive cell layout algorithm. Tier 4 covers the remaining ~40 Graphviz shapes. The `width`, `height`, and `fixedsize` attributes control shape sizing.

References

Dominant language
Rust
Stars
0
Forks
0
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from terror/dotgraph

All issues in terror/dotgraph

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.