You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
AST extractor picks up native JS/TS builtins as internal nodes (toFixed, console.error, etc.) #631
My graph is full of native JavaScript functions like toFixed() being extracted as internal project nodes. These are zero-complexity builtins with no architectural meaning.
In my case, a fairly some codebase, toFixed() appeared as a god node with 27 edges, and error() had 88 edges (likely console.error calls). Neither belongs in a knowledge graph of project architecture.
I don't think this problem is limited to JS.
Expected behavior: Native JS/TS builtins (Number.prototype.toFixed, console.error, Math.floor, Array.map, etc.) should not be extracted as internal nodes.
Workaround: .graphifyignore works but requires manually identifying and listing each noisy builtin, which defeats the purpose of automatic extraction.
The cross-file case (console.error() → error resolved to a project function) is already fixed in v0.5.6 via the is_member_call flag. The intra-file case (e.g. this.get() calling get() in the same class) is intentional — those are real architectural edges. Upgrade to v0.5.6 and rebuild your graph: pip install --upgrade graphifyy
Activity
safishamsi commentedon Apr 30, 2026
The cross-file case (console.error() → error resolved to a project function) is already fixed in v0.5.6 via the is_member_call flag. The intra-file case (e.g. this.get() calling get() in the same class) is intentional — those are real architectural edges. Upgrade to v0.5.6 and rebuild your graph: pip install --upgrade graphifyy