diff options
Diffstat (limited to 'xmake/core/base/graph.lua')
| -rw-r--r-- | xmake/core/base/graph.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/xmake/core/base/graph.lua b/xmake/core/base/graph.lua index be0035394..bbaee4d58 100644 --- a/xmake/core/base/graph.lua +++ b/xmake/core/base/graph.lua @@ -549,7 +549,11 @@ function graph:_partial_topo_sort_recompute_dirty() self._partial_topo_dirty = false end --- new graph +-- create a new graph +-- +-- @param directed create a directed graph if true, undirected if false +-- @return the graph instance +-- function graph.new(directed) local gh = graph {directed} gh:clear() |
