Versions in this module Expand all Collapse all v1 v1.0.0 Nov 2, 2017 Changes in this version + type By func(x, y string) bool + func (by By) Sort(dep DependencyList) + type Dependency map[string]DependencyMap + type DependencyList []string + func (l *DependencyList) Pos(s string) int + type DependencyMap map[string]struct + func Transitive(neighbors *Dependency, node string) DependencyMap + type MapDependencyGraph struct + func NewGraph() *MapDependencyGraph + func (g *MapDependencyGraph) Copy() *MapDependencyGraph + func (g *MapDependencyGraph) Depend(node, dep string) error + func (g *MapDependencyGraph) ImmediateDependencies(node string) DependencyMap + func (g *MapDependencyGraph) ImmediateDependents(node string) DependencyMap + func (g *MapDependencyGraph) IsDepend(node, dep string) bool + func (g *MapDependencyGraph) Nodes() DependencyMap + func (g *MapDependencyGraph) RemoveEdge(node, dep string) *MapDependencyGraph + func (g *MapDependencyGraph) RemoveNode(node string) *MapDependencyGraph + func (g *MapDependencyGraph) Sort(dep DependencyList) + func (g *MapDependencyGraph) TopoSort() DependencyList + func (g *MapDependencyGraph) TransitiveDependencies(node string) DependencyMap + func (g *MapDependencyGraph) TransitiveDependents(node string) DependencyMap + type TopoSorter struct + func (t TopoSorter) Len() int + func (t TopoSorter) Less(i, j int) bool + func (t TopoSorter) Swap(i, j int)