transitiveReduction: This function generates the transitive reduction of the supplied graph.
Description
This function generates the transitive reduction of the
supplied graph. In short: if A->B->C AND A->C then edge
A->C is removed. This is a simple convenience wrapper for
the NEM function transitive.reduction. Be aware of
implications on the edge weights!
Usage
transitiveReduction(mygraph)
Value
Returns the transitive reduction of the supplied graph.