flowutils documentation
slightly fancier versions of some common algorithms