dart_source_graph 0.1.0
dart_source_graph: ^0.1.0 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.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