# raineorshine/solgraph

Visualize Solidity control flow for smart contract security analysis.  :dollar: ⇆ :dollar:

Repository: https://github.com/raineorshine/solgraph
Canonical: https://ross.abutalabs.com/products/solgraph
Language: JavaScript
License: ISC
License Family: permissive
Topics: ethereum, solidity
Last push: 2022-12-04T15:07:40+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3711, "days_push": 1368, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1028, forks 119 (observed 2026-08-28T04:03:17.427784+00:00)

## What it is
A Node.js CLI tool that parses Solidity smart contracts and generates DOT graphs visualizing function control flow, highlighting potential security vulnerabilities like external sends. It can also be used as a Node module, with graphviz needed to render the output as images.

## Use cases
- visualize solidity contract control flow
- audit smart contracts for security vulnerabilities
- generate call graphs for ethereum contracts
- find external send calls in solidity code
- render solidity contract structure as a diagram
- static analysis of smart contract functions

## When to choose
- you need a quick visual overview of a Solidity contract's control flow
- you want to spot untrusted external calls and sends during a manual audit
- you prefer a lightweight CLI that outputs standard DOT format

## When to avoid
- you need automated vulnerability detection rather than visualization
- you work with Vyper or non-Solidity smart contract languages
- you need actively maintained tooling with recent Solidity version support

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: developer-tools, security, data-visualization, parser
- domain: blockchain, security, developer-tools
- platform: cli, cross-platform
- tags: solidity, ethereum, dot-graph, control-flow, smart-contract-security, graphviz, smart-contracts, nodejs

## Member repositories
- raineorshine/solgraph (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:17.427784+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:07:48.899016+00:00, confidence not recorded.
  - readme: https://github.com/raineorshine/solgraph (fetched 2026-08-28T04:03:17.427784+00:00, sha f5814b06a8ec)
  - registry_npm: https://registry.npmjs.org/solgraph (fetched 2026-08-29T13:07:44.154862+00:00, sha a895e65e3e6a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
