Registry / utility / heimdalr-dag

heimdalr-dag

JSON →
library1.5.1gogounverified

Package dag implements directed acyclic graphs (DAGs) in Go, providing data structures and algorithms for graph operations.

go get github.com/heimdalr/dag
INSTALL
IMPORT
SIG · HEIMDALR-DAG
H
heimdalr-dag
utilitygov1.5.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

dag
github.com/heimdalr/dag

Create a DAG, add vertices and an edge between them.

package main import ( "fmt" "github.com/heimdalr/dag" ) func main() { d := dag.NewDAG() d.AddVertex(1, "node1") d.AddVertex(2, "node2") d.AddEdge(1, 2) fmt.Println(d) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.5.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
heimdalr-dag — go get heimdalr-dag · libregistry