dart_source_graph 0.1.2
dart_source_graph: ^0.1.2 copied to clipboard
Generates a semantic dependency graph of Dart/Flutter source code. Identifies Widgets, Notifiers, Blocs and Controllers with confidence-rated edges. Designed for AI-assisted codebase analysis and arch [...]
0.1.2 #
- Precise call resolution: with
--resolve,callsandinstantiatesedges now resolve to the real internal declaration (extracted), state-management API calls (watch,read,put, …) are flagged asexternal(inferred), and the report gains a State Flow section. - Add a
--version/-vflag to the CLI; reads the package version at runtime. - Bump
analyzerto^13.0.0(latest); drop the obsolete 12.x pin. No API changes required.
0.1.1 #
- Improved README: tagline, "Who is this for?", sample report output, contributing section.
- Added
flutterto pub.dev topics for better discoverability. - Fixed dartdoc warning in
LayerConfig.paths. - Added interactive viewer screenshot to documentation.
0.1.0 #
Initial release.
SourceGraphAnalyzer— builds a semantic code graph from Dart/Flutter source (AST + optional type resolution)CodeGraphBuilder,CodeGraphResolver,addWiringEdges,CodeGraphQuery— granular control APISourceGraphConfig— optional config: layers, role overrides, wiring rules, excludes- CLI
build— generatesgraph.jsonwith--htmlflag for interactive HTML viewer - CLI
view— regeneratesgraph.htmlfrom an existinggraph.json - CLI
query—impact,neighbors,god-nodessubcommands - CLI
report— generatesGRAPH_REPORT.mdwith god nodes, clusters, cycles, knowledge gaps, and state flow lib/viewer.dart— public API for embedding the HTML viewer in other tools