Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Feature request: function dependency graph #2883

Closed
sqs opened this issue Mar 21, 2019 · 2 comments
Closed

Feature request: function dependency graph #2883

sqs opened this issue Mar 21, 2019 · 2 comments
Labels
feature-request team/graph Graph Team (previously Code Intel/Language Tools/Language Platform) ux
Milestone

Comments

@sqs
Copy link
Member

sqs commented Mar 21, 2019

For answering things like "What are the possible side effects of this function [i.e., does it have os as a transitive dependency?]", "What other libraries use this function?".

This could be a list UI showing the transitive dependencies of a function's code, and the callers of a function grouped by calling library.

(Split off from #2278, related to #2881 and #2882)

@sqs sqs added feature-request team/graph Graph Team (previously Code Intel/Language Tools/Language Platform) code-nav labels Mar 21, 2019
@sqs sqs added this to the Backlog milestone Mar 21, 2019
@sqs
Copy link
Member Author

sqs commented Mar 28, 2019

From user feedback (https://sourcegraph.slack.com/archives/C0W2E592M/p1553791017004000):

Thank you for reaching out. I didn't actually get what we were looking for from SourceGraph. We need the graph - the function dependency trees and module dependencies - so I was looking for some sort of graph query API but as far as I can see SourceGraph is just a hyperlinked view of the code. Is there a straightforward API that can query the dependency tree? If so can you send me an example of how to use it, e.g. given a Haskell function, list all transitive dependencies?
Just for clarity; I do see the search functionality but that seems to offer just locating code, which does not suffice. It does not give the dependencies of that code.

@macraig
Copy link
Contributor

macraig commented Jun 7, 2021

This feature request is now tracked in Productboard

@macraig macraig closed this as completed Jun 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request team/graph Graph Team (previously Code Intel/Language Tools/Language Platform) ux
Projects
None yet
Development

No branches or pull requests

4 participants