--- title: Configuring the dependency graph intro: You can allow users to identify their projects' dependencies by enabling the dependency graph. permissions: '{% data reusables.permissions.dependency-graph %}' redirect_from: - /code-security/supply-chain-security/understanding-your-software-supply-chain/about-the-dependency-graph#enabling-the-dependency-graph versions: fpt: '*' ghes: '*' ghec: '*' type: how_to topics: - Dependency graph - Dependencies - Repositories shortTitle: Configure dependency graph --- ## About the dependency graph {% data reusables.dependabot.about-the-dependency-graph %} For more information, see [AUTOTITLE](/code-security/supply-chain-security/understanding-your-software-supply-chain/about-the-dependency-graph). {% ifversion ghes %} ## Enabling the dependency graph {% data reusables.dependabot.ghes-enabling-dependency-graph %} {% endif %} {% ifversion fpt or ghec %} ## Configuring the dependency graph To generate a dependency graph, {% data variables.product.github %} needs read-only access to the dependency manifest and lock files for a repository. The dependency graph can be enabled or disabled for all repositories. For more information on viewing the dependency graph, see [AUTOTITLE](/code-security/supply-chain-security/understanding-your-software-supply-chain/exploring-the-dependencies-of-a-repository). {% data reusables.dependency-submission.dependency-submission-link %} ### Enabling and disabling the dependency graph {% data reusables.dependabot.enabling-disabling-dependency-graph-private-repo-public-fork %} {% endif %} When the dependency graph is first enabled, any manifest and lock files for supported ecosystems are parsed immediately. The graph is usually populated within minutes but this may take longer for repositories with many dependencies. Once enabled, the graph is automatically updated with every push to the repository{% ifversion fpt or ghec %} and every push to other repositories in the graph{% endif %}. ## Further reading {%- ifversion maven-transitive-dependencies %} * [AUTOTITLE](/code-security/supply-chain-security/understanding-your-software-supply-chain/configuring-automatic-dependency-submission-for-your-repository){%- endif %} {%- ifversion fpt or ghec %} * [AUTOTITLE](/organizations/collaborating-with-groups-in-organizations/viewing-insights-for-dependencies-in-your-organization){%- endif %} * [AUTOTITLE](/code-security/dependabot/dependabot-alerts/viewing-and-updating-dependabot-alerts) * [AUTOTITLE](/code-security/dependabot/troubleshooting-dependabot/troubleshooting-the-detection-of-vulnerable-dependencies)