From 80f3d6ceb5ce821f37a2d10dfd0e8b804a34ed66 Mon Sep 17 00:00:00 2001 From: Dominik Braun Date: Wed, 24 May 2023 12:32:39 +0200 Subject: [PATCH] Add TopologicalSort disclaimer to CN README --- README_CN.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README_CN.md b/README_CN.md index 586eaaed..aee1dc08 100644 --- a/README_CN.md +++ b/README_CN.md @@ -191,6 +191,7 @@ g := graph.New(graph.IntHash, graph.Directed(), graph.PreventCycles()) // Add vertices and edges ... +// For a deterministic topological ordering, use StableTopologicalSort. order, _ := graph.TopologicalSort(g) fmt.Println(order)