CycleDetection
This is a fork of Daniel Bradley's C# implementation of the Tarjan cycle detection algorithm. (https://github.com/danielrbradley/CycleDetection) You can use this library to sort dependencies and even handle cyclic references. e.g. to compile stuff in the right order. I found it to be quite useful but I didn't like how one had to manually setup the dependency vertices. (It also supports custom comparers now.) So I moved the original code into the Core sub namespace and wrote a class that allows to setup dependencies using a simple lambda expression.
Install
dotnet add package CycleDetection --version 2.0.0
Install-Package CycleDetection -Version 2.0.0
<PackageReference Include="CycleDetection" Version="2.0.0" />
Frameworks
Dependencies
Adoption guide
Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.
Compatibility metadata lists 5 target frameworks; confirm the exact target used by your application.
How to read this guidance
Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.
Useful next steps
Move from package metadata to a concrete selection or review workflow.