Skip to content

explain: aggregate/paginate callers for high-degree nodes instead of truncating at ~20 #2009

Closed

Description

@uitholland

Problem. graphify explain "<symbol>" on a high-degree node (e.g. a logging helper with degree 692) prints ~20 connections plus "... and 672 more". The question that leads people to explain ("who calls this, what's the impact?") is exactly the one the truncation leaves unanswered — in our sessions the agent then falls back to a repo-wide grep, which is what the graph was meant to replace.

Proposal. For nodes above a degree threshold, group incoming edges by directory/file with counts (e.g. inc/email-inbox: 84 callers across 12 files), and/or add --callers --all / --group-by=dir flags. Full flat output behind a flag is fine; the default should just stop hiding 97% of the answer.

Environment. graphifyy 0.8.36, code-only graph, ~22k nodes / ~33k edges.

Activity

  1. safishamsi commented on Jul 22, 2026

    @safishamsi
    Member

    Fixed in v0.9.24 (#2094). explain on a high-degree node now groups the cut connections by file (with direction and count) instead of a bare '... and N more'. Thanks for the report. https://github.com/Graphify-Labs/graphify/releases/tag/v0.9.24

  2. added a commit that references this issue on Jul 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions