Skip to content

Enhanced label disambiguation for OOP and trait heavy languages #8

Description

@lambda-alpha-labs

In Rust, Java, and similar languages, method names like new(), run(), or Dispose() collide frequently across unrelated types. This creates a spaghetti graph effect during traversal.

Ideas

  • Prefer qualified labels in traversal output when collisions exist
  • Add a show only qualified labels query option
  • Append source file or parent module to ambiguous nodes in output
  • Extract static receiver/type hints from tree-sitter (e.g., impl Foo automatically gives Foo::new)

Acceptance

  • Query output is measurably less ambiguous for colliding labels
  • No breaking change to graph.json schema

Activity

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

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions