After marks that A should come after B
(a string, b string)
| 36 | |
| 37 | // After marks that A should come after B |
| 38 | func (ord *PartialOrdering) After(a string, b string) { |
| 39 | // Set that A depends on B / an edge from B -> A |
| 40 | err := ord.dag.AddEdge(b, a) |
| 41 | handleDAGErr(err) |
| 42 | } |
| 43 | |
| 44 | // Before marks that A should come before B |
| 45 | func (ord *PartialOrdering) Before(a string, b string) { |