Skip to content
Back to skills

Graphviz.Convert Image

ASecurity

Convert an image of a graph into a Graphviz Dot in an accurate way

  • 158 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 7, 2026
toolsgobashnode

Security analysis

A100/100

Scanned November 7, 2026

npx -y skills add gpsaggese/helpers --skill graphviz.convert_image --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Graphviz.Convert Image?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Graphviz.Convert Image
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/gpsaggese-graphviz-convert-image/badge)](https://www.skillsdirectory.com/skills/gpsaggese-graphviz-convert-image)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
description: Convert an image of a graph into a Graphviz Dot in an accurate way
model: haiku
---

# Goal
- Given an input image of a graph, convert it into a Graphviz DOT file that matches
  it exactly

# Workflow

## Create the Graphviz File
- Create a DOT file that matches the figure exactly
- Save the result in `graph.dot`
- Say in the DOT file how it was generated, with this comment at the top:
  ```
  // Generated by `.claude/skills/graphviz.convert_image/SKILL.md`
  ```

## Render to Image
- Generate an image from the graph description:
  ```bash
  > dot -Tpng graph.dot -o graph.png
  > open graph.png
  ```

## Compare and Refine
- If `graph.png` differs from the input image:
  - Find the differences in layout, e.g.,
    - Node positions
    - Node colors
  - Apply changes to `graph.dot` to approximate the input image, e.g.,
    - Use rank to keep the nodes in the same relative position
    - Change node colors to match the input image

# Verification
- [ ] Confirm `graph.dot` renders without errors
- [ ] Confirm `graph.png` matches the input image in node positions and colors
- [ ] The DOT file says that it was generated by
      `.claude/skills/graphviz.convert_image/SKILL.md`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.