How nabheetcloud/graphiffy-abap works
graphiffy-abap is a knowledge-graph builder for ABAP/SAP and other code and document corpora. Users point its CLI at a folder; discovery classifies inputs, extraction builds deterministic structural graph data, cross-file resolution stitches references, and an optional semantic pass adds inferred relationships. The result can be analyzed and written as interactive or portable graph outputs. ABAP-specific parsers cover language constructs and SAP metadata; caching and watch mode support repeated runs. Edges reflect README-described stages or SOURCE INDEX references; some implementation details were not sampled.
Main entry points: extract.py Structural extraction · __main__.py CLI · build.py Graph build · watch.py Watch mode
Components 24
Input and control
- CLI
graphiffy_abap/__main__.py - File discovery
graphiffy_abap/detect.py - URL ingestion
graphiffy_abap/ingest.py - Fetch safeguards
graphiffy_abap/security.py - Watch mode
graphiffy_abap/watch.py
Extraction and resolution
- Structural extraction
graphiffy_abap/extract.py - ABAP extraction
graphiffy_abap/abap_extract.py - DDIC XML
graphiffy_abap/ddic_xml.py - CDS DDL
graphiffy_abap/cds_ddl.py - Class XML
graphiffy_abap/clas_xml.py - Enhancement XML
graphiffy_abap/enho_xml.py - RAP behavior
graphiffy_abap/rap_bdef.py - RAP services
graphiffy_abap/rap_srvd.py - File cache
graphiffy_abap/cache.py - Semantic pass
graphiffy_abap/extract.py
Graph analysis
- Graph build
graphiffy_abap/build.py - Communities
graphiffy_abap/cluster.py - Graph insights
graphiffy_abap/analyze.py - Analysis report
graphiffy_abap/report.py
Outputs and access
- Graph exporters
graphiffy_abap/export.py - SAP graph view
graphiffy_abap/sap_html.py - Graph server
graphiffy_abap/serve.py
Other components
- Analyst
- abaplint runtime
Connections 27
- Analyst → CLI: runs
README.md - CLI → File discovery: scans inputs
graphiffy_abap/__main__.py - CLI → Structural extraction: starts extraction
graphiffy_abap/__main__.py - CLI → Graph build: builds graph
graphiffy_abap/__main__.py - CLI → URL ingestion: fetches sources
graphiffy_abap/__main__.py - URL ingestion → Fetch safeguards: validates fetches
graphiffy_abap/ingest.py - Structural extraction → ABAP extraction: dispatches ABAP
graphiffy_abap/extract.py - ABAP extraction → abaplint runtime: parses via
README.md - Structural extraction → DDIC XML: parses DDIC
graphiffy_abap/extract.py - Structural extraction → CDS DDL: parses CDS
graphiffy_abap/extract.py - Structural extraction → Class XML: parses class XML
graphiffy_abap/extract.py - Structural extraction → Enhancement XML: parses enhancements
graphiffy_abap/extract.py - Structural extraction → RAP behavior: parses behavior
graphiffy_abap/extract.py - Structural extraction → RAP services: parses services
graphiffy_abap/extract.py - Structural extraction → File cache: uses cache
graphiffy_abap/extract.py - Structural extraction → Semantic pass: adds inferred links
README.md - Structural extraction → Graph build: emits graph data
README.md - Graph build → Communities: groups nodes
- Communities → Graph insights: informs insights
graphiffy_abap/analyze.py - Graph build → Analysis report: produces findings
README.md - Graph insights → Analysis report: summarizes graph
graphiffy_abap/report.py - Graph build → Graph exporters: writes formats
README.md - Graph build → SAP graph view: renders SAP view
- CLI → Graph server: serves graph
graphiffy_abap/__main__.py - CLI → Watch mode: starts monitoring
graphiffy_abap/__main__.py - Watch mode → Structural extraction: re-extracts changes
graphiffy_abap/watch.py - Watch mode → Graph build: updates graph
graphiffy_abap/watch.py