GraphiteEditor/Graphite

Polygon: Use inner instead of outer radius

Open

#3484 opened on Dec 17, 2025

View on GitHub
 (5 comments) (1 reaction) (0 assignees)Rust (25,662 stars) (1,176 forks)batch import
Good First Issue

Description

When creating a polygon, I often want to be able to create it with a radius based on the middle segment. For example, with hexagons:

What the radius currently sets

What I want to set as the radius

I don't know how this should be implemented. Should it be a toggle? It could be a simple custom component with a relatively simple trigonomery node also. Should it be implemented directly within the editor?

I currently don't realize what is the scope of these nodes. Should they be general? Should the provide the bare minimum to be composable into any wanted node?

Contributor guide