scottrogowski/code2flow
Pretty good call graphs for dynamic languages observed · 2026-08-28
Health v2 · maintenance only
47/100
- Activity 33
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4849
- days_rel: n/a
- days_push: 402
- n_releases_24m: 0
Adoption not part of the score
4604 stars · 332 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Code2flow is a command-line tool that generates approximate call graphs for dynamic languages (Python, JavaScript, Ruby, PHP) by parsing source files into ASTs and connecting function definitions to call sites. It outputs DOT flowcharts visualized with Graphviz.
Use cases
- generate a call graph for a python project
- untangle spaghetti code and see which functions call which
- find orphaned functions that are never called
- onboard new developers by visualizing codebase structure
- extract a subset of the call graph around a target function
- visualize source code as dot flowcharts
When to choose
- you work in Python, JavaScript, Ruby, or PHP and want a quick approximate call graph
- you need to understand or document the structure of an unfamiliar dynamic-language codebase
- you want a lightweight CLI that outputs Graphviz DOT files
When to avoid
- you need a perfectly accurate call graph for duck-typed dynamic code
- you work primarily in statically typed languages like Java or C++
- you need IDE-integrated interactive navigation rather than static diagrams
Facets
cli-tool · maturity active
parser developer-tools data-visualization developer-tools programming-languages parsers python cli cross-platform call-graph static-analysis code-visualization graphviz ast python javascript ruby php
2 sources
- readme: https://github.com/scottrogowski/code2flow · fetched 2026-08-28 · 12cf8d344517
- registry_pypi: https://pypi.org/pypi/code2flow/json · fetched 2026-08-29 · ba6ff728863f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| scottrogowski/code2flow | main | 47 |
For agents
markdown · JSON · MCP: product_card(name="scottrogowski/code2flow")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem