Style resolution

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

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
rust

Research direction

No file or test is named in the issue. Locate the module that parses the style attribute, then inspect how node and edge SVG attributes are produced; done means the listed core styles and penwidth map to the specified SVG properties, while lower-priority styles remain optional.

Written by the indexing model from the issue text.

Description

enhancement

The style attribute accepts a comma-separated list of style names that map to SVG visual properties. This module parses those style strings and produces the corresponding SVG attributes for nodes and edges.

The core styles are: solid (default, no dash array), dashed (stroke-dasharray), dotted (stroke-dasharray with short dashes), bold (increased stroke-width), filled (fill the shape with fillcolor or color), rounded (add rx/ry to rectangles), and invis (hidden). The penwidth attribute provides direct control over stroke width independently of style. Lower-priority styles like diagonals, striped, and wedged can be added later.

Dominant language
Rust
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

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.